Skip to content

Windows 7 installation of .qz package from SourceForge

3 messages · Prew, Paul, Duncan Murdoch

#
On 12-02-01 12:07 PM, Prew, Paul wrote:
tar.gz files are source packages.  .zip is a binary image of an 
installed package.

To install a tar.gz, you can't use the menu items.  If you have the 
necessary tools set up properly, it should work to do

install.packages(".../path/to/metRology_0.9-06.tar.gz", type="source", 
repos=NULL)

from within R.

If that fails (as it likely will if the package has C or Fortran code 
and you haven't installed the right compilers), you need to get the R 
tools from <CRAN mirror>/bin/windows/Rtools.

You can also install from outside R using "R CMD INSTALL 
.../path/to/metRology_0.9-06.tar.gz".

Duncan Murdoch
#
Thank you Duncan,  the 2nd instructions worked. The both probably would have worked, but I had some code (below) that threw an error.  It's designed to automatically set the internet connection to my Windows setting, so R would know the proxy server used at my worksite.  I had seen this suggestion in the archives of R-Help.  However, this code in the R-2.14.0/etc./Rprofile.site file wasn't being recognized as a valid command, so I commented it out (the code works fine when I run it in the RGUI).  Thanks again, Paul

# use the proxy settings for Windows/IE:
setInternet2(TRUE)

Paul Prew  |  Statistician
651-795-5942?? |?? fax 651-204-7504 
Ecolab Research Center  | Mail Stop ESC-F4412-A 
655 Lone Oak Drive  |  Eagan, MN 55121-1560 

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Sent: Wednesday, February 01, 2012 11:48 AM
To: Prew, Paul
Cc: r-help at r-project.org
Subject: Re: [R] Windows 7 installation of .qz package from SourceForge
On 12-02-01 12:07 PM, Prew, Paul wrote:
tar.gz files are source packages.  .zip is a binary image of an 
installed package.

To install a tar.gz, you can't use the menu items.  If you have the 
necessary tools set up properly, it should work to do

install.packages(".../path/to/metRology_0.9-06.tar.gz", type="source", 
repos=NULL)

from within R.

If that fails (as it likely will if the package has C or Fortran code 
and you haven't installed the right compilers), you need to get the R 
tools from <CRAN mirror>/bin/windows/Rtools.

You can also install from outside R using "R CMD INSTALL 
.../path/to/metRology_0.9-06.tar.gz".

Duncan Murdoch
CONFIDENTIALITY NOTICE: =\ \ This e-mail communication a...{{dropped:12}}