[R] invalid 'row.names' length error when running scatterplots or plot in R Commander

Peter Dalgaard pdalgd at gmail.com
Mon Sep 20 09:20:47 CEST 2010


On 09/20/2010 04:00 AM, Samantha McKenzie wrote:

> The data look fine and correlation/regression can be done on them with
> correct output. Just not scatterplots. 
> 
> I tried a work around using the following script, but still with the
> same result:
> attach(Mass)
> Mass 
> str(Mass)
> names(Mass)
> plot(Calf~Bicep)
> abline(lm(Calf~Bicep))
> 
> I cannot repeat the error, nor have I found much information on that
> error message, and I'm a bit stumped why these two students are getting
> the error even after one has reinstalled the program.

Could you perhaps show us the result of a traceback() when the error
occurs, and also the output of the last set of commands? (And, BTW, does
it also happen without loading Rcmdr?)


-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list