[R] Help with installing a .tar.gz package on windows
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Jul 8 10:46:25 CEST 2013
On 08/07/2013 01:15, Lucy Leigh wrote:
> Hi,
> I have a source package that isn't available as a windows zip file. Can
> anyone explain to me how I can install this on my windows R platform?
I am surprised that is all you saw, but running
Rcmd INSTALL PReMiuM_3.0.21.tar.gz
at a shell command line should show you more.
Note that version 3.0.20 does install on Windows: see
http://cran.r-project.org/web/checks/check_results_PReMiuM.html . But
it does need BOOSTLIB set to your local boost installation (and I
suspect you do not have one). The suggests that using the winbuilder
service might well work.
Package-specific questions are best addressed to the maintainer.
> When I use the following code:
> install.packages("PReMiuM_3.0.21.tar.gz", type = "source")
>
>
> I get this error message:
>
>
>
> * installing *source* package 'PReMiuM' ...
> ** libs
>
> *** arch - i386
> ERROR: compilation failed for package 'PReMiuM'
> * removing 'C:/Program Files/R/R-3.0.1/library/PReMiuM'
> Warning messages:
> 1: running command '"C:/PROGRA~1/R/R-30~1.1/bin/x64/R" CMD INSTALL -l
> "C:\Program Files\R\R-3.0.1\library" "PReMiuM_3.0.21.tar.gz"' had status
> 1
> 2: In install.packages("PReMiuM_3.0.21.tar.gz", type = "source") :
> installation of package ‘PReMiuM_3.0.21.tar.gz’ had non-zero exit
> status
>>
>
> Thanks for any help anyone can give me,
> Lucy
>
> ______________________________________________
> 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.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list