Commit 5de61985 authored by jlopez's avatar jlopez
Browse files

Fix R install

parent 2b0d60dc
......@@ -280,17 +280,17 @@ function generate_container() {
PREVIEW += "\n############### Install R ##############\n";
if(isSingularity) {
PREVIEW += "\t"+manager+" install -y " + "make" + "\n";
PREVIEW += "\t"+manager+" install -y " + "make gcc gfortran g++" + "\n";
} else {
PREVIEW += "RUN "+manager+" install -y " + "make" + "\n";
PREVIEW += "RUN "+manager+" install -y " + "make gcc gfortran g++" + "\n";
}
if(isSingularity) {
PREVIEW += '\tcd $HOME';
PREVIEW += '\n\twget https://cran.rstudio.com/src/base/R-3/R-'+ rversion+ '.tar.gz';
PREVIEW += '\n\ttar xvf R-'+ rversion+ '.tar.gz';
PREVIEW += '\n\tcd R-'+ rversion;
PREVIEW += '\n\tcd R-'+ rversion + "\n";
PREVIEW += "\t./configure --enable-R-static-lib --with-blas --with-lapack --enable-R-shlib=yes "+ "\n";
PREVIEW += "\tmake"+ "\n";
PREVIEW += "\tmake install"+ "\n";
......
......@@ -35,7 +35,7 @@ function printSection($name, $db) {
<select class="custom-select" id="selectedR">
<option value="0" selected="selected" >None</option>
<option value="3.6.3">3.6.3</option>
<option value="3.5">3.5</option>
<option value="3.5.0">3.5.0</option>
</select>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment