as.matrix(1:10,nrow=1) not work (PR#6650)
linuxfavor@sohu.com wrote:
Full_Name: Xiong Guanglei Version: 1.8.1 OS: Linux Submission from: (NULL) (202.38.103.50)
as.matrix(1:10,nrow=1)
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 "as.")! Uwe Ligges