[R] Any concept of 'by reference' or 'address of' in R?

Dirk Eddelbuettel edd at debian.org
Sat Sep 19 04:15:54 CEST 2009


On 18 September 2009 at 17:11, Don MacQueen wrote:
| I'd suggest using Rprof to find out where the cpu time is being 
| spent. 

Seconded. Profiling should help you.

Some other ideas:

-- look at the data.table package (on CRAN) by Matt Dowle which he
   uses as a fast lookup 'database alternative'

-- look at bigmemory (on CRAN) by Kane and Emerson which uses external
   pointer to keep one (big) object you could even share between R
   processes.

-- there's always plain old matrix as an alternative too

Dirk

-- 
Three out of two people have difficulties with fractions.




More information about the R-help mailing list