Re: [Rd] trivial spelling correction

2008-12-03 Thread Martin Maechler
SO == Sean O'Riordain [EMAIL PROTECTED] on Mon, 1 Dec 2008 19:32:13 + writes: SO Good evening, SO Spotted a very minor spelling mistake in the source for the grep help. SO And thanks to R-Core for all their work - it's a tribute to R-Core, SO that these sort of problems

[Rd] nlminb: names of parameter vector not passed to objective function

2008-12-03 Thread Thomas Petzoldt
Dear R developers, I tried to use nlminb instead of optim for a current problem (fitting parameters of a differential equation model). The PORT algorithm converged much better than any of optim's methods and the identified parameters are plausible. However, it took me a while before spotting

Re: [Rd] nlminb: names of parameter vector not passed to objective function

2008-12-03 Thread Prof Brian Ripley
On Wed, 3 Dec 2008, Thomas Petzoldt wrote: Dear R developers, I tried to use nlminb instead of optim for a current problem (fitting parameters of a differential equation model). The PORT algorithm converged much better than any of optim's methods and the identified parameters are plausible.

Re: [Rd] nlminb: names of parameter vector not passed to objective function

2008-12-03 Thread Thomas Petzoldt
Dear Prof. Ripley, thank you very much for the fast response. I am very grateful for all the work that the R Core does and so I try to contribute my humble part as a tester. Prof Brian Ripley wrote: On Wed, 3 Dec 2008, Thomas Petzoldt wrote: Dear R developers, I tried to use nlminb

[Rd] syntax error in platform.c (PR#13354)

2008-12-03 Thread anne . c . bracy
Full_Name: Anne Bracy Version: 2.8.0 OS: linux Submission from: (NULL) (192.55.52.12) syntax error in platform.c line 1657, missing ; after the word FALSE __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] A small bug in R code of the legend function of the Graphics (PR#13350)

2008-12-03 Thread Arkady . Sherman
Martin Maechler wrote: but do.lines is never specified. It can be FALSE (if there are no lines drawn) and a user can indeed set 'merge = TRUE in such a situation. However, can you think of a situation where this was desirable? I think it should not have any effect in such a case {... but

[Rd] Matrix dimnames crash (PR#13361)

2008-12-03 Thread arnima
In Windows XP, the matrix() function crashes the program when 'dimnames' is an empty list: matrix(1:4, nrow=2, dimnames=list()) # R has encountered a problem and needs to close ... This bug is specific to WinXP, as Linux64 handles this situation more gracefully: matrix(1:4, nrow=2,

[Rd] Error code query (PR#13360)

2008-12-03 Thread awylie
Hi I'm working on installing R and Rcmdr on a Mac running Leopard. I've had it running in the past and had to reinstall 11X iwhen putting some notes together for students. To get screen shots I reinstalled 11X without unstalling it first. Having loaded the additional packages with Rcmdr,

Re: [Rd] syntax error in platform.c (PR#13354)

2008-12-03 Thread Prof Brian Ripley
This was corrected way back in October. Please do read the FAQ and not report already fixed issues. On Mon, 1 Dec 2008, [EMAIL PROTECTED] wrote: Full_Name: Anne Bracy Version: 2.8.0 OS: linux Submission from: (NULL) (192.55.52.12) syntax error in platform.c line 1657, missing ; after the

Re: [Rd] Matrix dimnames crash (PR#13361)

2008-12-03 Thread Prof Brian Ripley
On Wed, 3 Dec 2008, [EMAIL PROTECTED] wrote: In Windows XP, the matrix() function crashes the program when 'dimnames' is an empty list: matrix(1:4, nrow=2, dimnames=list()) # R has encountered a problem and needs to close ... This bug is specific to WinXP, as Linux64 handles this

Re: [Rd] Matrix dimnames crash (PR#13361)

2008-12-03 Thread William Dunlap
Brian, Your change to src/main/attrib.c:dimnamesgets(), --- attrib.c(revision 47045) +++ attrib.c(working copy) @@ -857,6 +857,9 @@ UNPROTECT(1); PROTECT(val = newval); } +if (k != length(val)) + error(_(length of 'dimnames' [%d] must match that of 'dims'

Re: [Rd] Matrix dimnames crash (PR#13361)

2008-12-03 Thread Prof Brian Ripley
On Wed, 3 Dec 2008, William Dunlap wrote: Brian, Your change to src/main/attrib.c:dimnamesgets(), --- attrib.c(revision 47045) +++ attrib.c(working copy) @@ -857,6 +857,9 @@ UNPROTECT(1); PROTECT(val = newval); } +if (k != length(val)) + error(_(length of

[Rd] reduce limit number of arguments in methods:::cbind

2008-12-03 Thread Yohan Chalabi
Dear all, As far as I understand, the number of arguments in methods:::cbind is limited by the self recursive construction of the function which generates nested loops. A workaround could be to use the internal cbind function on blocks of non S4 objects. The limitation would then be reduced to

Re: [Rd] reduce limit number of arguments in methods:::cbind

2008-12-03 Thread Jeff Ryan
My 2c: The real issue for me is that this approach to handling S4 objects by altering R functions for the worse is incorrect. (by calling bind_activation) m - matrix(1:2e6L) # 2 million obs system.time(cbind(m,m)) user system elapsed 0.027 0.017 0.044 methods:::bind_activation(TRUE)

[Rd] Date + difftime (PR#13369)

2008-12-03 Thread ggrothendieck
Full_Name: G. Grothendieck Version: 2.8.0 OS: Vista Submission from: (NULL) (69.63.52.10) Get rid of the annoying warning. This is supposed to be valid according to ?Ops.Date (shown at end): today - Sys.Date() tomorrow - today + 1 dt - tomorrow - today today + dt [1] 2008-12-05 Warning

[Rd] Recent snapshot tarballs of R-devel don't compile

2008-12-03 Thread hpages
Hi, Trying to compile one of the latest snapshot tarballs of R-devel gives me the following error (64-bit openSUSE 10.3): ... make[2]: Entering directory `/loc/home/biocbuild/bbs-2.4-bioc/R/src/library/Recommended' make[2]: *** No rule to make target `VR.ts', needed by