Re: [Rd] Active bindings in attached environments

2009-11-05 Thread Jeffrey Horner
On Thu, Nov 5, 2009 at 9:53 AM, Jeffrey Horner wrote: > > Hi, > > Is this expected behavior for active bindings in attached > environments, or is this a bug: > > > e <- new.env() > > makeActiveBinding('x',function() 'foo',e) > > ls(e) > [1] "x" > > attach(e) > > search() > [1] ".GlobalEnv"        

[Rd] Typos in ?pdf (was Re: Problem with pdf graphics device)

2009-11-05 Thread Ben Bolker
Marc Schwartz me.com> writes: > [snip] > See ?pdf and read through the "Note" section. > While I was reading this I noticed two minor typos in pdf.Rd. These patches are against the latest SVN devel version. *** pdf.Rd.orig 2009-11-05 14:37:44.0 -0500 --- pdf.Rd 2009-11-0

[Rd] A fix that for 'bquote' that may work (PR#14031)

2009-11-05 Thread suharto_anggono
This is a fix for 'bquote' that may work. function (expr, where =3D parent.frame())=20 { unquote <- function(e) { if (length(e) <=3D 1 || !is.language(e))=20 e else if (e[[1]] =3D=3D as.name("."))=20 eval(e[[2]], where) else as.call(lapply(e, unq

[Rd] Error when adding package RMySQL (PR#14044)

2009-11-05 Thread kare
Full_Name: Kåre Jonsson Version: 2.10 OS: WinXP Submission from: (NULL) (85.225.178.169) I made a brand new installation of R 2.10 in two machines and got the same problem. Machine 1 is Win XP on metal installation machine 2 is virtual in VMWare running a hacky OS named Tiny XP in which any Micr

[Rd] Active bindings in attached environments

2009-11-05 Thread Jeff Horner
Hi, I was wondering if this is expected behavior for active bindings in attached environments, or if this is a bug: > e <- new.env() > makeActiveBinding('x',function() 'foo',e) > ls(e) [1] "x" > attach(e) > search() [1] ".GlobalEnv""e" "package:graphics" [4] "package:gr

[Rd] Typo in R Help INSTALL {utils} (PR#14045)

2009-11-05 Thread neilt
Full_Name: Neil Tiffin Version: R version 2.10.0 (2009-10-26) OS: [R.app GUI 1.30 (5511) i386-apple-darwin9.8.0] Submission from: (NULL) (99.68.31.116) In the help section 'INSTALL {utils}' half way down the page the line Use R CMD INSTALL –help for concise usage information, including all t

Re: [Rd] Active bindings in attached environments

2009-11-05 Thread Tony Plate
An explanation of this would be nice in ?makeActiveBinding, e.g., NOTE: When an environment is attach()'ed to the search path, any active bindings in it are not preserved as active bindings. This happens because attach() actually adds a new environment to the search path, and copies objects

Re: [Rd] Error when adding package RMySQL (PR#14044)

2009-11-05 Thread ligges
k...@modlab.se wrote: > Full_Name: Kåre Jonsson > Version: 2.10 > OS: WinXP > Submission from: (NULL) (85.225.178.169) > > > I made a brand new installation of R 2.10 in two machines and got the same > problem. > > Machine 1 is Win XP on metal installation > machine 2 is virtual in VMWare runn

Re: [Rd] Typo in R Help INSTALL {utils} (PR#14045)

2009-11-05 Thread Prof Brian Ripley
The source file reads Use \command{R CMD INSTALL --help} for concise usage information, so I see no 'typo'. The issue is apparently in the rendering of -- as - in \command. I am presuming you are viewing HTML in the Mac GUI, but can you please confirm exactly what you are looking at. On

Re: [Rd] parse_Rd and/or lazyload problem

2009-11-05 Thread luke
On Thu, 5 Nov 2009, mark.braving...@csiro.au wrote: Great-- thanks for the info. For now, hopefully I can get the behaviour I want by sticking a .Call( 'R_lazyLoadDBflush'...) [as per 'detach'] before calling 'lazyLoad'. Seems to work on my examples, but please let me know if you don't think

[Rd] bug in heatmap?

2009-11-05 Thread Ross Boylan
Using R 2.10 on WinXP heatmap(mymap, Rowv=NA, Colv=NA) with mymap values of 0 1 2 3 4 0 NaN 0.0 0.00621118 0.000 NaN 10 0.0 0.01041667 0.125 NaN 20 0.004705882 0.02105263 0.333 NaN 30 0.004081633 0.0222 0.500 0