[R] editing in R

Matthew Wiener mcw at ln.nimh.nih.gov
Wed Nov 3 14:58:20 CET 1999


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.  (However, it seems to me this problem only
showed up when I upgraded to R-0.65.0 or R-0.65.1.)

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.

The following lines appear in the "ESS" buffer in emacs:

(comment-start . #) (comment-start-skip . #+ *) (comment-column . 40)

These are the only things I can find involving comments.

I can't find anything in the online ESS manual.  Does anyone know how I
can keep my comments?

Thanks,
		Matt



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