
Hi,

 

 

Not an expert in R, but it seems to me the package you want to install is rather specific and do not appear on CRAN list of packages (which usually provides windows binary alongside MacOSX). If it where in the list, you could use the package manager to do the job for you (download & install nicely taking care of dependencies). 

 

Trying with R under windows I have at the office, I dowload the package .zip & use the package manager to install it from local zip file seamlessly (at least it appear in my package list after typing "library()" in my R console window.

 

So I guess this specific .zip you download is a windows binary that cannot (or at least I do not know how and it would probably be too time consuming for you to do it) be used with R under Mac OSX

 

Personally I would:

1. change package if possible

2. If not possible to change package, contact the author to see if you cannot get the package source (the .tar.gz file you mentioned) but you will then need to compile it yourself manually using terminal.app in your Mac OSX to create a Mac OSX binary...praying that using the package that way will not impact the dependencies (but I am probably paranoiak here)...once you have the Mac OS binary I guess the package manager should help to install or simply put it in your library path as suggested earlier...

3. Or use this package under Windows R (e.g. virtual box to install windows OS on your Mac, then R, then the package...but twisted & time-consuming as well)


 

But that is my opinion & as I said I am not expert so I might be wrong there 

 

 

Cheers,

J

 

 
> Date: Tue, 10 Mar 2009 13:57:41 +0000
> From: bouchet.philippe@gmail.com
> To: r-sig-mac@stat.math.ethz.ch
> Subject: [R-SIG-Mac] Install R package on mac
> 
> Hello all,
> I apologize in advance if this question has already been asked but I have
> not been able to find any helpful piece of information on the web regarding
> my problem.
> I need to run a package for wildlife population assessment called WiSP.
> The package is available for download from the web and comes in a .zip
> format.
> Not only does the archive automatically unzips itself after the download but
> I can't seem to grasp how to install such packages using the package
> manager.
> I am usually fairly good with computers, but have to admit that I don't
> understand all the options offered by the package manager.
> >From what I have read online, it seems that I need to convert this windows
> binary package to a universal .tar.gz file, yet all the documentation I
> found is too complicated for me.
> Could anyone explain to me what the simplest way of doing that is or give me
> some hints on how to go about solving this issue ?
> 
> Thanks so much in advance for you help,
> 
> Phil
> 
> [[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_________________________________________________________________

 charlas.

	[[alternative HTML version deleted]]

