[R] foo.RData or foo.r?

Federico Calboli f.calboli at ucl.ac.uk
Fri Oct 3 14:59:04 CEST 2003


On Fri, 2003-10-03 at 13:16, Adaikalavan RAMASAMY wrote:
> *.R is for the script file and is ASCII type.
> *.Rdata (or sometimes *.rda) is the usual extension for R data and
> contains binary information.
> 
> If you try to cat a *.Rdata file, you will end up with gibberish as it
> is binary.
> 
> Try opening *.Rdata with emacs if you can. Emacs will recognise it as a
> fundamental type and not as an ESS type. There might be ways to
> associate Rdata files with ESS. But other people might not consider
> reading your "*.Rdata" files.
> 
I dunno about this, but if I open R under emacs first and then I load my
foo.RData, it loads fine. Mind you, I am totally new to emacs, I even
had to install ESS from RPM, as I could not figure out how to do it from
source... 

Cheers,

Federico
-- 



=================================

Federico C. F. Calboli

Department of Biology
University College London
Darwin Building 
Gower Street
London
WC1E 6BT

tel: 020 7679 4395
fax: 020 7679 7096

f.calboli at ucl.ac.uk




More information about the R-help mailing list