install.packages

I have problem - all the time I have this response:
Warning in install.packages :
'lib = "C:/Program Files/R/R-3.6.1/library"' is not writable
Warning in install.packages :
cannot create dir 'C:\Users\PC\OneDrive?????????', reason 'Invalid argument'
Error in install.packages : unable to create ‘C:/Users/PC/OneDrive/?????????/R/win-library/3.6’

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