Skip to content
Back to formatted view

Raw Message

Message-ID: <20020222094548.L4457@sellwood.reed.edu>
Date: 2002-02-22T17:45:48Z
From: Albyn Jones
Subject: storing large data.frame's
In-Reply-To: <36D2483A-277E-11D6-9EE3-0003930EA956@gmx.net>; from meinhardploner@gmx.net on Fri, Feb 22, 2002 at 11:23:29AM +0100

On Fri, Feb 22, 2002 at 11:23:29AM +0100, Meinhard Ploner wrote:
> I am new on R, so I have a maybe naive question:
> 
> if I have many large data.frames and I use only one or two per session, 
> what's the best way?
> If all are stored in the actual .Rdata, the system gets slow.
> On the other hand, I wouldn't like to make a separate package for the 
> data.


Take a look at the package "g.data" at your local CRAN:

g.data: Delayed-Data Packages 

     Create and maintain delayed-data packages (DDP's). Data
     stored in a DDP are available on demand, but do not take up
     memory until requested. You attach a DDP with
     g.data.attach(), then read from it and assign to it in a manner
     similar to S-Plus, except that you must run g.data.save() to
     actually commit to disk. 
     Version:
                    1.2
     Date:
                    2001-11-30
     Author:
                    David Brahm <brahm at alum.mit.edu>
-- 
--------------------------------------------------------------
http://www.reed.edu/~jones    Albyn Jones	  jones at reed.edu
Reed College, Portland OR 97202             (503)-771-1112 x7418

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._