starting R: Error: ‘\U’ used without hex digits in character string starting “”C:\U”

I was able to solve this after all:

I had a section inside my .Rprofile file (in Documents) with “\” instead of “/”. So I now changed

# Set mainfolder for PACKAGE package
options(PACKAGE_MAINFOLDER="C:\Users\...")

to

# Set mainfolder for PACKAGE package
options(PACKAGE_MAINFOLDER="C:/Users/...")

and that did the trick.

Leave a Comment