I want to run two R scripts in a 32bit and in a 64bit R respectively.
To automate this process, I have looked at this answer, which proposes a good way of automatizing this transition. This solution is inefective for more recent R versions, as from version 4.2.0, R has dropped support for 32bit builds.
In practice this means that as I need to use R_32bit, I have been forced to have
R Version 3.6.1 for my 32bit needs
R Version 4.2.1 for my 64bit needs
This means that the installations will be located in different folders, making the solution proposed here infeasible.
Hoiw can I access the environment variables that keeps track of the installation folder for the R 32 bit and the R 64 bit in my computer?
These environment variables are somewhere, as RStudio keeps track of these 32bit and 64bit installations which allows changing between them in Tools-> Global Options -> General