Howdy Niek,

FWIW, here is our latest build of R (with lots of
dependencies added):

http://www.siliconslick.com/easybuild/ebfiles_repo_cleaned/ada/R/R-3.2.0-intel-2015B-default-mt.eb

For extensions, we have another (non-EB) module (attached)
for installing extensions to the above by hand.

Between the two, we've:

a) tried to make sure we aren't using system libs (e.g. TCL)
b) are able to satisfy user requests for misc. R extensions
    (automagically)

Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected]    http://sc.tamu.edu
SC Helpdesk: [email protected]

On 06/18/2015 08:57 AM, Niek de Klein wrote:
Hi mailinglist,

I'm probably missing something here and unnecessarily complicating
things. I am trying to get R installed with just a few packages we
use. One of the packages, ggplot2, has a lot of dependencies. So when
I try to install R with one of the existing EasyBuild files and have
ggplot2 as the dependency it will throw an error due to the
dependencies of ggplot2 not being installed, and I have to add the
dependencies to the .eb file. And then add the dependencies of the
dependencies to the .eb file, etc etc.

When installing libraries from within R you can simply give the option
"dependency=True" and it will automagically install all dependencies
for you. Is there an option like that when installing R and some R
libraries?

Thanks,
Niek

#%Module

proc ModulesHelp { } {
    puts stderr {   R is a free software environment for statistical computing 
and graphics. - Homepage: http://www.r-project.org/
                    This module sets up the env for R and installed R packages.
    }
}

module-whatis {Description: R is a free software environment for statistical 
computing and graphics. - Homepage: http://www.r-project.org/}

set root    /software/tamusc/R-packages
set version R-3.2.0-intel-2015B-default-mt


if { ![is-loaded R/3.2.0-intel-2015B-default-mt] } {
    module load R/3.2.0-intel-2015B-default-mt
}

setenv RPACKAGEROOT $root
setenv RPACKAGEDIR  $root/R_LIBS_USER/$version
setenv RMPIDIR      
/software/easybuild/software/impi/5.0.3.048-iccifort-2015.3.187-GCC-4.8.4/intel64

prepend-path  R_LIBS_USER     $root/R_LIBS_USER/$version
prepend-path  PATH            $root/bin

Reply via email to