An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130214/d21aa0ab/attachment.pl>
How to install .tar.gz source package in Windows XP 32-bit operational system
4 messages · Marino David, Ista Zahn, David Winsemius
On Feb 13, 2013, at 9:25 AM, 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)
http://cran.r-project.org/web/packages/adapt/
* 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.
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.
David Winsemius Alameda, CA, USA
On Wed, Feb 13, 2013 at 3:09 PM, David Winsemius <dwinsemius at comcast.net> wrote:
On Feb 13, 2013, at 9:25 AM, 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)
Presumably the OP knew this, since there were able to obtain the package source already. However, reading the README file in the package source is instructive. Pasted here for convenience to the OP: " This code contains an S function and supporting C and Fortran code for adaptive quadrature. The underlyling fortran code is purported to work in from 2 to 20 dimensions. The code is set up to dynamically load from a central library area. If you can not do dynamic loading, you may need to build a staticly loaded version. The adapt S function calls load.if.needed to do the dynamic loading. You will have to change the functions used here (probably to call library.dynam). To install the source, type make in this directory. Move the resulting sadapt.o into (say ~s/library/cmu ). Read the file adapt.SS into S. Two functions (adapt, and load.if.needed) will be created. Move these into ~/library/cmu/.Data. Finally move ./.Data/.Help/adapt into ~s/library/cmu/.Data/.Help/adapt. S code written by Michael Meyer (mikem at andrew.cmu.edu). October, 1989." So this looks really old. If I were the OP I would start looking for another package. Best, Ista
* 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.
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.
David Winsemius Alameda, CA, USA
______________________________________________ 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.
On Feb 13, 2013, at 12:09 PM, David Winsemius wrote:
On Feb 13, 2013, at 9:25 AM, 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)
Try searching MarkMail for: install adapt from sources
David.
>
>
>> * 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.
>>
>> 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.
>
> David Winsemius
> Alameda, CA, USA
>
> ______________________________________________
> 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.
David Winsemius
Alameda, CA, USA