Re: [R] Convert variable to STring

2012-07-30 Thread Rui Barradas
Hello, Is this it? function1 <- function(x) print(x) name.function1 <- deparse(substitute(function1)) name.function1 Hope this helps, Rui Barradas Em 30-07-2012 11:47, Alaios escreveu: > Dear all, > I have a variable that I would like also to use it as a string. The reasons > is that I want to

Re: [R] Convert variable to STring

2012-07-30 Thread arun
ent: Monday, July 30, 2012 6:47 AM Subject: [R] Convert variable to STring Dear all, I have a variable that I would like also to use it as a string. The reasons is that I want to collect results from different function to one table.. So when I use the  colnames(mymatrix) <-c(function1.function2,

Re: [R] Convert variable to STring

2012-07-30 Thread Michael Weylandt
You may be searching for the deparse(substitute(x)) idiom. Michael On Jul 30, 2012, at 5:47 AM, Alaios wrote: > Dear all, > I have a variable that I would like also to use it as a string. The reasons > is that I want to collect results from different function to one table.. So > when I use t

Re: [R] Convert variable to STring

2012-07-30 Thread John Kane
: Mon, 30 Jul 2012 03:47:45 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] Convert variable to STring > > Dear all, > I have a variable that I would like also to use it as a string. The > reasons is that I want to collect results from different function to one > table..

[R] Convert variable to STring

2012-07-30 Thread Alaios
Dear all, I have a variable that I would like also to use it as a string. The reasons is that I want to collect results from different function to one table.. So when I use the  colnames(mymatrix) <-c(function1.function2,function3) the function1, function2, function3 to be "converted" to simple s