[R] memory management, scale

Kolling Alfons, F+E Alfons.Kolling at dillinger.de
Tue May 21 10:12:10 CEST 2002



Hi experts,

1.  I am working with large datasets (80000 rows, 20 columns) with R 1.3.0
und linux; so i try to save memory and remove unused objects. But even if i
remove all objects with rm() and force the garbage collector to work with
gc(), the process monitor utiliity kpm does not show a change of a single
byte in memory consumption. So what is wrong.

2. I order to scale a second dataset within a regression model created with
a first scaled data setm i would like to scale the second data set in the
same way like the first one, but i cannot find the shift and factor of the
first scale (for example with attributes or methods). Are the shift and
offset stored anywhere or not? (I know, i can calculate the desired values
with mean and root mean square; but when doing that, why should i use scale
at all?)


mit freundlichem Gruß

Alfons Kolling


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list