Skip to content

install R packages--sorry last letter that I sent I had an error, this one is the right one

4 messages · Li, Jia, Martyn Plummer, Uwe Ligges +1 more

#
Dear All,
 
When I tried to install R packages I found this error:
Loading required package: splines
--- Please select a CRAN mirror for use in this session ---
Warning message:
package splines is in use and will not be installed 

But I just opened R, and haven't used anything yet, how come did it say "package splines is in use"?
 
Thanks
 
Jia
#
On Thu, 2005-05-19 at 10:09 -0400, Li, Jia wrote:
This is for your information. It is not an error message and is not
asking you to do anything (i.e. it says "loading" not "please load")
Because it was loaded automatically when you loaded the splines package.
Have a look at the search path with 

search()

You have confused *installing* a package - putting it's files on your
disk - with *loading* it - making it's objects and help pages available
for use in an R session.

Martyn
#
Li, Jia wrote:
library(survival) told you that it loaded the required package 
"splines". So it *is* in use.

Uwe Ligges
#
On Thu, 19 May 2005, Li, Jia wrote:

            
Package survival uses it, and you did use that  ....

Note that package splines is a standard package, part of the 
distribution.  install.packages() will not find it.