Error while installing package

HI,
Could you help meto fix this error that I am getting during the library installation

/R/win-library/4.1' to native encoding
source("~/Mosaic.R")
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'C:/Users/Dana/OneDrive/?????????/Mosaic.R': Invalid argument

I think that this may be related to RStudio placing installed packages in OneDrive instead of in the PC. Are there any instructions on how to change the path to the installation folder?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.