The following code
zzz-1:10
dim(zzz)-10
rownames(zzz)
colnames(zzz)
yields NULL for the rownames and colnames calls.
Let us set rownames
rownames(zzz)-1:10
Now rownames(zzz) returns the expected result, but colnames(zzz)
produces an error:
Error in dn[[2]] : subscript out of bounds
So given a
I get
texi2dvi(Sweave-test-1.tex, pdf=TRUE, quiet=FALSE)
This is pdfeTeX, Version 3.141592-1.20a-rc7.2-2.2 (MiKTeX 2.4)
output format initialized to PDF
entering extended mode
(Sweave-test-1.tex
LaTeX2e 2003/12/01
Babel v3.8a and hyphenation patterns for english, french, german,
ngerman,