D Sonderegger wrote:
> What I was expecting was for the second dump was:
> foo <- 
> structure(c(1,2,3,4,5,6), .Dim = c(2L, 3L)) 
> 
> That is, I was expecting dump to expand the 1:6 and 2:3 into the actual
> vectors. 

Well,

> dput(c(1,2,3))
c(1, 2, 3)
> dput(c(1L,2L,3L))
1:3

And dump() does likewise.


-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@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.

Reply via email to