[R] ESS or R problem editing functions

Matthew Wiener mcw at ln.nimh.nih.gov
Wed Jan 6 17:53:29 CET 1999

Hi, all.

I'm not sure whether this is a problem with ESS or R (or even a feature I
don't understand!).

Say I've got a function named f.count.these.patterns (as I do -- I'm using
actual names in case they're somehow important).  I previously had a
version called f.count.these.patterns.3, but discarded it because it was
worse.  So the function is no longer there.  If I create a new version to
compare performance using a slightly different mechanism: 

f.count.these.patterns.3 <- f.count.these.patterns,

and try to edit is (using control-c control-d), I get up *not* the
function I just created, but an old file mcw.f.count.these.patterns.3.R
with my old discarded version.  I can list the function correctly (typing
its name at the R prompt), but can't seem to edit it.  If I create
f.count.these.patterns.4 (which has never existed before), I can edit it
without any problems. 

So I guess I need to know how to make mcw.f.count.these.patterns.3.R go
away.  I thought that the R command rm(f.count.these.patterns.3.R) would
take care of whatever needed to be done.

I'm using R version 0.63 and ESS-5.1 on an SGI with plenty of memory.

Thanks for any help,

				Matt Wiener

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