Re: [Rd] blas test problem

2014-07-09 Thread Prof Brian Ripley
On 09/07/2014 17:17, lejeczek wrote: I wonder if anyone amongst developers had a chance to try ACML. Yes, and documented its use in the R manual over many years. AMD's implementation when R is supposed to use it seems to fail the test similarly, Please do read the manual for yourself (see t

[Rd] [patch] Rscript off-by-one error in output

2014-07-09 Thread Scott Kostyshak
Rscript eats up the last argument when reporting the command it runs: $ Rscript --verbose "/tmp/test.R" one two three running '/usr/local/lib/R-devel/lib/R/bin/R --slave --no-restore --file=/tmp/test.R --args one two' With the patch below, I get the following: $ Rscript --verbose "/tmp/test.R"

Re: [Rd] arguments to .Call(), .External should be read-only?

2014-07-09 Thread Radford Neal
> hi. if i'm reading correctly, "Writing R Extensions" appears to be > inconsistent on the question of whether the arguments passed to a > routine called via .Call() or .External() should considered read-only. There are two situations to consider. 1) You want to modify the arguments as a conve

Re: [Rd] blas test problem

2014-07-09 Thread lejeczek
I wonder if anyone amongst developers had a chance to try ACML. AMD's implementation when R is supposed to use it seems to fail the test similarly, on a side note, I had R build with ACML and performance-wise it looked really really promising, however now http://r.research.att.com/benchmarks/

Re: [Rd] Depot for S3 to S4 generics (as in stats4)?

2014-07-09 Thread Michael Lawrence
You might be interested in the BiocGenerics package from Bioconductor. It defines a bunch of "base" generics, as well as some that are specific to Bioc needs. Being Bioc-oriented, it's not really meant to be a base4, but it comes reasonably close, and it could serve as a jumping off point for a bas