[R-SIG-Mac] loading libraries from the command line

Christopher Fonnesbeck chris at fonnesbeck.org
Sat Mar 20 18:14:30 CET 2004


Thanks for the prompt reply:

On Mar 20, 2004, at 12:05 PM, Jan de Leeuw wrote:

> Should work fine. What happens if you start R by using
>
> /Library/Frameworks/R.framework/Resources/bin/R
>
> from the command line ?

Goldeneye:/usr/local/src chris$ 
/Library/Frameworks/R.framework/Resources/bin/R

R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.0 alpha (2004-03-07), ISBN 3-900051-00-3

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

 > library(GRASS)
Error in library(GRASS) : There is no package called 'GRASS'
 >

Loading the GRASS library from the Aqua GUI works fine however.

> What does "which R" say ?

Goldeneye:/usr/local/src chris$ which R
/usr/local/bin/R

and then:

Goldeneye:/usr/local/src chris$ ls -al /usr/local/bin/R
lrwxr-xr-x  1 chris  unknown  47  6 Mar 10:43 /usr/local/bin/R -> 
/Library/Frameworks/R.framework/Resources/bin/R

> Also, is this 1.8.1 or 1.9.0 alpha (I think the older one still
> installs in /Library/R).

1.9.0

Thanks,
C
--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

"I think we all agree, the past is over." -- George W. Bush



More information about the R-SIG-Mac mailing list