Re: [Rd] two minor bugs in rowsum()

2011-03-29 Thread Prof Brian Ripley
On Fri, 25 Mar 2011, William Dunlap wrote: (a) In R 2.12.2 rowsum can overflow if given an integer input: > rowsum(c(2e9L, 2e9L), c("a", "a")) [,1] a -294967296 > 2^32 + .Last.value [,1] a 4e+09 Should it be changed to coerce its x argument to numeric (double precision) so it al

Re: [Rd] core Matrix package segfaulted on R CMD check --use-gct

2011-03-29 Thread Hin-Tak Leung
Martin Maechler wrote: Douglas Bates on Mon, 28 Mar 2011 09:24:39 -0500 writes: > Can you provide the output from sessionInfo() > so we can know the platform? Also, did you configure R > with --enable-strict-barrier or set the C compilation flag > -DTESTING_WRITE_BARRIER?

[Rd] Reading 64-bit integers

2011-03-29 Thread Jon Clayden
Dear all, I see from some previous threads that support for 64-bit integers in R may be an aim for future versions, but in the meantime I'm wondering whether it is possible to read in integers of greater than 32 bits at all. Judging from ?readBin, it should be possible to read 8-byte integers to s

[Rd] rowsum

2011-03-29 Thread Terry Therneau
> with the entirely different rowSums, but it has been around > for a long time.) A lot longer than rowSums ... > Bill Dunlap > Spotfire, TIBCO Software --- This made me smile. The rowsums function was originally an internal part of the survival package, used for

Re: [Rd] Reading 64-bit integers

2011-03-29 Thread Simon Urbanek
On Mar 29, 2011, at 8:46 AM, Jon Clayden wrote: > Dear all, > > I see from some previous threads that support for 64-bit integers in R > may be an aim for future versions, but in the meantime I'm wondering > whether it is possible to read in integers of greater than 32 bits at > all. Judging fro

[Rd] Typo in tools:::format.check_Rd_metadata()

2011-03-29 Thread Hervé Pagès
Hi, With R version 2.13.0 alpha (2011-03-24 r55004), 'R CMD check' will produce the following output on some packages: * checking Rd metadata ... WARNING Error in is.function(FUN) : 'FUN' is missing Calls: print ... format.check_Rd_metadata -> unlist -> lapply -> match.fun Execution ha

Re: [Rd] Reading 64-bit integers

2011-03-29 Thread Jon Clayden
Dear Simon, Thank you for the response. On 29 March 2011 15:06, Simon Urbanek wrote: > > On Mar 29, 2011, at 8:46 AM, Jon Clayden wrote: > >> Dear all, >> >> I see from some previous threads that support for 64-bit integers in R >> may be an aim for future versions, but in the meantime I'm wonde

Re: [Rd] Typo in tools:::format.check_Rd_metadata()

2011-03-29 Thread Duncan Murdoch
On 29/03/2011 1:31 PM, Hervé Pagès wrote: Hi, With R version 2.13.0 alpha (2011-03-24 r55004), 'R CMD check' will produce the following output on some packages: * checking Rd metadata ... WARNING Error in is.function(FUN) : 'FUN' is missing Calls: print ... format.check_Rd_metadata

Re: [Rd] two minor bugs in rowsum()

2011-03-29 Thread Hervé Pagès
Hi, On 03/29/2011 01:24 AM, Prof Brian Ripley wrote: On Fri, 25 Mar 2011, William Dunlap wrote: [...] (The name rowsum is a metabug, since it may be confused with the entirely different rowSums, but it has been around for a long time.) A lot longer than rowSums ... Another problem with t

Re: [Rd] core Matrix package segfaulted on R CMD check --use-gct

2011-03-29 Thread Douglas Bates
On Tue, Mar 29, 2011 at 5:34 AM, Hin-Tak Leung wrote: > Martin Maechler wrote: >>> >>> Douglas Bates >>>    on Mon, 28 Mar 2011 09:24:39 -0500 writes: >> >>    > Can you provide the output from sessionInfo() >> >>    > so we can know the platform?  Also, did you configure R >>    > wi

Re: [Rd] Reading 64-bit integers

2011-03-29 Thread William Dunlap
> -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Jon Clayden > Sent: Tuesday, March 29, 2011 5:46 AM > To: r-devel@r-project.org > Subject: [Rd] Reading 64-bit integers > > Dear all, > > I see from some previous threads tha

