[R-SIG-Mac] installation of source library with fortran code
ellis at stat.harvard.edu
Mon Nov 15 11:57:46 CET 2004
Could you post a transcript of what you're trying to do? In general OS
X's behavior is much closer to UNIX/Linux than WinXP (especially when
it comes to the command-line utilities).
In general, assuming you have an R package downloaded called
"package_1_0_0.tar.gz" on your desktop you would execute the following
from a Terminal window:
# cd ~/Desktop
# R CMD INSTALL package_1_0_0.tar.gz
The caps are very important (there is actually a system utility called
'install') and you shouldn't actually have to unpack anything.
If you're attempting to install a FORTRAN-based package you will need
to install g77 from hpc.sourceforge.net as it is not included in
Apple's Developer's Tools (for some unfathomable reason. Dear Apple,
please ship g77 with Tiger). The appropriate version number is in the
FAQ and the installation instructions for g77 are available on its
On Nov 15, 2004, at 2:47 AM, Andreas Quandt wrote:
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> Received-SPF: none (hypatia: domain of a.quandt at web.de does not
> designate permitted sender hosts)
> X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
> X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on
> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_20 autolearn=no
> dear list,
> i changed my os from win xp to mac os x (10.3) and upgraded R to
> Version R-2.0.0. now i would like to install a source package which
> contains fortran code. unfortunately it seems to that the way to
> compile it is not the same as under windows. under windows i used the
> special folder "src" and the command R CMD INSTALL ...
> but no it doesn't work under mac. first: if i am not wrong there is no
> src folder and if i try to use R CMD INSTALL then i get this message:
> (andqua at g4an:Scource)R CMD INSTALL Test -l
> * Installing *binary* package 'rsmooth' ...
> * DONE (Test)
> which is wrong because it is no binary. furthernore the package
> manager tells me there is no package called Test. if i try to install
> this package with the package installer then i get following error
> gzip: /Users/andqua/Documents/Rlibrary/Scource/Test.zip has more than
> one entry--rest ignored
> ERROR: cannot extract package from
> npackage installation failed
> i will be very happy if somebody can tell me what i am doing wrong or
> give me some sources to read in the internet because i do not found
> any hints in the R FAQ for mac os x and the faq for building packages
> in R.
> thanks in advance
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian
More information about the R-SIG-Mac