[R] variable definition

Andrew R. Criswell andrew.c at bu.ac.th
Sun Jul 11 17:02:03 CEST 2004


Hello All:

This function obviously fails

    x <- function(z) paste("go", z, sep = ".") <- 10
    x("now")

But is there a way to define the name of a variable through passing a
parameter in a function call?

Thanks,
ANDREW




More information about the R-help mailing list