comparison mkCorr.sh @ 14:5a4cbfb5fbc5 default tip

loading R3.0.2
author Ido Tamir <ido.tamir@imp.ac.at>
date Mon, 27 Oct 2014 10:57:35 +0100
parents 9abd178b46bd
children
comparison
equal deleted inserted replaced
13:de452b96da8e 14:5a4cbfb5fbc5
2 TOOLDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 2 TOOLDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3 3
4 #echo "running corr" 4 #echo "running corr"
5 #echo $PWD 5 #echo $PWD
6 6
7 module () {
8 eval `/usr/bin/modulecmd bash $*`
9 }
10
11 if [ -f /biosw/modules/init/modules-env.sh ]; then 7 if [ -f /biosw/modules/init/modules-env.sh ]; then
12 module load R/3.0.0 8 . /etc/profile.d/modules.sh
9 source ~/R3.sh
13 fi; 10 fi;
14 11
15 cp $TOOLDIR/corr.R $PWD 12 cp $TOOLDIR/corr.R $PWD
16 13
17 ./corr.R "$@" >> err.log 2>&1 14 ./corr.R "$@" >> err.log 2>&1