[R] Matrix Multiplication using R.

Doran, Harold HDoran at air.org
Wed Aug 14 21:26:26 CEST 2013


Do your matrices have any special properties we should know about? For example, are they sparse, symmetric, diagonal, etc?

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Praveen Surendran
Sent: Wednesday, August 14, 2013 11:41 AM
To: r-help at r-project.org
Subject: [R] Matrix Multiplication using R.

Dear all,

I am exploring ways to perform multiplication of a 90000 x 40000 matrix with it's transpose.
As expected even a 40000 x 100 %*% 100x40000 didn't work on my desktop... giving the error "Error: cannot allocate vector of length 1600000000"

However I am trying to run this on one node (64GB RAM; 2.60 GHz processor) of a high performance computing cluster.
Appreciate if anyone has any comments on whether it's advisable to perform a matrix multiplication of this size using R and also on any better ways to handle this task.

Kind Regards,

Praveen.


	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list