Displaying 1 result from an estimated 1 matches for "avariablenotsav".
Did you mean:
avariablenotsaved
2006 May 25
1
save() saves extra stuff if object is not evaluated
...005|\016|\020|\036|\a|\n|\t)", "", bfr);
bfr <- bfr[nchar(bfr) > 0];
cat(bfr, sep="", "\n");
}
saveCache <- function(file, y, sources=NULL, eval=FALSE) {
if (eval)
dummy <- is.null(sources)
base::save(file=file, sources, compress=FALSE)
}
aVariableNotSaved <- double(1e6)
main <- function() {
# This 'big' variable is saved in case 1 below!
big <- rep(letters, length.out=1e5)
identifier <- "This string will be saved too!"
y <- 1
file <- "a.RData"
saveCache(y, file=file)
peek(file)
file...