[R] Memory management
Charles.Raux at let.ish-lyon.cnrs.fr
Wed Aug 30 10:54:36 CEST 2000
Some naive questions:
1) How to remove a column in a data frame? I expected that rm would
work but this is not the case (e.g. rm(dat$yyy) gives Warning
message: remove: variable dat$yyy was not found). I only found to
assign NULL value (e.g.: dat$yyy<-NULL). Is it the right way?
2) Is the place formerly occupied by dat$yyy automatically gained by
R for other uses?
3) If t1 and t2 are 2 only existing objects in a R session: does
t1<-t2 automatically free the space formerly occupied by t1 ? Do I
get an exact copy of t2, that is the total memory taken is twice that
Laboratoire d'Economie des Transports
CNRS-Université Lumière Lyon 2-ENTPE
email : charles.raux at let.ish-lyon.cnrs.fr
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help