[R] Evaluating R. I need to open "a dataset".

Diego Moretti dimorett at istat.it
Tue Feb 10 11:53:17 CET 2004

Our  Statistics Group is evaluating the use of R for the elaboration of 
some index.
We have some datasets sas and we would like to evaluate performance in 
the elaborations of mean, percentile, Gini index of a population and of 
a survey sample.
I need to open "a dataset". Currently I've understood that I've to 
follow a code sequence like this:

alfa <- {a moltiplicator}
memory.limit(alfa*round(memory.limit()/1048576.0, 2))
hereis <- read.xport("C:/R/ { my exported file sas }")

The dimension of { my exported file sas } is 120 mega
Is correct to allocate all the file in memory in a variable ( hereis ) ?
With an alfa ( the moltiplicator ) of  2 , I have the following error:

Error: cannot allocate vector of size 214 Kb
In addition: Warning message:
Reached total allocation of 446Mb: see help(memory.size)

Thank you for any advice.

Diego Moretti

Diego Moretti                           (dimorett at istat.it)
Italian National Statistical Institute  (ISTAT)

More information about the R-help mailing list