I am working on a Rmarkdown document and I have R 4.0.4 running in a buffer. I try to export the document with
M-n e and it finds R 3.6.3
R version 3.6.3
This meant that I had a lot of trouble with packages not being found before I saw the underlying problem. I have a distribution R 3.6.3 in
/usr/bin and a more recent R in
/use/local/bin. poly-R may be using absolute path names but I can't see how to configure it.