Re: [Rd] R process (and forked children via system2) are limited to 1 core?

2014-08-06 Thread Nathaniel Smith
On Wed, Aug 6, 2014 at 10:31 PM, Tom Kraljevic wrote: > > Hi Nathaniel, > > > > Thanks for the suggestion. > > I’m actually not really using R to do any real work. > I’m starting the R H2O package (a Java machine learning package) and > forwarding all the work to H2O. > > > > This is the list of p

Re: [Rd] R process (and forked children via system2) are limited to 1 core?

2014-08-06 Thread Nathaniel Smith
On Wed, Aug 6, 2014 at 6:01 AM, Tom Kraljevic wrote: > > Hi, > > > (Using R 3.1.1 on Ubuntu 12.04.4 LTS) > > > What is the recommended way for R to fork a (non-R) process that is not CPU > limited? > Currently I am using R's system2() call, and this is inheriting the > environment of the R proce

Re: [Rd] Docker versus Vagrant for reproducability - was: The case for freezing CRAN

2014-03-22 Thread Nathaniel Smith
On 22 Mar 2014 12:38, "Philippe GROSJEAN" wrote: > > On 21 Mar 2014, at 20:21, Gábor Csárdi wrote: > > In my opinion it is somewhat cumbersome to use this for everyday work, > > although good virtualization software definitely helps. > > > > Gabor > > > Additional info: you access R into the VM

Re: [Rd] Rd] Numerics behind splineDesign

2012-08-02 Thread Nathaniel Smith
On Thu, Aug 2, 2012 at 2:09 PM, Terry Therneau wrote: > > > On 08/02/2012 05:00 AM, r-devel-requ...@r-project.org wrote: >> >> Now I just have to grovel over the R code in ns() and bs() to figure >> out how exactly they pick knots and handle boundary conditions, plus >> there is some code that I d

Re: [Rd] Numerics behind splineDesign

2012-08-01 Thread Nathaniel Smith
Thanks everyone for the suggestions. On Wed, Aug 1, 2012 at 2:39 PM, peter dalgaard wrote: > > On Jul 31, 2012, at 15:46 , Bert Gunter wrote: > >> Well, I would first check the references given in the Help file!. >> That's what they're for, no? Hastie's book is likely to more complete >> on the

[Rd] Numerics behind splineDesign

2012-07-31 Thread Nathaniel Smith
Hi all, I find myself needing to be able to reproduce the spline bases that R computes when using ns() and bs() -- but without using R. Before I go diving headfirst into the C code in ./src/library/splines/src/splines.c, are there any simpler references anyone might recommend? I notice that the he