[R] saving a matrix
petr.pikal at precheza.cz
Thu May 2 11:30:28 CEST 2013
just before generation of a matrix use set.seed.
Or save this matrix by saveRDS.
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Preetam Pal
> Sent: Thursday, May 02, 2013 9:47 AM
> To: r-help at r-project.org
> Subject: [R] saving a matrix
> Hi all,
> In my data analysis,
> I have created a random matrix M ( of order 500 X 7).
> I want to use the same matrix when I start a new session, or suppose I
> want to send this matrix to one of my friends (because this matrix is
> randomly generated, and I dont want to use any other 500X7 matrix
> randomly generated by R).
> How can I save and call this matrix in the later sessions as well?
> Appreciate your help.
> Preetam Pal
> M-Stat 2nd Year, Room No.
> Statistics Division,
> Indian Statistical Institute, B.H.O.S.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help