[R] How to install .tar.gz source package in Windows XP 32-bit operational system
Uwe Ligges
ligges at statistik.tu-dortmund.de
Sat Feb 23 19:07:45 CET 2013
On 13.02.2013 05:38, Marino David wrote:
> Dear all mailing listers,
>
> I failed in install source packages in Windows system. I have installed
> Rtools in order to install the source package based on the discussion
> available on the following link:
> http://r.789695.n4.nabble.com/Installing-a-Package-tar-gz-in-windows-td3411393.html.
> By the way, only installing the Rtools is ok, isn't it? Do I need to run
> the Rtools?
>
>> install.packages("adapt_1.0-4.tar.gz", type="source", repos=NULL)
> * installing *source* package 'adapt' ...
> ** Creating default NAMESPACE file
> ** libs
> ERROR: compilation failed for package 'adapt'
> * removing 'C:/Program Files/R/R-2.15.2/library/adapt'
> warning£º
> 1: running command'C:/PROGRA~1/R/R-215~1.2/bin/i386/R CMD INSTALL -l
> "C:/Program Files/R/R-2.15.2/library" "adapt_1.0-4.tar.gz"'had
> status 1
>
> 2: In install.packages("adapt_1.0-4.tar.gz", type = "source", repos = NULL)
> :
> installation of package ¡®adapt_1.0-4.tar.gz¡¯had non-zero exit status
>
>
> Any suggestion will be greatly appreciated.
Download the sources and install from the command line, then you will
get sensible output.
In this case, there was probably a reason why adapt has been removed
from CRAN ....
Best,
Uwe Ligges
>
> Kind regards,
>
> David
>
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> 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