...
- If needed, install R from http://cran.r-project.org/
From the R command prompt, install the following packages:
Code Block source('http://depot.sagebase.org/CRAN.R') pkgInstall("synapseClient") # If you plan to use a private SFTP server for hosting data, install the optional Rsftp library: pkgInstall("Rsftp")
At a later date, we anticipate that this package these packages will be available via Bioconductor or CRAN
- NOTE: If you are running OSX, you will need to install tcl/tk for all of the client features to work properly. You can find the installer here: http://cran.r-project.org/bin/macosx/tools/tcltk-8.5.5-x11.dmg
NOTE: the "zip" command must be executable from your OS's command interpreter. If you see an error like the following, you can resolve the issue by following these instructions: Installing Zip on Windows
Code Block Error in owner@fileCache$createArchive() : Archive could not be created because it contains multiple files yet the system does not have zip installed.
- If anything goes wrong see Troubleshooting Installation Problems
Optional:
...
Supported Platforms:
...
Also possibly need to install these:
Code Block pkgInstall("RCurl") pkgInstall("rjson") pkgInstall("digest") pkgInstall("RUnit")
Supported Platforms:
- Windows
- Mac OSX
- Any Linux/Unix platform will use the source of the package and compile/install as-needed
Common Installation Problems
RCurl package cannot be installed
If you see an error like:
- installing source package ‘RCurl’ ...
- package ‘RCurl’ correctement décompressé et sommes MD5 vérifiées
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
then there are missing dependencies for the RCurl package, upon which the Synapse R client depends. For information on resolving these missing dependencies, please see: http://www.omegahat.org/RCurl/FAQ.html