search for: wrapsav

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

Did you mean: wrapsave
2008 Feb 26
1
wrapper for save function
...l problem with the name of the object that is getting saved in the file. Below is a simple example illustrating my problem. ## BEGIN SAMPLE R CODE ################################################## ## Here is the wrapper for the save function ################################################## wrapsave <- function(mydata, ...) { save(mydata, ...) } ################################################## ## Create a test data.frame and save it ################################################## testdf <- data.frame(a = rnorm(10), b = rnorm(10)) wrapsave(testdf, file = "~/test.Rdata&quot...