I tried to complile a markdown document into RStudio, but when I knit it I get the following output:
/home/argus/anaconda3/envs/R-lab/bin/pandoc/pandoc: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
Error in system(paste(shQuote(path), "--version"), intern = TRUE) :
error in running command
Calls: <Anonymous> ... get_pandoc_version -> with_pandoc_safe_environment -> force -> system
Execution halted
I've read some post and I tried installing sudo apt-get install libgmp-dev
and does not work, but I don't know if the error is related with pandoc or with libgmp.