Subject: [R] Macro variable substitution
Hello All,
I'm a new R user and have a question about what in SAS would be called
macro variable substitution. Below is some R code that doesn't work,
but I think it will illustrate what I'd like to do.
readfunc-function(x) {
x - read.table(paste
Hello All,
I'm a new R user and have a question about what in SAS would be called
macro variable substitution. Below is some R code that doesn't work,
but I think it will illustrate what I'd like to do.
readfunc-function(x) {
x - read.table(paste(x,.csv,sep=), header=TRUE,sep=,)
}
Hi,
I guess you want ?assign
See also this page for a working example,
http://wiki.r-project.org/rwiki/doku.php?id=guides:assigning-variable-names
HTH,
baptiste
2009/9/29 David Young dyo...@telefonica.net:
Hello All,
I'm a new R user and have a question about what in SAS would be called
] Macro variable substitution
Hello All,
I'm a new R user and have a question about what in SAS would be called
macro variable substitution. Below is some R code that doesn't work,
but I think it will illustrate what I'd like to do.
readfunc-function(x) {
x - read.table(paste(x,.csv,sep
4 matches
Mail list logo