Sorry, it was not clear to me since I have no idea what language is on the screenshot and since it is a screenshot I can't even copy and use a translator.
R has problems with non-ASCII characters in folder paths, I suspect this is happening when R tries to save your .Rhistory file. Can you try with the R GUI to make sure this is R related and not just RStudio IDE related?
I believe that the error appears due to the fact that the path to .Rhistory file contains Cyrillic letters. is there any way to change the folder for saving .Rhistory file
By default R loads and saves .Rhistory within the current working directory but RStudio loads and saves a single global .Rhistory file located in the default working directory.
So by changing your default working directory you change the location of .Rhistory