search for: rmlist

Displaying 2 results from an estimated 2 matches for "rmlist".

Did you mean: vmlist
2010 Jul 07
3
Large discrepancies in the same object being saved to .RData
...colleagues as to why the objects created and evaluated in a function call stack are saved, in some capacity, with the returned object? Cheers, Julian ####################### small simulation from a clean directory lmfunc <- function(loop = 20, add = FALSE, gr = FALSE){ lmlist <- rmlist <- list() set.seed(100) dat <- data.frame(matrix(rnorm(100*100), ncol = 100)) rm <- matrix(rnorm(100000), ncol = 1000) names(dat)[1] <- "y" i <- 1 for(i in 1:loop) { lmlist[[i]] <- lm(y ~ ., data = dat) if(add) rmlist[[i]] <- rm...
2013 Jan 15
1
Removing an attached object
Dear All, I am a bit confused, I attached my data frame using 'attach(DATA)' Then I removed it using 'rm(DATA)' But for some reason it is still at position 2 at the search path search() [1] ".GlobalEnv" "DATA" "package:foreign" [4] "package:stats" "package:graphics" "package:grDevices" [7]