[R-sig-ME] Unable to install the package glmmADMB
Ben Bolker
bbolker at gmail.com
Wed Dec 11 17:35:05 CET 2013
On 13-12-11 08:08 AM, Maria Helena Mourino Silva Nunes wrote:
> Dear all,
>
> I've tried to install the package glmmADMB, but it didn't work. I
> followed the installation steps of the web page
> http://glmmadmb.r-forge.r-project.org/, but I've got the messages
> reported below. I might stress that I entered into R ( R version
> 3.0.2) as administrator because I clicked in the option "Run as
> administrator". What can I do to handle this problem?
>
> Thanks in advanced.
>
> Regards, Helena.
>
> 1)
>>
>> install.packages("glmmADMB",
>> repos="http://r-forge.r-project.org",type="source") Installing
>> package into ‘C:/Users/Helena Mouriño/Documents/R/win-library/3.0’
>> (as ‘lib’ is unspecified) Warning message: package ‘glmmADMB’ is
>> not available (for R version 3.0.2)
This is more or less as expected, for now -- I have to do some work to
get glmmADMB building on r-forge ...
>>
>> 2) install.packages("glmmADMB", +
>> repos=c("http://glmmadmb.r-forge.r-project.org/repos",
>> getOption("repos")),type="source") Installing package into
>> ‘C:/Users/Helena Mouriño/Documents/R/win-library/3.0’ (as ‘lib’ is
>> unspecified) also installing the dependency ‘R2admb’
>>
>> trying URL
>> 'http://cran.ma.imperial.ac.uk/src/contrib/R2admb_0.7.10.tar.gz'
>> Content type 'application/x-gzip' length 624522 bytes (609 Kb)
>> opened URL downloaded 609 Kb
>>
>> trying URL
>> 'http://glmmadmb.r-forge.r-project.org/repos/src/contrib/glmmADMB_0.7.7.tar.gz'
>>
>>
>> Content type 'application/x-gzip' length 10358095 bytes (9.9 Mb)
>> opened URL downloaded 9.9 Mb
So far so good.
>>
>> * installing *source* package 'R2admb' ...
>> ** package 'R2admb'
>> successfully unpacked and MD5 sums checked
So far so good.
>> Warning in file(file,
>> ifelse(append, "a", "w")) : cannot open file 'C:/Users/Helena
>> Mouriqo/Documents/R/win-library/3.0/R2admb/DESCRIPTION': No such
>> file or directory Error in file(file, ifelse(append, "a", "w")) :
>> cannot open the connection
>> ERROR: installing package DESCRIPTION
>> failed for package 'R2admb'
This is where things go wrong. It's a bit bizarre that the
error message lists the path as
'C:/Users/Helena Mouriqo/Documents/...'
while elsewhere in the output it's listed as
‘C:/Users/Helena Mouriño/Documents/...'
Based on the error message I'm *guessing* that this is happening in
the read.dcf() function, as called from install.packages(), and that
there's something funny going on with the special character in your file
path getting mangled.
What happens if you just
install.packages("R2admb")
?
Does
install.packages("R2admb",type="source")
give you the same error? What about
install.packages("plotrix",type="source")?
(this is just picking an arbitrary, harmless package to try)
What do you get if you type traceback() after you receive the
error above?
Ben Bolker
>> * removing 'C:/Users/Helena
>> Mouriño/Documents/R/win-library/3.0/R2admb' ERROR: dependency
>> 'R2admb' is not available for package 'glmmADMB' * removing
>> 'C:/Users/Helena Mouriño/Documents/R/win-library/3.0/glmmADMB'
>>
>> The downloaded source packages are in ‘C:\Users\Helena
>> Mouriño\AppData\Local\Temp\RtmpMzOIeU\downloaded_packages’ Warning
>> messages: 1: running command '"C:/PROGRA~1/R/R-30~1.2/bin/x64/R"
>> CMD INSTALL -l "C:\Users\Helena
>> Mouriño\Documents\R\win-library\3.0"
>> C:\Users\HELENA~1\AppData\Local\Temp\RtmpMzOIeU/downloaded_packages/R2admb_0.7.10.tar.gz'
>> had status 1 2: In install.packages("glmmADMB", repos =
>> c("http://glmmadmb.r-forge.r-project.org/repos", : installation of
>> package ‘R2admb’ had non-zero exit status 3: running command
>> '"C:/PROGRA~1/R/R-30~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\Helena
>> Mouriño\Documents\R\win-library\3.0"
>> C:\Users\HELENA~1\AppData\Local\Temp\RtmpMzOIeU/downloaded_packages/glmmADMB_0.7.7.tar.gz'
>> had status 1 4: In install.packages("glmmADMB", repos =
>> c("http://glmmadmb.r-forge.r-project.org/repos", : installation of
>> package ‘glmmADMB’ had non-zero exit status
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
More information about the R-sig-mixed-models
mailing list