From ligges at statistik.uni-dortmund.de  Sat Mar  6 15:15:25 2004
From: ligges at statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Sat Mar  6 15:15:34 2004
Subject: [Rd] as.matrix(1:10,nrow=1) not work (PR#6650)
Message-ID: <20040306141525.7EA69EFC4@slim.kubism.ku.dk>

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


[Rd] as.matrix(1:10,nrow=1) not work (PR#6650)
ligges@statistik.uni-dortmund.de