search for: saveloadreference

Displaying 1 result from an estimated 1 matches for "saveloadreference".

2004 Jan 15
2
A language technical question.
...not to load them manually I wonder how I do this in R if using a for-loop. I was thinking initially to do something like this: infiles <- dir(pattern=".RData") for(i in length(infiles)) { load(infiles[i]) paste("kalle", i, sep="") <- saveLoadReference } But the line """paste("kalle", i, sep="")""" does not do it for me. I get the error message "Error: Target of assignment expands to non-language object" The thing that I do not master is how to create a name in a for-loop tha...