[R] how to convert the lower triangle of a matrix to a symmetricmatrix

marella mbnchakravarthy at gmail.com
Tue Nov 29 11:07:32 CET 2011


I tried "gdata" to convert a (10000x10000) lower triangular matrix to full
matrix and got memory problems. Especially at this step :

upperTriangle(a) <- lowerTrangle(a)

it consumes more than 3 GB . Any ideas on how to create full matrix with
efficient memory management ?

View this message in context: http://r.789695.n4.nabble.com/how-to-convert-the-lower-triangle-of-a-matrix-to-a-symmetric-matrix-tp823271p4118621.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list