[R] R segfaulting with glmnet on some data, not other

Gad Abraham gabraham at csse.unimelb.edu.au
Wed Apr 8 04:26:26 CEST 2009


Kamalic Dan wrote:
> Hello R-help list,
> 
> 
> I have a piece of code written by a grad student here at BU which will segfault when using one data set, but complete just fine using another.  Both sets are just text files full of real numbers.
> 
> It seems like a bug within R.  It could be a bug within her data, but
> again, her data is just a bunch of floats, so her data could be
> triggering a bug within R.  I have tried this with two different rpm packages of R for Linux (R-2.8.0-1.rh5 and R-2.8.1-1.rh5) as well as a fresh build that I just did of the prerelease R-beta_2009-04-02_r48271.tar.gz
> I have also tried installing the absolute newest versions of  glmnet_1.1-3.tar.gz and Matrix_0.999375-23.tar.gz.  In all cases, the exact same error occurs.
> 
> Can anyone try this and let me know what they think is happening?  Thanks!

 From your traceback it seems it's not a bug in R itself, but in the 
package glmnet.

It's probably best to chase it up with the package authors since glmnet 
is not a base R package.

-- 
Gad Abraham
MEng Student, Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabraham at csse.unimelb.edu.au
web: http://www.csse.unimelb.edu.au/~gabraham




More information about the R-help mailing list