Skip to content

Build From Source

LisaMc edited this page Sep 20, 2015 · 1 revision

Install R packages

Global Install (default)
1. Open a terminal and navigate to the main Oncoscape folder
2. Run the installation procedure

>make

Local Install (optional)
To install and run Oncoscape locally, explicitly define the R path and directory of the working library $R_LIBS. One method is to create a bash configuration file defining the necessary environment variables, e.g. .setupR, with the relevant system definitions. Note that the full path should be used instead of referencing a <cwd>.

>vi .setupR
	PATH=/usr/bin/R:$PATH
	export R_LIBS= \<cwd\>/Rlibs/x86_64-unknown-linux-gnu-library/3.2

>source .setupR
>which R
>echo $R_LIBS

This file will need to be called from the terminal before any update, installation, or execution to ensure the proper directory structure is accessed. To install Oncoscape and its dependencies within the local $R_LIBS directory, call "localInstall" from the makefile.

>make localInstall
Clone this wiki locally