Try installing from somewhere outside of RStudio or reboot and retry in RStudio. I find that if RStudio is open for a long time I occasionally get some weird (buggy?) results but I cannot reproduce to send in an bug report.
Load R and from the command line or Windows RGui try installing. As a test I just installed it successully with the command "install.packages("caret")" executed in R (using gedit with its R-plug-in) and running Ubuntu 14.04 For future reference: Reproducibility https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -----Original Message----- > From: wyl...@ischool.utexas.edu > Sent: Fri, 03 Apr 2015 16:07:57 -0500 > To: r-help@r-project.org > Subject: [R] Repeated failures to install "caret" package (of Max Kuhn) > > For an edx course, MIT's "The Analtics Edge", I need to install the > "caret" package that was originated and is maintained by Dr. Max Kuhn of > Pfizer. So far, every effort I've made to try to > install.packages("caret") has failed. (I'm using R v. 3.1.3 and RStudio > v. 0.98.1103 in LinuxMint 17.1) > > Here are some of the things I've tried unsuccessfully: > install.packages("caret", repos=c("http://rstudio.org/_packages", > "http://cran.rstudio.com")) > install.packages("caret", dependencies=TRUE) > install.packages("caret", repos=c("http://rstudio.org/_packages", > "http://cran.rstudio.com"), dependencies=TRUE) > install.packages("caret", dependencies = c("Depends", "Suggests")) > install.packages("caret", repos="http://cran.rstudio.com/") > > I've changed my CRAN mirror from UCLA to Revolution Analytics in Dallas, > and tried the above installs again, unsuccessfully. > > I've succeeded in individually installing a number of packages on which > "caret" appears to be dependent. Specifically, I've been able to > install "nloptr", "minqa", "Rcpp", "reshape2", "stringr", and > "scales". But I've had no success with trying to do individual installs > of "BradleyTerry2", "car", "lme4", "quantreg", and "RcppEigen". > > Any suggestions will be very gratefully received (and tried out quickly). > > Thanks in advance. > > Ron Wyllys > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.