[Rd] Broken link in R-exts.html

2011-03-29 Thread Matt Shotwell
The HTML link 'Customizing package compilation' in 'Writing R Extensions' is broken. See the offending link near here: http://cran.r-project.org/doc/manuals/R-exts.html#Submitting-a-package-to-CRAN In R-exts.texi, it looks like a five-argument @xref was intended. Oddly, the PDF link works anywa

Re: [Rd] Reading 64-bit integers

2011-03-29 Thread Simon Urbanek
Jon, On Mar 29, 2011, at 1:33 PM, Jon Clayden wrote: > Dear Simon, > > Thank you for the response. > > On 29 March 2011 15:06, Simon Urbanek wrote: >> >> On Mar 29, 2011, at 8:46 AM, Jon Clayden wrote: >> >>> Dear all, >>> >>> I see from some previous threads that support for 64-bit integer

Re: [Rd] Reading 64-bit integers

2011-03-29 Thread Jon Clayden
Dear Simon, On 29 March 2011 22:40, Simon Urbanek wrote: > Jon, > > On Mar 29, 2011, at 1:33 PM, Jon Clayden wrote: > >> Dear Simon, >> >> Thank you for the response. >> >> On 29 March 2011 15:06, Simon Urbanek wrote: >>> >>> On Mar 29, 2011, at 8:46 AM, Jon Clayden wrote: >>> Dear all, >>>

Re: [Rd] Reading 64-bit integers

2011-03-29 Thread Duncan Murdoch
On 29/03/2011 7:01 PM, Jon Clayden wrote: Dear Simon, On 29 March 2011 22:40, Simon Urbanek wrote: Jon, On Mar 29, 2011, at 1:33 PM, Jon Clayden wrote: Dear Simon, Thank you for the response. On 29 March 2011 15:06, Simon Urbanek wrote: On Mar 29, 2011, at 8:46 AM, Jon Clayden wrote:

[Rd] problem with png() and large dimensions on some 32-bit Windows machines

2011-03-29 Thread Dan Tenenbaum
Hello, I encountered this: > png(file=tempfile(), width=1165, height=12983) Error in png(file = tempfile(), width = 1165, height = 12983) : unable to start png() device In addition: Warning messages: 1: In png(file = tempfile(), width = 1165, height = 12983) : Unable to allocate bitmap 2: In

Re: [Rd] Reading 64-bit integers

2011-03-29 Thread Simon Urbanek
On Mar 29, 2011, at 8:47 PM, Duncan Murdoch wrote: > On 29/03/2011 7:01 PM, Jon Clayden wrote: >> Dear Simon, >> >> On 29 March 2011 22:40, Simon Urbanek wrote: >>> Jon, >>> >>> On Mar 29, 2011, at 1:33 PM, Jon Clayden wrote: >>> Dear Simon, Thank you for the response. >

Re: [Rd] problem with png() and large dimensions on some 32-bit Windows machines

2011-03-29 Thread Dan Tenenbaum
I forgot to mention, on the machine where the png() command below does not work, the output of capabilities() is: > capabilities() jpeg png tifftcltk X11 aqua http/ftp sockets TRUE TRUE TRUE TRUEFALSEFALSE TRUE TRUE libxml fifo cled

Re: [Rd] problem with png() and large dimensions on some 32-bit Windows machines

2011-03-29 Thread Simon Urbanek
Dan, the Windows build of R has no back-end choices, so the error essentially comes from a system call which means that Windows simply cannot provide the resources. Have you tried let's say Cairo alternative on the same machine? [If you want to test it, please use install.packages("Cairo",,"htt

Re: [Rd] SurviveGotoBLAS2 for Win64 (RC release)

2011-03-29 Thread Ei-ji Nakama
Hi, I made the GotoBLAS2 for OSX version. two binaries are divided by kind of powerPC. neither binaries are different on Intel. because there is not PPC, I can't confirm it. http://prs.ism.ac.jp/~nakama/SurviveGotoBLAS2/binary/OSX/ 2011/2/10 Ei-ji Nakama : > Hi, > > I put below Rblas.dll(GotoBLA

[Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-03-29 Thread Henrik Bengtsson
Hi, in Section 'Writing package vignettes' of 'Writing R Extensions' it says: "Whenever a Makefile is found, then R CMD build will try to run make after the Sweave runs, so PDF manuals can be created from arbitrary source formats (plain LaTeX files, ...). [...] Note that the make step is executed