Pages

Wednesday, August 10, 2011

R spgrass6 Library Installation in openSUSE: workaround

I've encountered a problem with connecting R and GRASS in openSUSE to multiply their power. "spgrass6" library was unwilling to install properly. Here is a workaround for this issue.

"spgrass6" needs libxml2-dev (can be found here) package for installation (actually this  package is required by "XML" library that needed for "spgrass6") so install it ;-)

If you will try to install "spgrass6" normally (as root), you may receive the message (first two lines of installation logs) that this library will be installed in '/root/R/x86_64-unknown-linux-gnu-library/2.13’ because 'lib' is not defined which means that this library will be available only for root. So you need to perform installation as user and everything will be fine.

Related post: R-commander installation in openSUSE

No comments:

Post a Comment