[ESS] Unable to load library (package)
Aric Gregson
aorchid at mac.com
Fri Jun 24 18:38:37 CEST 2005
--On 6/24/05 4:35 AM +0200 Kasper Daniel Hansen sent:
> My guess is that it is a path issue, that your path is not the same
> in the two instances.
>
> Could you do a
> R> .libPaths()
> on the two platforms. You will probably see that they differ and that
> you need to add something to the ESS process. The easiest way to do
> this (there are probably others), is to create a file
> ~/.Renviron
> containing the line
> R_LIBS=/Users/kdh/Rlib
> with the /Usres/kdh/Rlib being exchanged with something appropriate.
> If you need several directories, use : to separate them.
I've created the file ~/.Renviron and placed the two directories that
came up in R Aqua. However, ESS still returns the same error. Do I need
to tell ESS to use the file ~/.Renviron somehow?
thanks,
aric
>
> On Thu, 23 Jun 2005, Aric Gregson wrote:
>
>> Update (related??)
>>
>> I see now that I have the following message in Emacs:
>>
>> Proc Status Buffer Tty Command
>> R run *R* /dev/ttyp2 R --no-readline
>>
>> ===========================================================
>> ess-help,
>>
>> I have searched the archives, but did not find anything specific.
>>
>> I get the following error after ESS starts without problems or
>> errors:
>> > library(Design)
>> Error in library(Design) : there is no package called 'Design'
>>
>> This after I just did rebuild the package from local source. It works
>> fine in R Aqua. There are other packages that I cannot load as well.
>> I have the packages installed in /Library/...., not in the local
>> userland.
>>
>> I am running OS X 10.3.9, ESS 5.2.8, R version 2.1.0 and Carbon
>> GnuEmacs of April 2005.
>>
>> Any suggestions? It is working fine on another mac with same
>> configuration (at least I thought the same configuration).
>>
>> thanks,
>>
>> aric
>>
>> ______________________________________________
>> ESS-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
More information about the ESS-help
mailing list