R versions switching in RStudio


I would like to know whether it is possible to switch back and forth the R versions in RStudio. If it is possible, then please tell me how to do that. I am using Ubuntu OS.

Actually, I need to run a code in R 3.6.3 and R 4.0.4 and check both are giving the same results.

I really appreciate any help you can provide.

Hi KNKanna,

If you happen to have the RStudio Server Pro, then it would be very simple (see this RStudio Support article).

However, I suppose that you're using the RStudio Desktop and then this (and related) articles will guide you further.


1 Like

Thank you lars. I will check it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.