12
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <set_environment version="1.0">
|
|
4 <environment_variable name="R_SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
|
|
5 </set_environment>
|
|
6 <package name="R" version="2.15.1">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://CRAN.R-project.org/src/base/R-2/R-2.15.1.tar.gz</action>
|
|
10 <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
|
|
11 <action type="shell_command">make</action>
|
|
12
|
|
13 <action type="download_file">http://cran.r-project.org/src/contrib/gridExtra_0.9.1.tar.gz</action>
|
13
|
14 <action type="move_file">
|
12
|
15 <source>gridExtra_0.9.1.tar.gz</source>
|
|
16 <destination>$INSTALL_DIR</destination>
|
|
17 </action>
|
|
18 <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/gridExtra_0.9.1.tar.gz</action>
|
|
19
|
|
20 <action type="download_file">http://cran.r-project.org/src/contrib/ggplot2_0.9.3.1.tar.gz</action>
|
13
|
21 <action type="move_file">
|
12
|
22 <source>ggplot2_0.9.3.1.tar.gz</source>
|
|
23 <destination>$INSTALL_DIR</destination>
|
|
24 </action>
|
|
25 <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/ggplot2_0.9.3.1.tar.gz</action>
|
|
26
|
|
27 <action type="download_file">http://cran.r-project.org/src/contrib/plyr_1.8.tar.gz</action>
|
13
|
28 <action type="move_file">
|
12
|
29 <source>plyr_1.8.tar.gz</source>
|
|
30 <destination>$INSTALL_DIR</destination>
|
|
31 </action>
|
|
32 <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/plyr_1.8.tar.gz</action>
|
|
33
|
|
34
|
|
35 <action type="set_environment">
|
|
36 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
37 </action>
|
|
38
|
|
39 </actions>
|
|
40 </install>
|
|
41 <readme>You need a FORTRAN compiler or perhaps f2c in addition to a C compiler to build R.</readme>
|
|
42 </package>
|
|
43 </tool_dependency>
|