Ronald Wyllys
2015-Apr-03 21:07 UTC
[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
Sarah Goslee
2015-Apr-03 21:14 UTC
[R] Repeated failures to install "caret" package (of Max Kuhn)
Hi Ron, Without knowing more it's really hard to help. What error messages are you getting? "failed" and "no success" are utterly uninformative - there are many things that could be wrong. The first thing, though, is always to check whether you have the necessary dependencies installed, eg devel libraries. Sarah On Fri, Apr 3, 2015 at 5:07 PM, Ronald Wyllys <wyllys at ischool.utexas.edu> wrote:> 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 >-- Sarah Goslee http://www.functionaldiversity.org
Uwe Ligges
2015-Apr-03 21:15 UTC
[R] Repeated failures to install "caret" package (of Max Kuhn)
What is the error message? Best, Uwe Ligges On 03.04.2015 23:07, Ronald Wyllys wrote:> 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 at 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.
John Kane
2015-Apr-04 15:11 UTC
[R] Repeated failures to install "caret" package (of Max Kuhn)
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: wyllys at ischool.utexas.edu > Sent: Fri, 03 Apr 2015 16:07:57 -0500 > To: r-help at 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 at 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!
Max Kuhn
2015-Apr-04 17:56 UTC
[R] Repeated failures to install "caret" package (of Max Kuhn)
I thought that this might be relevant: https://stackoverflow.com/questions/28985759/cant-install-the-caret-package-in-r-in-my-linux-machine but it seems that you installed nloptr. I would also suggest doing the install in base R and trying a different mirror. I would avoid installing via RStudio unless you have just started a new R session. On Sat, Apr 4, 2015 at 11:11 AM, John Kane <jrkrideau at inbox.com> wrote:> 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: wyllys at ischool.utexas.edu > > Sent: Fri, 03 Apr 2015 16:07:57 -0500 > > To: r-help at 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 at 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 at 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. >[[alternative HTML version deleted]]