[R] foo.RData or foo.r?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Oct 3 13:54:20 CEST 2003


Federico Calboli <f.calboli at ucl.ac.uk> writes:

> Dear All,
> 
> I suspect this is kind of dumb, but when I was under the thrall of the
> dark lord (read, using a W2K box), all my work in R files came out as
> foo.RData. I moved on to GNU/Linux, and all the old .RData files keep on
> working as they used. No problems in loading and stuff. But I use R from
> the terminal. Assuming I decide to switch to emacs, do I need to save my
> work as foo.r? what about my old files? shall I simply "mv" them to
> foo.r? all in all, foo.Rdata and foo.r, does it make any difference?

Nonono... foo.r (or foo.R) is for R *source* code, functions, scripts,
and such. .RData files work exactly as always.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list