Re: [R] get a expression as String

From: jim holtman <jholtman_at_gmail.com>
Date: Mon, 17 Mar 2008 11:03:14 -0500

Is this what you want?

> x <- capture.output(dput(ab))
> x

[1] "y ~ a + b"
>

On 3/17/08, jcgonzales <J.C.Gonzales_at_cgiar.org> wrote:
>
> Hi, I'm working with Rserve, and in R I have this expression ab <- y ~ a +
> b, but the problem with Rserve is I can't get the expression, is there some
> way to convert this expression in String or in List?..thanks
>
> --
> View this message in context: http://www.nabble.com/get-a-expression-as-String-tp16093288p16093288.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 17 Mar 2008 - 16:08:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 17 Mar 2008 - 16:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive