Change location of rstudio-prefs.json config file


I'm using RStudio Desktop (1.3.959 - open source licence) on Windows Server 2019 and I would like to move the rstudio-prefs.json user config file from the default location (AppData/Roaming/RStudio) to an other location. I found a blog post indicating that it is possible (, but the mean to do that is not mentioned. Is the solution consist in modifying an env variable? In this case, what is this variable?

Thanks in advance!