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

From: Gabor Csardi <csardi_at_rmki.kfki.hu>
Date: Mon, 21 Apr 2008 15:01:31 +0200

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".

G.

> --
> 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

______________________________________________
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.
Received on Mon 21 Apr 2008 - 13:11:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Apr 2008 - 13:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive