EDIT :
Many thanks to user20650, whose answer solved this problem. But if anyone knows why the .Rprofile
file affects lme4
install on Ubuntu 12.04, please advise because I'd really like to know.
Original post :
I'm attempting to install the doBy
package and am having some issues. It depends on lme4
, which for some reason is not compiling from any source I've tried so far. I've been to a few links on SO including this one and haven't had any success.
Here are snippets of the errors I'm getting on install. I tried it three different ways, as noted below. Anyone know if something's up with lme4
?
Attempt 1:
> install.packages('doBy')
# ...
# ERROR: compilation failed for package ‘lme4’
# * removing ‘/home/richard/R/x86_64-pc-linux-gnu-library/3.1/lme4’
# Warning in install.packages :
# installation of package ‘lme4’ had non-zero exit status
#
# Successfully loaded .Rprofile at Wed May 21 13:33:34 2014
# ERROR: dependency ‘lme4’ is not available for package ‘doBy’
# * removing ‘/home/richard/R/x86_64-pc-linux-gnu-library/3.1/doBy’
# Warning in install.packages :
# installation of package ‘doBy’ had non-zero exit status
Attempt 2:
> install.packages("lme4",repos = "http://r-forge.r-project.org")
# Installing package into ‘/home/richard/R/x86_64-pc-linux-gnu-library/3.1’
# (as ‘lib’ is unspecified)
# Warning in install.packages :
# package ‘lme4’ is not available (for R version 3.1.0)
Attempt 3:
> install_github(repo = 'lme4/lme4', username = 'stevencarlislewalker')
Running Ubuntu 12.04 LTS
> version
# _
# platform x86_64-pc-linux-gnu
# arch x86_64
# os linux-gnu
# system x86_64, linux-gnu
# status
# major 3
# minor 1.0
# year 2014
# month 04
# day 10
# svn rev 65387
# language R
# version.string R version 3.1.0 (2014-04-10)
# nickname Spring Dance