I have qiime2 program https://qiime2.org in my directory /home/owner/anaconda3/envs/qiime2-2019.1
. In Linux terminal, I run source activate /home/owner/anaconda3/envs/qiime2-2019.1
to start this program.
I tried doing this within R studio as system('source activate /home/owner/anaconda3/envs/qiime2-2019.1')
, but it it gives me this error: sh: 1: activate: not found
Warning message:
In system('activate /home/owner/anaconda3/envs/qiime2-2019.1') :
error in running command
Is there a way to activate anaconda env within R or Rstudio?