For reasons best known only to myself ( :-) ) I wish to create a data
frame with 0 rows and 9 columns.

The best I've been able to come up with is:

        junk <- as.data.frame(matrix(0,nrow=0,ncol=9))

Is there a sexier way?

        cheers,

                Rolf

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
[email protected] 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