RSwitch
RSwitch copied to clipboard
4.0 (incomplete) in RSwitch menu
Hi,
I just upgraded my R version from 4.0.0 to 4.0.1. It was working perfectly fine on 4.0.0 before. I was wondering why in my RSwitch menu, it now says "4.0.0 (incomplete)"
Best wishes, Lucy
Lucy, this is almost certainly because the new installation overwrote the old (but the pkg library is still there). When you are installing R, and you see this dialog
![Image](https://user-images.githubusercontent.com/140350/137520971-81a16962-30a3-4413-8741-c70b805b2b68.png)
before you go any further, open a Terminal window and type
sudo pkgutil --forget org.R-project.R.fw.pkg
follow the instructions, and then proceed with the installation.
Note: the R.app
that is installed will work only with the latest x.y
version of R, so if you have for instance 4.1 installed and want to run a much older version, say 3.6, you will need to run 3.6 from the command line in Terminal.
Also, you probably need to re-install the earlier version, then install the newer version following the instructions above, if you want to keep the earlier version.
Had the same issue installing R4.2.0 over R4.1.3. Using sudo pkgutil --forget org.R-project.R.fw.pkg
indeed solved that for me! I did not need to reinstall the newer version, only the older that became "incomplete".
This is super helpful.
I'll try to reproduce and see if can add some detection bits a button to autofix
On Wed, Apr 6, 2022 at 8:35 AM jgilis @.***> wrote:
Had the same issue installing R4.2.0 over R4.1.3. Using sudo pkgutil --forget org.R-project.R.fw.pkg solved indeed that for me! I did not need to reinstall the newer version, only the older that became "incomplete".
— Reply to this email directly, view it on GitHub https://github.com/hrbrmstr/RSwitch/issues/24#issuecomment-1090216961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD4PNUXEHO5RU3NJQ5ULV3VDWAKFANCNFSM5GCI2U2Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>