Probably a very basic question for someone who knows what they're doing.
I installed anaconda and jupyter notebooks, and now which R
returns /opt/anaconda3/bin/R
, rather than /usr/local/bin/R
as it did before.
How do I change this back so that RStudio uses /usr/local/bin/R
, but preferably without deleting files, editing PATH
environment variable, or moving files/binaries around (I am open to suggestion, but prefer a 'best practice' so that anaconda/notebooks work if I need them).