[Rd] as.matrix(1:10,nrow=1) not work (PR#6650)

ligges at statistik.uni-dortmund.de ligges at statistik.uni-dortmund.de
Sat Mar 6 15:15:25 MET 2004

linuxfavor at sohu.com wrote:

> Full_Name: Xiong Guanglei
> Version: 1.8.1
> OS: Linux
> Submission from: (NULL) (
> Error in as.matrix(1:10, nrow = 1) : unused argument(s) (nrow ...)

*Please*, don't send bug reports if you are using code erroneously!
Please ask on r-help instead!

as.matrix() does except exactly one argument, an object to be coerced to 
a matrix. That is documented! You are looking for  matrix() (without the 

Uwe Ligges

More information about the R-devel mailing list