Re: [R] turn character string into unevaluated R object

2010-03-03 Thread carol white
Calkins tim.calk...@gmail.com wrote: From: Tim Calkins tim.calk...@gmail.com Subject: Re: [R] turn character string into unevaluated R object To: Liviu Andronic landronim...@gmail.com Cc: carol white wht_...@yahoo.com, r-h...@stat.math.ethz.ch Date: Tuesday, March 2, 2010, 5:50 PM fortune

Re: [R] turn character string into unevaluated R object

2010-03-03 Thread Barry Rowlingson
On Wed, Mar 3, 2010 at 8:26 AM, carol white wht_...@yahoo.com wrote: Thanks for all replies but it is still not what I wanted. Referring to the previous example that I gave, I want that the objects mat1, mat2 and mat3 be created as matrix object. I want to access their value without get()

[R] turn character string into unevaluated R object

2010-03-02 Thread carol white
Hi, How to turn a character string into an unevaluated R object? I want to load some files in a directory into data matrix R objects. I could do this with read.table and assign (see below). Then, I want to turn the character string representing a file name (the evaluated expression of i

Re: [R] turn character string into unevaluated R object

2010-03-02 Thread Duncan Murdoch
On 02/03/2010 5:42 PM, carol white wrote: Hi, How to turn a character string into an unevaluated R object? I want to load some files in a directory into data matrix R objects. I could do this with read.table and assign (see below). Then, I want to turn the character string representing a file

Re: [R] turn character string into unevaluated R object

2010-03-02 Thread Liviu Andronic
On 3/2/10, carol white wht_...@yahoo.com wrote: How to turn a character string into an unevaluated R object? I want to load some I'm not sure if this is what you're looking for: as.name(iris) iris parse(text=iris) expression(iris) attr(,srcfile) text head(eval(as.name(iris

Re: [R] turn character string into unevaluated R object

2010-03-02 Thread Tim Calkins
...@gmail.comwrote: On 3/2/10, carol white wht_...@yahoo.com wrote: How to turn a character string into an unevaluated R object? I want to load some I'm not sure if this is what you're looking for: as.name(iris) iris parse(text=iris) expression(iris) attr(,srcfile) text head(eval(as.name

Re: [R] turn character string into unevaluated R object

2010-03-02 Thread Sharpie
Tim Calkins-2 wrote: fortune('parse') -- Tim Calkins 0406 753 997 Or would that be: fortune( 106 ) ? - Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering Humboldt State University -- View this message in context: http://n4.nabble.com/turn-character-string