...
- Follow the instructions to install the current production version of the R client, this will automatically install most dependencies
Include Page SYNR:How to install the Synapse R Client SYNR:How to install the Synapse R Client - Install any additional required dependences, from the R prompt
install.packages(c("RUnit","rJava"))
- Install the developer tools needed for R Developer Tools#R
- Make sure your maven settings file is pointing to the 64bit version of R
Mac OSX
Code Block <properties> <local.r.path>/usr/bin/r</local.r.path> ... </properties>
Windows
Code Block <properties> <local.r.path>C:\Program Files\R\R-2.13.0\bin\x64\R.exe</local.r.path> ... </properties>
- You now need to checkout and build the entire Synapse code tree since the R client now depends upon the Java client, Get the Maven Build working
- Build the Sage Bionetworks R package, from the shell
- Rcmd INSTALL rSynapseClient
- If you see a loading error for rJava, include
$JAVA_HOME$/jre/bin/server
in yourPATH
. - Now you are ready to use it, from the R prompt
library (synapseClient)
...