Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Prof Brian Ripley
On 06/06/2012 21:04, peter dalgaard wrote: FYI, Brian has backed out the changes to identical() in r59533 of R-patched. Please retry your test codes with the new version. (Due to some ISP mess-up, Brian is temporarily unable to reply in detail himself.) -pd Some comments (now my ISP has

Re: [Rd] suggest that as.double( something double ) not make a copy

2012-06-07 Thread Matthew Dowle
Henrik Bengtsson hb at biostat.ucsf.edu writes: See also R-devel '[Rd] Suggestion for memory optimization and as.double() with friends', March 28-29 2007 [https://stat.ethz.ch/pipermail/r-devel/2007-March/045109.html]. /Henrik Interesting thread. So we have you to thank for instigating

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Prof Brian Ripley
On 07/06/2012 11:12, Matthew Dowle wrote: Prof Ripley wrote : (AFAIK the CRAN binary package providers expect users to be using the current version of R.) I guess it's quite common practice for very many users to fail that expectation. I for one do. I'm used to seeing Warning: packagex was

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Matthew Dowle
Prof Ripley wrote : That Depends line is about source installs. I can't see that documented in either Writing R Extensions or ?install.packages. Is it somewhere else? I thought Depends applied to binaries from CRAN too, which is the default method on Windows and Mac. Matthew

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Prof Brian Ripley
On 07/06/2012 11:40, Matthew Dowle wrote: Prof Ripley wrote : That Depends line is about source installs. I can't see that documented in either Writing R Extensions or ?install.packages. Is it somewhere else? I thought Depends applied to binaries from CRAN too, which is the default method on

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Matthew Dowle
On 07/06/2012 11:40, Matthew Dowle wrote: Prof Ripley wrote : That Depends line is about source installs. I can't see that documented in either Writing R Extensions or ?install.packages. Is it somewhere else? I thought Depends applied to binaries from CRAN too, which is the default method

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Prof Brian Ripley
On 07/06/2012 12:49, Matthew Dowle wrote: On 07/06/2012 11:40, Matthew Dowle wrote: Prof Ripley wrote : That Depends line is about source installs. I can't see that documented in either Writing R Extensions or ?install.packages. Is it somewhere else? I thought Depends applied to binaries

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Simon Urbanek
On Jun 7, 2012, at 7:49 AM, Matthew Dowle wrote: On 07/06/2012 11:40, Matthew Dowle wrote: Prof Ripley wrote : That Depends line is about source installs. I can't see that documented in either Writing R Extensions or ?install.packages. Is it somewhere else? I thought Depends applied to

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Matthew Dowle
On 07/06/2012 12:49, Matthew Dowle wrote: On 07/06/2012 11:40, Matthew Dowle wrote: Prof Ripley wrote : That Depends line is about source installs. I can't see that documented in either Writing R Extensions or ?install.packages. Is it somewhere else? I thought Depends applied to binaries

[Rd] Lack of -O2 (or -O) gcc compiler flag causes package installation failure

2012-06-07 Thread alexholehouse
Hello all - first time poster long time reader, I'm currently working on a package, and was interested to compare performance with and without gcc/g++ -O based optimization. I can turn the -O flags off with a ~.R/Makevars file, but when I do something odd happens. The package installs fine when

Re: [Rd] Lack of -O2 (or -O) gcc compiler flag causes package installation failure

2012-06-07 Thread Simon Urbanek
On Jun 7, 2012, at 1:32 PM, alexholehouse wrote: Hello all - first time poster long time reader, I'm currently working on a package, and was interested to compare performance with and without gcc/g++ -O based optimization. I can turn the -O flags off with a ~.R/Makevars file, but when I do

Re: [Rd] Lack of -O2 (or -O) gcc compiler flag causes package installation failure

2012-06-07 Thread alexholehouse
Simon Urbanek wrote Is this your real Makevars? That would override all R settings and break a lot of things ... You should not set anything other than PKG_xx flags in Makevars since the regular flags are taken from R. Providing the source of package.tar.gz would give us more insight on

[Rd] x11 icon and class

2012-06-07 Thread Philip Johnson
The X11 device driver does not provide the X window manager with an icon (_NET_WM_ICON) or, under some circumstances, with a class (WM_CLASS). This hinders usability under the new stable version of Ubuntu, which has a (new) user interface centered around icons. I am not sure if this was a

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-07 Thread Matthew Dowle
I built R-trunk (rev 59537), ran 'Rtrunk CMD build data.table', installed the resulting tar.gz into R release and it ran tests ok. So it seems ok now, if that tested it right. Will check R-Forge again when it catches up. Thanks. Matthew On Wed, 2012-06-06 at 22:04 +0200, peter dalgaard wrote: