I am on macOS and use R from the terminal. R often launches XQuartz, for example with install.packages("digest")
:
> install.packages("digest")
Installing package into ‘~/Library/R/3.5/library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
and an XQuartz window opens with Secure CRAN mirrors
.
Another example is when a newer package is available and an XQuartz window opens with
These packages have more recent versions available. Which would you like to update?
digest (0.6.18 -> 0.6.19) [CRAN]
How can I force R to ask the question from the terminal instead of opening XQuartz?