I installed R using brew in Mac.
like this...
brew install R
The above command installs the latest version of R.
But I want to chan