Michael,
GREAT !! It worked.
Thanks a lot.
Aniruddha.
From:
"R. Michael Weylandt"
To:
Aniruddha Mukherjee
Cc:
R-help
Date:
02/23/2012 07:10 PM
Subject:
Re: [R] How can I ran an R command whcih is present as the content of a
character object
eval(parse(text = rcom))
Micha
eval(parse(text = rcom))
Michael
On Thu, Feb 23, 2012 at 8:30 AM, Aniruddha Mukherjee
wrote:
> I have an object called rcom which was created by the command rcom
> <-"mean(mat_rix$COL_1)". Also the data-frame mat_rix is well defined with
> numeric values in its column 1 and its name is "COL_1".
I have an object called rcom which was created by the command rcom
<-"mean(mat_rix$COL_1)". Also the data-frame mat_rix is well defined with
numeric values in its column 1 and its name is "COL_1".
My question is how to extract (or do something with) the content of rcom
so that it provides the m
3 matches
Mail list logo