[R] ginv / LAPACK-SVD causes R to segfault on a large matrix.

David Winsemius dwinsemius at comcast.net
Mon Jan 14 20:25:39 CET 2013


On Jan 14, 2013, at 9:07 AM, Cyrus Shaoul wrote:

> No, Mehmet, I haven't tried that yet. I was hoping to find out if there was
> some other option. I have no experience using LAPACK directly. I have
> looked into RcppEigen and RcppArmadillo, but have not tested them yet.
> 
> If there are no other options, I guess I will go down that path.

I tried it on a 64 bit R with 32GB of RAM. It exhausted those resources and started paging out into virtual memory. No error, but I killed the process.

-- 
David.

> 
> Thanks a lot,
> 
> Cyrus
> 
> 
> On Mon, Jan 14, 2013 at 4:17 PM, Suzen, Mehmet <msuzen at gmail.com> wrote:
> 
>> On 14 January 2013 15:08, Cyrus Shaoul <cyrus.shaoul at uni-tuebingen.de>
>> wrote:
>>> La.svd
>> 
>> Dear Cyrus,
>> 
>> Have you tried running La.svd ; LAPACK only version (without R) via
>> C/C++ or Fortran code? After all it can be a
>> LAPACK issue and R-team has no control on that.
> 


David Winsemius
Alameda, CA, USA



More information about the R-help mailing list