Re: [Rd] Buglet in optim() SANN

2009-10-25 Thread Prof. John C Nash
Indeed Brian is correct about the functioning of SANN and the R documentation. I'd misread the "maxit" warning. Things can stay as they are for now. The rest of this msg is for information and an invitation to off-list discussion. I realize my posting opens up the can of worms about what "converg

[Rd] Segfault reporting: memory not mapped error

2009-10-25 Thread Blair Christian
Is this the right place to report segfaults? spc$ R CMD BATCH driver.q rOut.txt spc$ tail -16 rOut.txt /Library/Frameworks/R.framework/Resources/bin/BATCH: line 60: 5461 Segmentation fault ${R_HOME}/bin/R -f ${in} ${opts} ${R_BATCH_OPTIONS} > ${out} 2>&1 *** caught segfault *** address 0x

Re: [Rd] reg-tests-1.R failure with unstable

2009-10-25 Thread Prof Brian Ripley
I have committed a workaround that works with bsdtar under Snow Leopard (Mac OS 10.6) for me. We have seen rather too many problems with incompatibility of tar formats recently (and it is documented to be ASCII only and has restrictions to 100 bytes for file paths), so have alternatives under

Re: [Rd] reg-tests-1.R failure with unstable

2009-10-25 Thread Hiroyuki Kawakatsu
On Sun, Oct 25, 2009, Prof Brian Ripley wrote: [...] > Seems this is a bug in the tar program on your OS: this should be > '755(nul)' in the 8 bytes 101:108. And that's in every account of the > tar format I have found, including the former POSIX standard. > > (Note to Peter D: we don't use get

Re: [Rd] Buglet in optim() SANN

2009-10-25 Thread Prof Brian Ripley
As the posting guide says, please read the help carefully before posting. It does say: ‘maxit’ The maximum number of iterations. Defaults to ‘100’ for the derivative-based methods, and ‘500’ for ‘"Nelder-Mead"’. For ‘"SANN"’ ‘maxit’ gives the total number of function

Re: [Rd] reg-tests-1.R failure with unstable

2009-10-25 Thread Prof Brian Ripley
On Sun, 25 Oct 2009, Hiroyuki Kawakatsu wrote: On Fri, Oct 23, 2009, Hiroyuki Kawakatsu wrote: Hi, I am getting an error from one of the test files tests/reg-tests-1.R using the unstable version (r50179). (i've learned my lessons; this is a clean build.) The tail of reg-tests-1.Rout.fail is L

Re: [Rd] reg-tests-1.R failure with unstable

2009-10-25 Thread Hiroyuki Kawakatsu
On Sun, Oct 25, 2009 at 10:32 AM, Peter Dalgaard wrote: [...] >> >> I think I have tracked this down to the following line in utils:::untar2() >>        mode <- rawToChar(block[101:107]) >> mode contains a trailing space as in "000755 " which causes the invalid >> digits error in as.octmode(). If I

Re: [Rd] reg-tests-1.R failure with unstable

2009-10-25 Thread Peter Dalgaard
Hiroyuki Kawakatsu wrote: On Fri, Oct 23, 2009, Hiroyuki Kawakatsu wrote: Hi, I am getting an error from one of the test files tests/reg-tests-1.R using the unstable version (r50179). (i've learned my lessons; this is a clean build.) The tail of reg-tests-1.Rout.fail is Loading required packag

Re: [Rd] reg-tests-1.R failure with unstable

2009-10-25 Thread Hiroyuki Kawakatsu
On Fri, Oct 23, 2009, Hiroyuki Kawakatsu wrote: > Hi, > > I am getting an error from one of the test files > tests/reg-tests-1.R using the unstable version (r50179). > (i've learned my lessons; this is a clean build.) The tail > of reg-tests-1.Rout.fail is > > Loading required package: myTst > buil