[R] How to create .rda file to be used in package building

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jun 21 09:32:16 CEST 2007


On Wed, 20 Jun 2007, Deli Wang wrote:

> Hi,
>
> Can someone tell me how to create .rda data files in R so that they can be
> used contributed package?

The manual says

   Currently, data files can have one of three types as indicated by their
   extension: plain R code (.R or .r), tables (.tab, .txt, or .csv), or
   save() images (.RData or .rda). (All ports of R use the same binary
   (XDR) format and can read compressed images. Use images saved with save(,
   compress = TRUE), the default, to save space.)

What more information do you need?  ?save may help you.


>
> Thanks
>
> Deli Wang
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list