[R] Error message when trying to install Rcmdr

2010-04-17 Thread thedoctor81877
I am trying to install Rcmdr on my ubuntu machine, but keep getting the following error messages: ERROR: failed to lock directory ‘/home/thedoctor/R/i486-pc-linux-gnu-library/2.10’ for modifying Try removing ‘/home/thedoctor/R/i486-pc-linux-gnu-library/2.10/00LOCK’ ERROR: failed to lock directory

[R] Error in leaps.setup

2010-04-07 Thread thedoctor81877
Hullo, I am trying to use the leaps package, & keep getting the following error: Error in leaps.setup(x, y, wt = wt, nbest = nbest, nvmax = NCOL(x) + int, : y and x different lengths My data set is attached below. I am rather new to R, & would appreciate any help that could be given. Thanks

[R] Graphing a piece-wise defined function

2010-03-08 Thread thedoctor81877
Hello. I am new to R, and am typing some homework for my undergrad Analysis class. I am trying to graph the following function in R: f(x) = x^2 for x >=0, and f(x) = 0 for x <0. How do I do this in R? Thanks for the help. -- View this message in context: http://n4.nabble.com/Graphing-a-piece-wi