It is not a good idea to locate the default user library in a OneDrive or other network-backed software like it (Dropbox, etc.). Nor should you work on R files directly in such a directory. The network backup interferes with R and various common support tools used with R.
If you delete the directory, R will prompt you to re-create it. When it does so, specify a directory that is not located under the OneDrive directory. On June 17, 2020 1:06:35 PM PDT, mrita.goncal...@gmail.com wrote: >Dear Sirs, > >I have installed Rstudio 4.0 version to start using and learn R >language. > > > >I am not able to install the learnr package or create the library >directory. > > > >Also appears that message.of error in Portuguese(Brazil) > >Warning in install.packages : > >n�o foi poss�vel criar o diret�rio 'C:\Users\Rita\OneDrive - BRA >ADVISORY >(1)\Documentos\R\win-library\4.0\file29a81d847d22', motivo 'No such >file or >directory' > >Error in install.packages : unable to create temporary directory >�C:\Users\Rita\OneDrive - BRA ADVISORY >(1)\Documentos\R\win-library\4.0\file29a81d847d22� > > > > > >Could help me out or give instructions how I should procedure to fix >those >problems. > > > >Regards, > >Maria Rita Gon�alves > >mrita.goncal...@gmail.com <mailto:mrita.goncal...@gmail.com> > >+55 21 981113308 > >Skype mrita.goncalves1 > > > [[alternative HTML version deleted]] -- Sent from my phone. Please excuse my brevity. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.