Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

    Code Block
    source('http://depot.sagebase.org/CRAN.R')
    pkgInstall("synapseClient")
    

    At a later date, we anticipate that this package will be available via Bioconductor or CRAN

  3. 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
  4. 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.

     

  5. If anything goes wrong see Troubleshooting Installation Problems

Optional:

...

Supported Platforms:

  • Windows 32bit
  • Windows 64bit
  • Mac OSX Snow Leopard 10.6
  • Mac OSX Lion Lion 10.7
  • 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