Upgrade Dependent Components
Install new versions of the Java SE, GlassFish, and PostgreSQL applications or R package and RServe service in your production environment only after you test them for the DVN build you are running. Some DVN builds might require that you upgrade to a new version of a dependent application.
See the following for details about how to upgrade a specific component:
Upgrade R Package
To upgrade the R package for use with the DVN application:
- Obtain the R rpm from the official CRAN site at
http://cran.r-project.org/.
If the version recommended by the DVN project is no longer on CRAN, please contact the DVN team.
- Install the rpm.
If you already have an older version installed, do not upgrade. That is, do not use the rpm -U R command. Perform the following instead:
- Uninstall the old version first. Type:
rpm -e R
- Delete all third-party packages from the old installation using one of the following commands, depending on your architecture:
rm –rf /usr/lib/R
rm –rf /usr/lib64/R
- Install the new rpm. Type:
rpm –ivh R-<version>.rpm
- Obtain and rebuild all third-party modules.
The DSB installation comes with a script that rebuilds these modules through the R package's built-in mechanism for resolving such dependencies. Make sure your system has all the necessary build components installed.
To install these packages:
- On a RedHat 4 system type the following:
up2date <build components>
- On a RedHat 5 system, use the new RedHat
yum framework.
- Download and build the modules. Type the following:
cd /usr/local/VDC/R
./installR.sh