[Rd] How to create a permanent dataset in R.

Alex D'Amour alexdamour at gmail.com
Fri Jul 24 19:39:05 CEST 2009


Say your dataset is stored in variable "dat".

Type:

> save(dat, file="mydatfile.RData")

Next time you start the session, call:

load("mydatfile.RData")

And you can reload your dataset.

Is this what you meant?

HTH,
Alex

On Fri, Jul 24, 2009 at 2:11 AM, Albert EINstEIN<sateeshvarmap at gmail.com> wrote:
>
>
> Hi everybody,
>
> Actually, we know that If we create a dataset in R ,after closing the
> session the dataset automatically is closed. I tried for creating dataset
> permanently in R.I am facing the problem of creating permanent dataset.
> can we create dataset permanently If possible?
> Could somebody help me out in this aspect,plz? Any help would be
> appreciated.
>
> Thanks in advance.
> --
> View this message in context: http://www.nabble.com/How-to-create-a-permanent-dataset-in-R.-tp24639146p24639146.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list