Document toolboxDocument toolbox

How to install the Synapse R Client

Installation:

  1. If needed, install R from http://cran.r-project.org/
  2. From the R command prompt, install the following packages:

    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 these packages will be available via Bioconductor or CRAN

  3. Also possibly need to install these:

    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