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
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,
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
: 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..
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
5 matches
Mail list logo