0

I recently reinstalled both R and RStudion ( 3.5.1 version for R and 1.1.463 for RStudio) and now I cannot read any file with cyrillic symbols in its name. As example, a have a folder contains .xls files ("тест1.xls", "тест2.xls") and when I run

data <- read_excel("тест1.xls", sheet = "food")

I receive a message "Error in loadWorkbook(file, password = password) : Cannot find тест1.xls ". The path is correct and this script worked perfectly before reinstallation. Can you please advise how to fix it or which package I can use for cyrillic symbols? (now I'm using "readxl")

sessioninfo() `

R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=Russian_Russia.1251  LC_CTYPE=Russian_Russia.1251    
LC_MONETARY=Russian_Russia.1251
[4] LC_NUMERIC=C                    LC_TIME=Russian_Russia.1251    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] xlsx_0.6.1   readxl_1.1.0

loaded via a namespace (and not attached):
[1] compiler_3.5.1   tools_3.5.1      Rcpp_0.12.19     cellranger_1.1.0 
xlsxjars_0.6.1   rJava_0.9-10  

` Any help will be highly appreciated! Thank you in advance!

Melissa J.
  • 15
  • 6

0 Answers0