RSwitch icon indicating copy to clipboard operation
RSwitch copied to clipboard

4.0 (incomplete) in RSwitch menu

Open lucygarner opened this issue 2 years ago • 4 comments

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

image

lucygarner avatar Oct 15 '21 15:10 lucygarner

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

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.

bryanhanson avatar Oct 15 '21 16:10 bryanhanson

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.

bryanhanson avatar Oct 15 '21 16:10 bryanhanson

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".

jgilis avatar Apr 06 '22 12:04 jgilis

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: @.***>

hrbrmstr avatar Apr 06 '22 12:04 hrbrmstr