rstudio-server with "/bin/sh: x86_64-conda_cos6-linux-gnu-cc: command not found" fail when installing R package
I nearly try all methods to handle this fault.I sucessfully installed the dependent tools like(with conda):
conda install gcc_linux-64
conda install gxx_linux-64
conda install gfortran_linux-64
or I've add conda path into $PATH:
which conda
#/usr/softwares/conda/location/bin/conda
$PATH
#-bash: /usr/softwares/sratoolkit/sratoolkit.2.9.6-ubuntu64/bin:/usr/softwares/conda/location/envs/bioinf/bin:/usr/softwares/conda/location/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/huangwb8/.aspera/connect/bin:/usr/lib/rstudio-server/bin: No such file or directory
Nothing can help. Because I can install R package normally in shell R or in pure R environment, and the failure only appears when I use rstudio-server. I think it's something wrong with my rstudio-server.But I don't know how to handle it. Looking for help!!