Skip to content
Prev 59807 / 398502 Next

Running R from CD?

On Mon, 22 Nov 2004, Prof Brian Ripley wrote:
[...]
I collected some data (under Windows XP).

On a modern desktop, running R from a CD-R or from a USB 2.0 thumbdrive 
was perfectably acceptable, with startup times of about 5 secs and little 
delay when running.

On a 2.5year old laptop with a USB 1.1 port (but the same thumbdrive) it 
took about 15secs to start and with frequent delays the first time an 
object was used -- I would not find that tolerable.  The laptop's CD drive 
was slower than the desktop and there were delays when it powered down, 
but it was acceptable.

This was less performance penalty than I was expecting, and less than I 
have seen on a high-latency network file system. So it looks as if all we 
can do is trade a slower startup time (by caching files) for removing 
hiatuses when running.  (Caching the pkg.rdb and pkg.rdx files when a 
package is opened would probably only take up a little over 1Mb in a 
typical session.)

Writing to the thumbdrive took about 20mins, as R has so many small files
and the drive has a VFAT file system.