From rpeng at jhsph.edu  Mon Apr 25 21:30:10 2005
From: rpeng at jhsph.edu (Roger D. Peng)
Date: Mon Apr 25 21:30:20 2005
Subject: [Rd] Speeding up library loading
In-Reply-To: <BAY17-F33CE9F0BF730E75419D3B9D1200@phx.gbl>
References: <BAY17-F33CE9F0BF730E75419D3B9D1200@phx.gbl>
Message-ID: <426D4542.1080008@jhsph.edu>

Is it possible to break the package into multiple parts, perhaps 
like a bundle?  Then you could only load the parts that you need 
at any particular time.

-roger

Ali - wrote:
> 
>> 4Mb R file just containing .Call()s? Never seen something like that.
>> If these are all very small functions, lazy load won't be of that 
>> advantage, because you have to load the index file anyway.
>>
>> You know, R including all base and recommended packages has just ~ 6Mb 
>> of R code. Are you really sure about your code?
> 
> 
> Positively. The wrapped library is actually much bigger than R, it 
> brings a few hundered new classes to R. The library has been already 
> wrapped to other languages like java, and the loading speed for these 
> other languages is quite reasonable. I cannot see any reasons why not 
> this can be done with R too -- as a computational application R is 
> supposed to be efficient in all ways.
> 
> It seems that, so far, no packages as big as this one have been created 
> for R. I would appreciate any clues from the development team for 
> improving the performance of big packages in R.
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Roger D. Peng
http://www.biostat.jhsph.edu/~rpeng/


[Rd] Speeding up library loading
Roger D. Peng