Matthieu,

The problem is the lack of the npsol library on Ubuntu boxes. Google was not helpful in finding an easy way to install this. Part of the problem may be that you are using an older version of Ubuntu and the OpenMx group may not be supporting it anymore.

I would search the OpenMx forums for a possible solution, since it seems to only effect that package.

Michael

Matthieu Stigler wrote:
Dear Michael

Thanks a lot for your quick answer!


Michael Rutter a écrit :
Matthieu,

Have you tried installing it? We have just updated the versions of R on CRAN and maybe the bug the package website mentions have been fixed.

Yes I tried and unfortunately it does not solve the prob:
checking gcc version... 4.2.4
checking for gawk... /usr/bin/awk
checking for inst/npsol/linux/x86/gcc4.2/libnpsol.a... no
configure: error: npsol library not found
ERROR: configuration failed for package ‘OpenMx’

In order to have multiple version of R installed, you will need to build the second version from source. Here are the details:

http://cran.r-project.org/doc/manuals/R-admin.html#Installing-R-under-Unix_002dalikes

You must be very careful to install R in a different location and have a different location for the lib files. Read carefully through the section of Unix-like systems to see which options you need to set. The good news is that you can always reinstall R 2.10 from apt-get or synaptic if the versions cross.

Ok, so I need to compile :-( I'll try it, thanks for info!
Another option to consider is using a virtual machine (I use Virtual Box, which is open source) with the needed version of R on it. You can share data files between the host and virtual machine, if needed.

Oh also? Mmh this would be something to do, but as I don't have any knowledge of it I think I'll try first to compile...

Thanks again for help!
Hope this helps,
Michael

Matthieu Stigler wrote:
Hi

I want to use a special package (openMx: http://openmx.psyc.virginia.edu/installing-openmx) that runs currently only on R 2.9 but I have R 2.10 installed (from CRAN).

How can I do to have the two versions ( 2.9 and czrrent 2.10) running? Is there a trick with apt-get or should I compile 2.9 from the sources? And if yes, how can I specify a special path for R 2.9 so that by default 2.10 is used?

Thanks a lot!

Matthieu Stigler

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian



--
Dr. Michael A. Rutter
School of Science
Penn State Erie, The Behrend College
Station Road
Erie, PA 16563
http://math.bd.psu.edu/faculty/rutter

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to