From: Prof Brian D Ripley (ripley@stats.ox.ac.uk)
Date: Sat 27 Oct 2001 - 19:16:27 EST
Message-id: <Pine.GSO.4.31.0110271012200.9332-100000@auk.stats>
On Fri, 26 Oct 2001, Vadim Ogranovich wrote:
> Dear R-Users,
>
> I am reading the "An Introduction to R" manual and have come across data()
> function for loading data.
>
> I assume that R requires explicit loading of data objects to save memory.
> Then I'd expect there should be a function that can unload the objects once
> they are not needed anymore, what is this function? It would be helpful if
> ?data contained a reference to that function.
rm(). Applies to any object in memory.
It's pretty rare that a data object loaded by data() would be large enough
to be material in memory usage these days, but R was originally written for
ca 2Mb systems. If it were, one might do better to use attach/detach
(with a data file created with save).
-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Thu 17 Jan 2002 - 11:10:08 EST