[R] taskPR

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Apr 12 10:46:34 CEST 2007


It would have been helpful to have given the details the R posting guide 
asks for, such as your OS.

That message probably does not mean that 
/home/bw135690/R-2.4.1/library/taskPR/libs/taskPR.so does not exist.
It says 'cannot open shared object file', and this can have many causes. 
One is that there are dependent shared objects which are missing, so start 
from

R CMD ldd /home/bw135690/R-2.4.1/library/taskPR/libs/taskPR.so

and see if all are resolved.

As far as I am aware package taskPR is based on private entry points in a 
version of R from long ago (it includes a copy of the private header file 
Defn.h from 2005) and is not really tested on CRAN (it uses 
--install=fake).


On Thu, 12 Apr 2007, Benno Willemsen wrote:

> Hello
>
> I tried to load the taskPR-package in R, but it doesn't work at all.
> Everytime I try /library("taskPR")/, I get the error-message:
>
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>       unable to load shared library
> '/home/bw135690/R-2.4.1/library/taskPR/libs/taskPR.so':
> /home/bw135690/R-2.4.1/library/taskPR/libs/taskPR.so: cannot open
> shared object file: No such file or directory
> Error in library(taskPR) : .First.lib failed for 'taskPR'
> Error in library.dynam.unload("taskPR", libpath) :
>       shared library 'taskPR' was not loaded
>
> But the problem is, that the file
> /home/bw135690/R-2.4.1/library/taskPR/libs/taskPR.so exists.
> Furthermore the /library()/-Method shows, that the package is fully
> installed.
> Can anyone tell me, what is wrong in the dyn.load-function and how to
> correct my installation
>
> thanks
> Benno Willemsen
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list