Hi all,
 
I've been trying to install the "mvtnorm" package (in a Linux R version) without sucess. I write
 
install.packages("mvtnorm",lib="/home/posmae/cnaber",repos="http://cran.uk.r-project.org/")


and the following message arises
 
 
==================================================
downloaded 160Kb
* Installing *source* package 'mvtnorm' ...
** libs
g77   -fPIC  -g -O2 -c mvt.f -o mvt.o
gcc -I/usr/lib/R/include     -fPIC  -g -O2 -c randomF77.c -o randomF77.o
gcc -shared  -o mvtnorm.so mvt.o randomF77.o  -lg2c -lm -lgcc_s -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
make: ** [mvtnorm.so] Erro 1
ERROR: compilation failed for package 'mvtnorm'
** Removing '/home/posmae/cnaber/mvtnorm'
** Restoring previous '/home/posmae/cnaber/mvtnorm'
The downloaded packages are in
        /tmp/Rtmp25z35w/downloaded_packages
warning message:
installation of package 'mvtnorm' had non-zero exit status in: install.packages("mvtnorm", lib = "/home/posmae/cnaber", repos = "http://cran.uk.r-project.org/") 

 
I don't know what's the problem because I've installed the package "sn" with sucess
 
Thanks all,
 
Caio
 
 
 

		
---------------------------------

	[[alternative HTML version deleted]]


