Hi i’m a bit confused on how to install r packages in the interactive session for Rstudio?
If I use the install.packages() in the console, I just get this error:
x86_64-conda-linux-gnu-cc -I"/opt/miniconda/lib/R/include" -DNDEBUG -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /opt/miniconda/include -I/opt/miniconda/include -Wl,-rpath-link,/opt/miniconda/lib -fpic -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /opt/miniconda/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/r-base-split_1625580192924/work=/usr/local/src/conda/r-base-4.1.0 -fdebug-prefix-map=/opt/miniconda=/usr/local/src/conda-prefix -c data2hill.c -o data2hill.o
/bin/sh: 1: x86_64-conda-linux-gnu-cc: not found
make: *** [/opt/miniconda/lib/R/etc/Makeconf:170: data2hill.o] Error 127
ERROR: compilation failed for package ‘vegan’
- removing ‘/opt/miniconda/lib/R/library/vegan’
Can anyone help? Thanks.