[R] How to insert a vector or matrix into an existing matrix

Gabor Csardi csardi at rmki.kfki.hu
Mon Apr 21 15:01:31 CEST 2008

On Mon, Apr 21, 2008 at 12:50:08PM +0000, David Winsemius wrote:
> Am I correct in assuming that after the creation of m by way of a 
> temporary matrix that the temporary matrix would then be available for 
> garbage collection, whereas if both m and m2 were created, there would 
> be more memory occupied by the two objects?

Of course, yes. We just had a different interpretation about 
"without a temporary matrix".


> -- 
> David Winsemius
> ______________________________________________
> 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.

Csardi Gabor <csardi at rmki.kfki.hu>    UNIL DGM

More information about the R-help mailing list