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