R markdown not working..

I am a Windows user, just installed the latest R version and Rstudio, and am having a problem with R markdown files.
My Rstudio cannot open the file.. It tries to help me by installing some packages but ends up giving me another error...
I tried typing the installation code myself but did not work... I hope someone could help me here...
here is the error that is provided :slight_smile:
Please help me... :sob: Thank you!!

I suspect R is having issues with non-ASCII characters in your Windows user name (this is a known issue) but I can't be sure since you are not posting the complete output message.

In case I'm right, you can fix this issue by changing your user folders name or installing into the system level package library instead.

You can change the default library folder by setting your R_LIBS_SITE environmental variable on a .Reviron or .Rprofile file

# In a .Renviron file you can set it by adding this line
R_LIBS_SITE="C:\\Program Files\\R\\R-4.0.3\\library"

For a more detailed explanation, you can read this blog post

This could be related to this issue in RStudio IDE:

It is at least similar!

What is the result of


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.