[R] Problem Installing a local package in linux

sambit rath kafkasbane at gmail.com
Thu Oct 27 14:56:27 CEST 2011


Dear all,

I am "still" fairly new to R and newer still to linux (opensuse). I
want to install a package called "FEAR" from
"http://www.clemson.edu/economics/faculty/wilson/Software/FEAR/fear-download.html".
 So, I downloaded the tar.gz file called
"FEAR-linux-64bit-2.6.16.60-0.21-smp.tar.gz" and it is in the
directory "/home/sambit/Downloads" right now. Then I invoked R from
terminal and keyed in
> install.packages("/home/sambit/Downloads/FEAR-linux-64bit-2.6.16.60-0.21-smp.tar.gz", repos=NULL)
Installing package(s) into
‘/home/sambit/R/x86_64-unknown-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
* installing *binary* package ‘FEAR’ ...

* DONE (FEAR)

So, I think that the installation was successful. But when I load the package,
> library(FEAR)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object
'/home/sambit/R/x86_64-unknown-linux-gnu-library/2.13/FEAR/libs/FEAR.so':
  libgfortran.so.1: cannot open shared object file: No such file or directory
Error: package/namespace load failed for 'FEAR'

I do not know what to do right now. I would really appreciate it
someone could point out the next step. Thanks in advance.

Sambit



More information about the R-help mailing list