R on MacOS Error: vector memory exhausted (limit reached?)

For those using Rstudio, I’ve found that setting Sys.setenv(‘R_MAX_VSIZE’=32000000000), as has been suggested on multiple StackOverflow posts, only works on the command line, and that setting that parameter while using Rstudio does not prevent this error: Error: vector memory exhausted (limit reached?) After doing some more reading, I found this thread, which clarifies the problem … Read more