[R] Installing binaries from R-Forge
Downey, Patrick
PDowney at urban.org
Wed Nov 9 15:37:30 CET 2011
I'm sorry. I made a mistake. I accidentally had 2 versions of R open and
got that error message from R-2.10. When I correctly enter the commands you
suggest into R-2.14 I get the same as you.
However, my installation is filled with errors. I assume the following
means that I should install each of these packages prior to trying to
install splm from source. Is that correct?
Warning: dependencies 'spam', 'ibdreg', 'lmtest', 'deldir', 'coda',
'sandwich' are not available
also installing the dependencies 'maptools', 'spdep', 'plm', 'bdsmatrix'
trying URL
'http://R-Forge.R-project.org/src/contrib/maptools_0.8-10.tar.gz'
Content type 'application/x-gzip' length 813096 bytes (794 Kb)
opened URL
downloaded 794 Kb
trying URL 'http://R-Forge.R-project.org/src/contrib/spdep_0.5-41.tar.gz'
Content type 'application/x-gzip' length 1993974 bytes (1.9 Mb)
opened URL
downloaded 1.9 Mb
trying URL 'http://R-Forge.R-project.org/src/contrib/plm_1.2-7.tar.gz'
Content type 'application/x-gzip' length 1084173 bytes (1.0 Mb)
opened URL
downloaded 1.0 Mb
trying URL 'http://R-Forge.R-project.org/src/contrib/bdsmatrix_1.1.tar.gz'
Content type 'application/x-gzip' length 49623 bytes (48 Kb)
opened URL
downloaded 48 Kb
trying URL 'http://R-Forge.R-project.org/src/contrib/splm_0.9-05.tar.gz'
Content type 'application/x-gzip' length 52479 bytes (51 Kb)
opened URL
downloaded 51 Kb
* installing *source* package 'maptools' ...
** libs
ERROR: compilation failed for package 'maptools'
* removing 'D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library/maptools'
* installing *source* package 'bdsmatrix' ...
** libs
ERROR: compilation failed for package 'bdsmatrix'
* removing 'D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library/bdsmatrix'
ERROR: dependencies 'maptools', 'deldir', 'coda' are not available for
package 'spdep'
* removing 'D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library/spdep'
ERROR: dependencies 'bdsmatrix', 'sandwich' are not available for package
'plm'
* removing 'D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library/plm'
ERROR: dependencies 'spdep', 'plm', 'bdsmatrix', 'spam', 'ibdreg', 'lmtest'
are not available for package 'splm'
* removing 'D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library/splm'
The downloaded packages are in
'D:\Documents and Settings\pdowney\Local
Settings\Temp\RtmpioblL6\downloaded_packages'
Warning messages:
1: running command 'D:/DOCUME~1/pdowney/MYDOCU~1/R/R-214~1.0/bin/i386/R CMD
INSTALL -l "D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library"
D:\DOCUME~1\pdowney\LOCALS~1\Temp\RtmpioblL6/downloaded_packages/maptools_0
.8-10.tar.gz' had status 1
2: In install.packages("splm", repos = "http://R-Forge.R-project.org", :
installation of package 'maptools' had non-zero exit status
3: running command 'D:/DOCUME~1/pdowney/MYDOCU~1/R/R-214~1.0/bin/i386/R CMD
INSTALL -l "D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library"
D:\DOCUME~1\pdowney\LOCALS~1\Temp\RtmpioblL6/downloaded_packages/bdsmatrix_
1.1.tar.gz' had status 1
4: In install.packages("splm", repos = "http://R-Forge.R-project.org", :
installation of package 'bdsmatrix' had non-zero exit status
5: running command 'D:/DOCUME~1/pdowney/MYDOCU~1/R/R-214~1.0/bin/i386/R CMD
INSTALL -l "D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library"
D:\DOCUME~1\pdowney\LOCALS~1\Temp\RtmpioblL6/downloaded_packages/spdep_0.5-
41.tar.gz' had status 1
6: In install.packages("splm", repos = "http://R-Forge.R-project.org", :
installation of package 'spdep' had non-zero exit status
7: running command 'D:/DOCUME~1/pdowney/MYDOCU~1/R/R-214~1.0/bin/i386/R CMD
INSTALL -l "D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library"
D:\DOCUME~1\pdowney\LOCALS~1\Temp\RtmpioblL6/downloaded_packages/plm_1.2-7.
tar.gz' had status 1
8: In install.packages("splm", repos = "http://R-Forge.R-project.org", :
installation of package 'plm' had non-zero exit status
9: running command 'D:/DOCUME~1/pdowney/MYDOCU~1/R/R-214~1.0/bin/i386/R CMD
INSTALL -l "D:/Documents and Settings/pdowney/My
Documents/R/R-2.14.0/library"
D:\DOCUME~1\pdowney\LOCALS~1\Temp\RtmpioblL6/downloaded_packages/splm_0.9-0
5.tar.gz' had status 1
10: In install.packages("splm", repos = "http://R-Forge.R-project.org", :
installation of package 'splm' had non-zero exit status
-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de]
Sent: Wednesday, November 09, 2011 9:24 AM
To: Downey, Patrick
Cc: r-help at r-project.org
Subject: Re: [R] Installing binaries from R-Forge
On 09.11.2011 15:15, Downey, Patrick wrote:
> Hi Uwe,
>
> Thanks for your response. I tried your suggestion and got the
> following error message:
>> install.packages("splm",
> repos="http://R-Forge.R-project.org",type="source")
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
> package 'splm' is not available
>
> I have downloaded the "Package source (.tar.gz)" at the link below,
> and it is not an empty file. Not sure what this problem means or what
> I can do about it.
I got
trying URL 'http://R-Forge.R-project.org/src/contrib/splm_0.9-05.tar.gz'
Content type 'application/x-gzip' length 52479 bytes (51 Kb) opened URL
downloaded 51 Kb
* installing *source* package 'splm' ...
.....
Can you install packages from CRAN?
Uwe Ligges
> Thanks,
> Mitch
>
> -----Original Message-----
> From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de]
> Sent: Wednesday, November 09, 2011 9:10 AM
> To: Downey, Patrick
> Cc: r-help at r-project.org
> Subject: Re: [R] Installing binaries from R-Forge
>
> The Windows binary seems not to be there. Since this is a development
> platform and there may be various reasons a binary does currently not
> exist, you could install the package from source, just add the
> argument type="source" in your call to install.packages().
>
> How to prepare your environment to allow to install source packages is
> described in the R Installation and Administration manual.
>
> Uwe Ligges
>
>
>
>
> On 09.11.2011 13:39, Downey, Patrick wrote:
>> Hello,
>>
>> I'm attempting to install the splm package from R-Forge.
>>
>> https://r-forge.r-project.org/R/?group_id=352
>>
>> The page says, "In order to successfully install the packages
>> provided on R-Forge, you have to switch to the most recent version of
>> R..." It later says "To install this package directly within R type:
>> install.packages("splm", repos="http://R-Forge.R-project.org")".
>>
>> I just installed R-2.14 and I still get the following error message.
>>
>> Warning message:
>> In getDependencies(pkgs, dependencies, available, lib) :
>> package 'splm' is not available (for R version 2.14.0)
>>
>> Can someone please help? I understand that there is relevant
>> information in the posting guide, but I'm not a programmer and it's
>> difficult for me to understand. I thought I've followed the advice
>> from previous posts (notably, upgrade).
>>
>> Thank you,
>> Mitch
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> 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.
More information about the R-help
mailing list