# Hong will install anaconda R403 in a conda environment on ts117. This strategy worked.
conda create --name condaR403
environment location: /home/hqin/.conda/envs/condaR403
-bash-4.2$ conda activate condaR403
conda install -c r r-base #??
# which R shows an R403 inside an conda environment.
R
install.packages('tidyverse') #this seems worked.
install.packages('EpiNow2') #this run for a while
non-zero exit again due to V8.
(condaR403) -bash-4.2$ conda install -c conda-forge libv8
$ conda install -c conda-forge r-randomcolor
R
install.packages('EpiNow2') #this worked!!!!
> library(EpiNow2)
>
module load sge
qsub epinow2.pbs #this runs!!!!
(condaR403) -bash-4.2$ cat epinow2.pbs
#!/bin/bash -l
#$ -S /bin/bash
#$ -N epinow_job
#$ -V
#$ -cwd
. /etc/profile.d/modules.sh
module load anaconda/5.2.0
source activate condaR403
R -f batch_Rt_by_county.R --args 900 901 1 4/1/2020 5/1/2020
No comments:
Post a Comment