I\'ve been working for a while with a number of large files containing gene expression data, and I\'ve recently run into an issue with loading that data into R, after upgrad
A solution for those who might be unfamiliar with the command line can be found here:
In short, the solution is to use the usethis package.
usethis::edit_r_environ() will open the .Renviron which is in your home directory. This .Renviron affects all Rstudio work
usethis::edit_r_environ("project") will open an .Renviron local to your project. Changes made to this file only affect work done in that particular Rstudio project.
Once open, the R_MAX_VSIZE var can be set.
The linked page also links to this blog which describes R's startup process in great detail.