-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
Of David Winsemius
Sent: Wednesday, July 10, 2013 5:22 PM
To: Lucy Leigh
Cc: r-help at r-project.org
Subject: Re: [R] Help with installing a .tar.gz package on windows
On Jul 10, 2013, at 4:37 PM, Lucy Leigh wrote:
Hi,
I have had a look at the manual but it makes no sense to me. I have
downloaded RTools, and the InnoSetup,
but I don't understand how to use these to install my package? Am I
meant to be writing commands
in R itself, or in these other things I've downloaded?
Since you are clearly out of your league with respect to compiling from source, now is
the time to ask (again), why are you not installing the binary package?
At the R command line just type:
install.packages("PReMiuM") # should default to type="win.binary" and use a CRAN
mirror
--
David
Erin Hodgess <erinm.hodgess at gmail.com> 9/07/2013 5:30 pm >>>
Hi Lucy:
Did you look at the R Installation and Administration manuals? There's
a
good section about installing on Windows via Rtools.
On Mon, Jul 8, 2013 at 10:18 PM, Lucy Leigh
<Lucy.Leigh at newcastle.edu.au>wrote:
Great thank you - are there any resources that step through how to
RTools to compile the
source package and install it in R on (64-bit windows) ?
Berend Hasselman <bhh at xs4all.nl> 8/07/2013 6:38 pm >>>
On 08-07-2013, at 02:15, "Lucy Leigh" <Lucy.Leigh at newcastle.edu.au>
wrote:
Hi,
I have a source package that isn't available as a windows zip
anyone explain to me how I can install this on my windows R
When I use the following code:
install.packages("PReMiuM_3.0.21.tar.gz", type = "source")
Where did you get that version from?
CRAN has version 3.0.20 and that is available as a binary Windows
package (.zip).
As for the error message: you have to have Rtools installed to
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
"C:\Program Files\R\R-3.0.1\library" "PReMiuM_3.0.21.tar.gz"' had
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
Thanks for any help anyone can give me,
Lucy
______
David Winsemius
Alameda, CA, USA