R > 4.4.x may be started from the command line with the following flag, –max-connections=X
Per CRAN “Changes in R 4.4.0”:
New startup option –max-connections to set the maximum number of simultaneous connections for the session.
But how should this flag be set when using R via Rstudio?
There are many examples of customizing R using configuration files like .Rprofile and .Renviron but my understanding is that all of these configs are read AFTER R has already started.
I was hoping that something like this would work in .Rprofile:
options(max-connections=X)
options(NCONNECTIONS=X)
But variations of that don’t seem to work.
Can Rstudio invoke R with max-connections set to a user-defined integer?