Can't import import datasets stored on computer - Special character??

I am fairly new to Rstudio, and need to use it for coming university projects. I am trying to import datasets but receive errors as soon as i open Rstudio and try to import datasets.

This is the error message taht appers in the console when launching Rstudio:

Error in file.exists(templateYaml) :
file name conversion problem -- name too long?

When I'm trying to import datasets i receive the following error:
Error in file(file, "rt") :
invalid input 'C:/Users/My_name/Desktop/R/Loyalty Program Data_Sample.xlsx'

I believe the problem stems from my name, which contains a special character; namely the Norwegian letter Æ/æ which is being printed as � in the R console.
I have attempted to change the my local name stored on computer, but rstudio still returns the same error, even after removing the special character from my name and reinstalling R studio.

Has anyone encountered such a problem before? help would be much appreciated :slight_smile:

Hi @Stian_G , I think like you that the problem are this strange character.
In a ocassiton I have the same problem but not with R. Im try to change the user name but dont run well. My solution was create a new user without stranger character.

A solution for you could be work in a cloud, with Rcloud but only the first 25 works hours are free.

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.