|
11
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="package_r3" version="3.0.1">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
|
6 <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.1.tar.gz</action>
|
|
|
7 <action type="set_environment_for_install">
|
|
|
8 <repository changeset_revision="1301ec7705a8" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/">
|
|
|
9 <package name="readline" version="6.2" />
|
|
|
10 </repository>
|
|
|
11 </action>
|
|
|
12 <action type="make_directory">$INSTALL_DIR</action>
|
|
|
13 <action type="shell_command">./configure --with-blas --with-lapack --enable-R-shlib --with-x=no --prefix=$INSTALL_DIR && make && make install</action>
|
|
12
|
14 <action type="download_by_url">http://cran.r-project.org/src/contrib/stringr_0.6.2.tar.gz</action>
|
|
|
15 <action type="shell_command"> export PATH=$INSTALL_DIR/lib/R/bin:$PATH &&
|
|
|
16 export R_HOME=$INSTALL_DIR/lib/R &&
|
|
|
17 export R_LIBS=$INSTALL_DIR/lib/R/library &&
|
|
|
18 R CMD INSTALL stringr_0.6.2.tar.gz -l $INSTALL_DIR </action>
|
|
|
19 <action type="download_by_url">http://cran.r-project.org/src/contrib/gplots_2.11.3.tar.gz</action>
|
|
|
20 <action type="shell_command"> export PATH=$INSTALL_DIR/lib/R/bin:$PATH &&
|
|
|
21 export R_HOME=$INSTALL_DIR/lib/R &&
|
|
|
22 export R_LIBS=$INSTALL_DIR/lib/R/library &&
|
|
|
23 R CMD INSTALL gplots_2.11.3.tar.gz -l $INSTALL_DIR </action>
|
|
11
|
24 <action type="set_environment">
|
|
|
25 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
|
26 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
|
27 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
|
28 </action>
|
|
|
29 </actions>
|
|
|
30 </install>
|
|
|
31 <readme>Modified from an older version of R by Boris by Ross Lazarus for R 3.0
|
|
|
32 Silly having melbourne CRAN hardwired but that's what I test with.
|
|
|
33 Be nice to have interactive variables for fabric installs.
|
|
|
34 R is a free software environment for statistical computing and graphics
|
|
|
35 WARNING: See custom compilation options above
|
|
12
|
36 Note I've also added some R dependencies
|
|
11
|
37 </readme>
|
|
|
38 </package>
|
|
|
39 </tool_dependency>
|