[R] Converting a string

jim holtman jholtman at gmail.com
Mon Oct 29 22:42:35 CET 2007


Can you provide an example of your input and what you expect the
output to be.  You can always use 'as.numeric'.

On 10/29/07, Gang Chen <gangchen at mail.nih.gov> wrote:
> This must be very simple, but I'm stuck. I have a command line in R
> defined as a variable of a string of characters. How can I convert
> the variable so that I can execute it in R?
>
> Really appreciate any help,
> Gang
>
> ______________________________________________
> 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?



More information about the R-help mailing list