On Wed, Mar 3, 2010 at 8:26 AM, carol white 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() and when I typ
that it's more clear
--- On Tue, 3/2/10, Tim Calkins wrote:
> From: Tim Calkins
> Subject: Re: [R] turn character string into unevaluated R object
> To: "Liviu Andronic"
> Cc: "carol white" , r-h...@stat.math.ethz.ch
> Date: Tuesday, March 2, 2010, 5:50
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-str
fortune('parse')
But if you have a vector of file names you can create a blank list and
read.table each file into a list. I generally find that if I'm reading a
bunch of files in at the same time they are probably related and I will end
up coming back and putting them all in to a list anyways.
f
On 3/2/10, carol white 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")
> head(eval(as.name("iris")))
Sepal.Length Sepal.
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
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) into an
7 matches
Mail list logo