Re: [Rd] The "lib" argument in install.packages().

2009-11-24 Thread Peter Ehlers
Rolf, If you want to avoid the warning, why not use lib=.libPaths()[1]? This is not to say that your suggestions aren't useful. Cheers, Peter Ehlers Rolf Turner wrote: I was flummoxed for a long time by errors generated when I did something like install.packages(foo,lib="Rlib") where ``

Re: [Rd] Question R's parser : - parsing "x=\n 1"

2009-11-24 Thread Simon Urbanek
On Nov 25, 2009, at 1:03 AM, Saptarshi Guha wrote: Hello I was reading the source main/src/gram.y and had one question, how does R parse x = 1 According the grammar: prog: END_OF_INPUT{ return 0; } | '\n'{ return xxv

[Rd] Question R's parser : - parsing "x=\n 1"

2009-11-24 Thread Saptarshi Guha
Hello I was reading the source main/src/gram.y and had one question, how does R parse x = 1 According the grammar: prog: END_OF_INPUT{ return 0; } | '\n'{ return xxvalue(NULL,2,NULL); } | expr_or_assign '\n'

Re: [Rd] Broken installer (PR#14083)

2009-11-24 Thread Simon Urbanek
On Nov 24, 2009, at 5:45 PM, robert.a.wel...@vanderbilt.edu wrote: Full_Name: Robert A. Weller Version: current OS: Mac OS 10.6 Submission from: (NULL) (129.59.140.86) The gfortran 4.2.4 installer in the Tools section that is supposed to install a Snow Leopard (10.6) version is actually ins

[Rd] group generics

2009-11-24 Thread Ross Boylan
I have classes A and B, where B contains A. In the implementation of the group generic for B I would like to use the corresponding group generic for A. Is there a way to do that? I would also appreciate any comments if what I'm trying to do seems like the wrong approach. Here's a stripped down

[Rd] Broken installer (PR#14083)

2009-11-24 Thread robert . a . weller
Full_Name: Robert A. Weller Version: current OS: Mac OS 10.6 Submission from: (NULL) (129.59.140.86) The gfortran 4.2.4 installer in the Tools section that is supposed to install a Snow Leopard (10.6) version is actually installing version 4.2.1. I am finding that the 4.2.1 compiler installed as

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread Simon Urbanek
On Nov 24, 2009, at 10:58 , hadley wickham wrote: But the help files are local. It would seem that this problem would be addressed if the help files were not displayed using http:// But then they couldn't be dynamic. One solution which would allow both would be to implement a proxy within t

[Rd] The "lib" argument in install.packages().

2009-11-24 Thread Rolf Turner
I was flummoxed for a long time by errors generated when I did something like install.packages(foo,lib="Rlib") where ``Rlib'' is my personalized directory of R packages, which lives in my home directory (from which I started R before issuing the foregoing install.packages() call. Recen

[Rd] p-generalized normal distribution

2009-11-24 Thread Steve Kalke
Hello, I would like to know if there is an R-package available for computing the density, distribution function, quantiles and random numbers of the p-generalized normal distribution or if somebody is already working on it. Best regards, Steve Kalke ___

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread hadley wickham
> But the help files are local.  It would seem that this problem would > be addressed if the help files were not displayed using http:// But then they couldn't be dynamic. One solution which would allow both would be to implement a proxy within the dynamic help that could point to any file on the

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread groemping
* Prof. Dr. Ulrike Grömping Fachbereich II BHT Berlin (ehemals TFH Berlin) Luxemburger Str. 10 13353 Berlin Tel.: +49 (0)30 4504 5127 Fax.: +49 (0)30 4504 66 5127 mail: groemp...@bht-berlin.de www: http://prof.tfh-berlin.de/groemping/ **

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread Gabor Grothendieck
On Tue, Nov 24, 2009 at 10:26 AM, Duncan Murdoch wrote: > On 11/24/2009 8:20 AM, Gabor Grothendieck wrote: >> >> On Wed, Nov 18, 2009 at 8:29 AM, Duncan Murdoch >> wrote: you could use the Sweave like macro to compute the path inside the Rd environments \Sexpr{file.path(s

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread Duncan Murdoch
On 11/24/2009 8:06 AM, Ulrike Groemping wrote: Duncan Murdoch-2 wrote: On 11/18/2009 8:01 AM, ml-it-r-de...@epigenomics.com wrote: Ulrike Grömping wrote, On 11/18/09 13:28: Duncan Murdoch schrieb: Ulrike Groemping wrote: Duncan Murdoch-2 wrote: Ulrike Groemping wrote: Dear develope

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread Duncan Murdoch
On 11/24/2009 8:20 AM, Gabor Grothendieck wrote: On Wed, Nov 18, 2009 at 8:29 AM, Duncan Murdoch wrote: you could use the Sweave like macro to compute the path inside the Rd environments \Sexpr{file.path(system.file(package="AlgDesign", "doc"), "AlgDesign.pdf")} described in 'Writing R extens

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread Gabor Grothendieck
On Wed, Nov 18, 2009 at 8:29 AM, Duncan Murdoch wrote: >> you could use the Sweave like macro to compute the path inside the Rd >> environments >> >> \Sexpr{file.path(system.file(package="AlgDesign", "doc"), >> "AlgDesign.pdf")} >> >> described in 'Writing R extensions' 2.11 >> >>

Re: [Rd] Link to pdf documentation from other package ?

2009-11-24 Thread Ulrike Groemping
Duncan Murdoch-2 wrote: > > On 11/18/2009 8:01 AM, ml-it-r-de...@epigenomics.com wrote: >> Ulrike Grömping wrote, On 11/18/09 13:28: >>> Duncan Murdoch schrieb: Ulrike Groemping wrote: > > Duncan Murdoch-2 wrote: > >> Ulrike Groemping wrote: >> >>> Dear develope

[Rd] GC control and GET_NEW_NODE.

2009-11-24 Thread Guillaume Yziquel
Hello. I've been roaming through the R source code and its documentation. When it comes to memory management, I'm a bit surprised to see that there are no C entry points to something such a GET_NEW_NODE in memory.c. I mean, I'll need to make R GC and OCaml GC live together, so there will be