Getting warnings with normalizePath

Hello! I am new here . I got some issue with installing packages.
I get this problem :

install.packages("vcd")
Installing package into ‘C:/Users/PC/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/4.2/vcd_1.4-10.zip'
Content type 'application/zip' length 1288423 bytes (1.2 MB)
downloaded 1.2 MB
package ‘vcd’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\PC\AppData\Local\Temp\RtmpqKqHJ5\downloaded_packages

library(vcd)
Loading required package: grid
Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Users/PC/OneDrive/?????????": The filename, directory name, or volume label syntax is incorrect

Try to install this package library(grid), and run again.

1 Like

R has known issues with cloud-synced folders and non-ASCII characters in file paths, try changing your default working directory to a different location.

1 Like

Unfortunately , it doesn`t work for me

For future reference, it is better if you are specific about what have you tried that is not working and what error messages you are getting.

Can you share the output of Sys.getenv()? maybe that could give me a clue about what might be the problem

This topic was automatically closed 42 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.