Unable to install new packages or use preinstalled packages after installing Rtools40

HI,

I think this post might help

It has to do with the PATH environment variable.

Hope this helps,
PJ