[R-SIG-Mac] Installing packages from .gz files

Walton A. Green walton.green at yale.edu
Tue Dec 12 16:23:32 CET 2006


Tim,

Are you sure it is a binary package? Try a source install (or look in 
the uncompressed version of the package to see whether the gamlss/R/ 
directory is full of R code or has binary files with extensions .rdb and 
.rdx) You might also check permissions to make sure R has admin authority 
to install it system-wide (assuming that's where you want it), e.g. by 
clicking the lock at the top of the R interpreter window and 
authenticating. You definitely want to point at the .tar.gz file, not the 
uncompressed versions and I assume you have gunzip and tar (man gunzip and 
man tar should give you their help pages respectively in a terminal 
window if they are correctly installed). Otherwise I'm not sure what the 
problem is.

Walton

> Date: Mon, 11 Dec 2006 16:23:56 +0000
> From: Tim Cole <tim.cole at ich.ucl.ac.uk>
> Subject: [R-SIG-Mac] Installing packages from .gz files
> To: r-sig-mac at stat.math.ethz.ch
> Cc: Mikis Stasinopoulos <d.stasinopoulos at londonmet.ac.uk>
> Message-ID: <p06240832c1a3319ed171@[192.168.11.3]>
> Content-Type: text/plain; charset=us-ascii; format=flowed

> I've been given an updated version of the gamlss package as a .tar.gz
> file, but I'm struggling to install it with the package installer. I
> specify Local Binary Package at the top, but when I Install and
> select the file I get errors whichever of the three possible files I
> point to - the .tar.gz file or .tar file or the gamlss folder. What
> am I doing wrong?

> The .gz file error is:
> Error in gzfile(file, "r") : unable to open connection
> In addition: Warning message:
> cannot open compressed file 'gamlss_1.4-6.tar.gz/DESCRIPTION'

> Thanks,
> Tim Cole
> -- 
> Tim.Cole at ich.ucl.ac.uk   Phone +44(0)20 7905 2666  Fax +44(0)20 7905 
2381
> Paed Epidemiology & Biostats, Institute of Child Health, London WC1N 
1EH, UK

######################## .signature ########################
# Walton A. Green                    walton.green at yale.edu #
# 139 Caulkinstown Road     P. O. Box 208109, Yale Station #
# Sharon, Connecticut 06069   New Haven, Connecticut 06520 #
# (860) 364-5100                            (203) 640-8122 #
#################### 60 characters wide ####################



More information about the R-SIG-Mac mailing list