[Rd] segfault with format.POSIXct()

2010-04-22 Thread Sebastian P. Luque
Hi, I'm getting a segmentation fault as follows: ------ R> begt <- as.POSIXct(strptime("10/01/2009 06:00:00", format="%d/%m/%Y %H:%M:%S"), +tz="GMT") R> tser <- seq(begt, by=5, length.out=91000) R> tser.trun

Re: [Rd] RUnit bug?

2010-04-22 Thread Dominick Samperi
Thanks. With help from Matthias I discovered that I was using the wrong RUnit docs. I was using the Nov. 25, 2009 paper by Matthias and two others instead of the online RUnit package docs, where a more robust regular expression appears. On Thu, Apr 22, 2010 at 3:51 AM, Romain Francois wrote: > Le

Re: [Rd] Rtools for building 64 bit windows packages

2010-04-22 Thread Sharpie
Duncan Murdoch-2 wrote: > > You can use the Rtools for the stuff other than the compilers. You need > the MinGW 64 bit versions of the compilers; they are not nicely packaged > yet, but the instructions for finding them are in the new version of the > R-admin manual, in the section 3.3, "Bui

Re: [Rd] Rtools for building 64 bit windows packages

2010-04-22 Thread Duncan Murdoch
On 22/04/2010 3:04 PM, Sharpie wrote: Hello R developers, I sincerely apologize if the answer to this question is clearly documented somewhere, but I was unable to figure it out over my morning coffee. I just downloaded today's release of R 2.11.0 and installed it on my Windows 7 64 bit VM. I

[Rd] Rtools for building 64 bit windows packages

2010-04-22 Thread Sharpie
Hello R developers, I sincerely apologize if the answer to this question is clearly documented somewhere, but I was unable to figure it out over my morning coffee. I just downloaded today's release of R 2.11.0 and installed it on my Windows 7 64 bit VM. I also downloaded the latest version of R

Re: [Rd] RUnit bug?

2010-04-22 Thread it-r-devel
Romain has already given you the answer. As would have the help page ?defineTestSuite Not a bug, but a user error, I assume. Matthias Dominick Samperi wrote, On 04/22/10 02:19: > There appears to be a bug in RUnit. > > Given a testsuite testsuite.math, say, when I run: > > runTestSuite(test

Re: [Rd] suggestion how to use memcpy in duplicate.c

2010-04-22 Thread Simon Urbanek
On Apr 22, 2010, at 7:12 AM, Matthew Dowle wrote: > > Is this a thumbs up for memcpy for DUPLICATE_ATOMIC_VECTOR at least ? > > If there is further specific testing then let me know, happy to help, but > you seem to have beaten me to it. > I was not volunteering to do anything - I was just l

Re: [Rd] Bugs? when dealing with contrasts

2010-04-22 Thread Gabor Grothendieck
On Thu, Apr 22, 2010 at 2:32 AM, Peter Dalgaard wrote: > Gabor Grothendieck wrote: >> On Wed, Apr 21, 2010 at 4:26 PM, Peter Dalgaard wrote: > ... >>> I.e., that R reverts to using indicator variables when the intercept is >>> absent. >> >> Is there any nice way of getting contr.sum coding for th

Re: [Rd] suggestion how to use memcpy in duplicate.c

2010-04-22 Thread Matthew Dowle
Just to add some clarification, the suggestion wasn't motivated by speeding up a length 3 vector being recycled 3.3 million times. But its a good point that any change should not make that case slower. I don't know how much vectorCopy is called really, DUPLICATE_ATOMIC_VECTOR seems more sig

Re: [Rd] suggestion how to use memcpy in duplicate.c

2010-04-22 Thread Matthew Dowle
Is this a thumbs up for memcpy for DUPLICATE_ATOMIC_VECTOR at least ? If there is further specific testing then let me know, happy to help, but you seem to have beaten me to it. Matthew "Simon Urbanek" wrote in message news:65d21b93-a737-4a94-bdf4-ad7e90518...@r-project.org... > > On Apr 21

Re: [Rd] RUnit bug?

2010-04-22 Thread Romain Francois
Le 22/04/10 02:19, Dominick Samperi a écrit : There appears to be a bug in RUnit. Given a testsuite testsuite.math, say, when I run: runTestSuite(testsuite.math) this works fine, provided there are no extraneous files in the unit test subdirectory. But if there are any Emacs temp files (with