

C : / Program Files / R / R - 4.1.2 / library - Code to reproduce Session info - setting value version R version 4.1.2 ( 2021 - 11 - 01)Ĭollate English_United States.1252 ctype English_United States.1252 tz Europe / Berlin date 2022 - 02 - 04 rstudio 2022.02.0 + 421 Prairie Trillium ( desktop) In addition : Warning message : In normalizePath(path.expand( path), winslash, mustWork) : path = "tmp/mtcärs.xlsx " : The system cannot find the file specified Sessioninfo
A with umlaut code on windows 10 zip file#
"mtcärs.csv " "mtcärs.xlsx " "mtc�rs.csv " > readxl ::read_xlsx( "tmp/mtcärs.xlsx ")Įrror : Evaluation error : zip file 'C: \Users \WDAGUtilityAccount \AppData \Local \Temp \RtmpA9L12X \tmp \mtc�rs.xlsx ' cannot be opened. "mtc�rs.xlsx " "mtcärs.csv " "mtc�rs.csv " > # readxl also cannot handle filenames with umlauts > file.rename( "tmp/mtc�rs.xlsx ", "tmp/mtcärs.xlsx ") > writexl ::write_xlsx( mtcars, "tmp/mtcörs.xlsx ") X mpg cyl disp hp drat wt qsec vs am gear carb 1 Mazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4 2 Mazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4 3 Datsun 710 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1 4 Hornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1 5 Hornet Sportabout 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2 6 Valiant 18.1 6 225 105 2.76 3.460 20.22 1 0 3 1 > # readr and data.table cannot process the filename with umlaut correctly > readr ::read_csv( "tmp/mtcärs.csv ")Įrror in file( con, "rb ") : cannot open the connection In addition : Warning message : In file( con, "rb ") : cannot open file 'C:/Users/WDAGUtilityAccount/AppData/Local/Temp/RtmpA9L12X/tmp/mtc�rs.csv ' : No such file or directory > data.table ::fread( "tmp/mtcärs.csv ")Įrror in data.table ::fread( "tmp/mtcärs.csv ") : File not found : tmp / mtcä rs.csv > # filenames with umlauts written by readr or writexl are garbled > readr ::write_csv( mtcars, "tmp/mtcörs.csv ") > # can be read fine with read.csv() > head(read.csv( "tmp/mtcärs.csv "))

> # write test file > write.csv( mtcars, "tmp/mtcärs.csv ") "LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C LC_TIME=English_United States.1252 " > owd dir.create( "tmp ")
