it looks in /var/lib/dpkg/info/ and if it finds "r-base-core" (or mro) it's happy.
However, /var/lib/dpkg/info/ is not robust and not on all Linux available.
A quick fix would be to allow to select the interpreter via a path variable (similar to what vscode-python does).
On arch-linux I get
R is installed & rRTVS just can't find it.
It looks like a problem how RTVS identifies R.
In https://github.com/Microsoft/RTVS/blob/46a8f4579e4fd56219af3bb2cf3fd15b84464874/src/Unix/R/Platform/Impl/OS/Linux/InstalledPackageInfo.cs
it looks in
/var/lib/dpkg/info/
and if it finds"r-base-core"
(or mro) it's happy. However,/var/lib/dpkg/info/
is not robust and not on all Linux available.A quick fix would be to allow to select the interpreter via a path variable (similar to what vscode-python does).