Ronald Wyllys
2015-Apr-04 18:00 UTC
[R] SOLVED: Repeated failures to install "caret" package (of Max Kuhn)
These are notes on what I did to be able to install package "caret". 0. The initial action was to re-install R v. 3.1.3 from this source file: r-base-core_3.1.3-1trusty_amd64.deb (available on CRAN Mirrors). This is the source file for Ubuntu 14.04, known as "trusty", upon which LinuxMint 17.1 is based. (LinuxMint 17.1 is the operating system that I use in my desktop and laptop.) 1. got llapack and lbas (This starting point was suggested in a stackoverflow query: "cannot find -llapack", as answered by janneb. I got to stackoverflow after Uwe Liggis raised [in his response to my post on the R-helper at r-project.org mailing list] the question of whether my R installation was complete. I am also grateful for Sarah Goslee's and John Kane's thought-provoking comments in their responses to my post.) This step required my using the Synaptic Package Manager to install liblapack-dev liblapack3 libopenblas-base libopenblas-dev These four packages together supplied llapack and lbas 2. used the SPM to install r-cran-rcppeigen r-cran-lme4 Note: Steps 1 and 2 together enabled me to use install.packages to install BradleyTerry2. 3. used SPM to install r-cran-car 4. used R's install.packages to install quantreg, nloptr 5. found via the SPM that minqa was already installed as r-cran-minqa 6. used SPM to install r-cran-scales r-cran-reshape2 7. found via the SPM that stringr was already installed as r-cran-stringr 8. Succeeded in using install.packages to install caret I wish to express my sincere gratitude to the people named above who responded to my initial post concerning my failures to install "caret". This experience has taught me some useful things about working with R in Linux: in particular, I learned that one needs to work patiently and perseveringly through the process of figuring out what dependencies are impeding the desired installation and how these dependencies can be found and installed in R or in Linux. Ronald Wyllys
Eshwar
2015-Apr-15 05:10 UTC
[R] SOLVED: Repeated failures to install "caret" package (of Max Kuhn)
Thanks so much. I was struggling to install caret package on my upgraded R. It was failing to compile lme4 and threw up an error about llapack and lbas. I never realized that I needed to install lbas(I already had llapack) through SPM. Once I did that, I could install caret using install.packages as the other depencies were taken care of by R. -- View this message in context: http://r.789695.n4.nabble.com/SOLVED-Repeated-failures-to-install-caret-package-of-Max-Kuhn-tp4705503p4705878.html Sent from the R help mailing list archive at Nabble.com.