Raffaello
Raffaello

Reputation: 1

Error: package or namespace load failed for ‘caret’: object ‘recvData’ is not exported by 'namespace:parallel'

I upoladed RStudio recently. I tried to then run a code that was working up until last week that requires the package "caret" and every time I try to load it, I get the error message

Error: package or namespace load failed for ‘caret’: object ‘recvData’ is not exported by 'namespace:parallel' In addition: Warning message: package ‘caret’ was built under R version 4.3.3

I tried to uninstall it and re-install it, to manually update the package launching RStudio as an admin, but it keeps telling me the same error and I can't find any information about it

Upvotes: 0

Views: 534

Answers (1)

foesine
foesine

Reputation: 11

I had the same error message a while ago and also could not find a work around. I tried deleting and reinstalling caret and all its dependencies, which might work for you if you are working in a base environment for which you have admin rights.

I was working with an external server and this occurred. For me the solution was to create a conda environment with the newest R-version and then installing everything anew in the environment.

Upvotes: 0

Related Questions