[Rd] R with ATLAS avoids Linux cpu affinity

2010-12-06 Thread Chris Jewell
Hi all, I have a problem with cpu affinity in my R-2.11.1 installation compiled against ATLAS running on a Linux (Ubuntu 10.04) cluster under GridEngine. I wish to use Grid Engine's core binding feature to bind user processes into the number of cores they request on the cluster, thus

Re: [Rd] R with ATLAS avoids Linux cpu affinity

2010-12-06 Thread Dirk Eddelbuettel
Chris, On 6 December 2010 at 15:43, Chris Jewell wrote: | Hi all, | | I have a problem with cpu affinity in my R-2.11.1 installation compiled against ATLAS running on a Linux (Ubuntu 10.04) cluster under GridEngine. I wish to use Grid Engine's core binding feature to bind user processes into

Re: [Rd] Competing with one's own work

2010-12-06 Thread Terry Therneau
Ben raised an interesting point: A better question might be how packages get added to the *recommended* package list (rather than how code gets added to base R). As maintainer of survival one of the surprising things is the number of packages that depend on mine. This has caused me to change

[Rd] when to use pairlist instead list

2010-12-06 Thread William Dunlap
I was writing some assertion tests for modelling-related code I had written and was surprised to see one test fail because the specials attribute of the output of terms() is a pairlist instead of a list. In 2.12.0 I get: dput(attr(terms(y~Spec(x1)+x2, specials=c(Spec)), specials)) list(Spec

Re: [Rd] Problem installing RCurl

2010-12-06 Thread Zhang,Jun
Thank you both for your reply. After reading your responses, I removed the existing CSWcurl, and compiled curl-7.21.2 from source using solstudio (the same compiler I got R-2.12.0 in place) to /opt/csw. Tried to install RCurl, I got the same error, the only difference is the include file's line

Re: [Rd] when to use pairlist instead list

2010-12-06 Thread Prof Brian Ripley
On Mon, 6 Dec 2010, William Dunlap wrote: I was writing some assertion tests for modelling-related code I had written and was surprised to see one test fail because the specials attribute of the output of terms() is a pairlist instead of a list. In 2.12.0 I get:

Re: [Rd] R with ATLAS avoids Linux cpu affinity

2010-12-06 Thread Chris Jewell
On 6 Dec 2010, at 16:03, Dirk Eddelbuettel wrote: AFAICT R should not alter CPU affinity. So if I were you I'd swap the BLAS implementation and try again. As you are on Ubuntu, you can try the MKL that comes with the (now a littler older) Revolution R in Ubuntu 9.10; otherwise I can highly

Re: [Rd] Problem installing RCurl

2010-12-06 Thread Zhang,Jun
I tried to give CPPFLAGS the value -D__sparcv9, the compiler complaint about cross compiling. And then I tried CPPFLAGS=-D__sparcv9 -U__sparcv8, export it, installation of curl-7.21.2 is fine, but give me just the 32-bit result. Any hint will be appreciated to buil the 64-bit curl (only then I

Re: [Rd] 0.5 != integrate(dnorm,0,20000) = 0

2010-12-06 Thread Prof Brian Ripley
On Mon, 6 Dec 2010, Spencer Graves wrote: Hello: The example integrate(dnorm,0,2) says it fails on many systems. I just got 0 from it, when I should have gotten either an error or something close to 0.5. I got this with R 2.12.0 under both Windows Vista_x64 and Linux (Fedora 13);