You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
303 B
R
7 lines
303 B
R
13 years ago
|
# Function loads R-data file into a variable instead of into the workspace
|
||
|
# Works well when the R-data file contains only ONE variable
|
||
|
# NOT TESTED for when the R-data file contains many variables
|
||
|
LoadRData2Variable <- function(FullPathToRData) {
|
||
|
return(eval(parse(text = load(FullPathToRData))))
|
||
13 years ago
|
}
|