Skip to content
Prev 12042 / 63424 Next

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

linuxfavor@sohu.com wrote:

            
*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