Let me first admit: I am experiencing this bug on a precompiled binary
of R for windows, and I know these are not supported. I am not asking
for support, but I thought the R developers would want to know about
this.
# Define:
foo.page <- function(x) x
# Then,
foo.page("a")
# actually invokes the pager (!) on object named "a" (if one is
defined).
# same thing happens if you define the function with the name
<anyname>.page.
# Interestingly,
foo.page("a" )
# will actually act as desired (returns "a")
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 6.2
year 2003
month 01
day 10
language R
Cheers,
Jim Rogers
James A. Rogers, Ph.D. <rogers@cantatapharm.com>
Statistical Scientist
Cantata Pharmaceuticals
3-G Gill St
Woburn, MA 01801
617.225.9009
Fax 617.225.9010
That does not happen here, using the precompiled binary rw1062.exe (which BTW is supported: it is the 182 addon packages which are not). You *did* do this in a new session with --vanilla, didn't you? On Sat, 1 Feb 2003 jrogers@cantatapharm.com wrote:> Let me first admit: I am experiencing this bug on a precompiled binary > of R for windows, and I know these are not supported. I am not asking > for support, but I thought the R developers would want to know about > this. > > # Define: > > foo.page <- function(x) x > > # Then, > > foo.page("a") > > # actually invokes the pager (!) on object named "a" (if one is > defined). > # same thing happens if you define the function with the name > <anyname>.page. > > # Interestingly, > > foo.page("a" ) > > # will actually act as desired (returns "a") > > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major 1 > minor 6.2 > year 2003 > month 01 > day 10 > language R > > > Cheers, > Jim Rogers > > James A. Rogers, Ph.D. <rogers@cantatapharm.com> > Statistical Scientist > Cantata Pharmaceuticals > 3-G Gill St > Woburn, MA 01801 > 617.225.9009 > Fax 617.225.9010 > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
> You *did* do this in a new session with --vanilla, didn't you?Almost. What I did was comment out all of the lines of my Rprofile, and start with a new .Rdata (this should have the same effect as --vanilla, right?). Doing that, I get the behavior I described, but... I now see that I only get the problem when running R through iESS. If I work directly with Rterm, or with Rgui, I don't get the problem. So, R is not responsible (sorry!) and perhaps I should pursue this outside of R-bugs. But may I ask if anyone can replicate my problem when working through iESS? Jim> -----Original Message----- > From: ripley@stats.ox.ac.uk [mailto:ripley@stats.ox.ac.uk] > Sent: Saturday, February 01, 2003 5:10 PM > To: Jim Rogers > Cc: R-bugs@biostat.ku.dk > Subject: Re: [Rd] Apparent parser problem (PR#2520) > > > That does not happen here, using the precompiled binary > rw1062.exe (which BTW is supported: it is the 182 addon > packages which are not). > > You *did* do this in a new session with --vanilla, didn't you? > > > On Sat, 1 Feb 2003 jrogers@cantatapharm.com wrote: > > > Let me first admit: I am experiencing this bug on a > precompiled binary > > of R for windows, and I know these are not supported. I am > not asking > > for support, but I thought the R developers would want to > know about > > this. > > > > # Define: > > > > foo.page <- function(x) x > > > > # Then, > > > > foo.page("a") > > > > # actually invokes the pager (!) on object named "a" (if one is > > defined). # same thing happens if you define the function with the > > name <anyname>.page. > > > > # Interestingly, > > > > foo.page("a" ) > > > > # will actually act as desired (returns "a") > > > > _ > > platform i386-pc-mingw32 > > arch i386 > > os mingw32 > > system i386, mingw32 > > status > > major 1 > > minor 6.2 > > year 2003 > > month 01 > > day 10 > > language R > > > > > > Cheers, > > Jim Rogers > > > > James A. Rogers, Ph.D. <rogers@cantatapharm.com> > > Statistical Scientist > > Cantata Pharmaceuticals > > 3-G Gill St > > Woburn, MA 01801 > > 617.225.9009 > > Fax 617.225.9010 > > > > ______________________________________________ > > R-devel@stat.math.ethz.ch mailing list > > http://www.stat.math.ethz.ch/mailman/listinfo/r-devel > > > > -- > Brian D. Ripley, ripley@stats.ox.ac.uk > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 > >