[R] editing in R

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Nov 3 15:25:45 CET 1999


Matthew Wiener <mcw at ln.nimh.nih.gov> writes:

> Hi.
> 
> I'm having a problem with disappearing comments when I transfer files
> (entire .RData files) from one machine to another, and I'm not sure
> whether it's an R problem or an ESS problem.  Since ESS seems more likely,
> I'm trying this list first.  

...he says and sends to both ess-help and r-help!

(However, it seems to me this problem only

> Functions originally shows up fine -- if I type the name of a
> function at a prompt, the comments are there, and the "source" attribute
> of the function has the comments as well. But if I use control-c control-d
> to edit the function, the source shows up without the comments.  And of
> course once I load that version, the comments are gone.  The "keep.source"
> option is set correctly in R.

This because C-c C-d is using dump() which ignores the stored source.
This should probably be changed.

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



More information about the R-help mailing list