5

I am trying to import a CSV, but my windows username has an "ö" in it.

library(tidyverse)
persons <- read_csv("./data/persons.csv")

This is the error message (anonymized)

Error in guess_header_(datasource, tokenizer, locale) : Cannot read file C:/Users/[...]ö[...]/Desktop/data/persons.csv: The system cannot find the path specified.

[...] replacement to hide the real name.

read.csv works just fine: persons <- read.csv("./data/persons.csv")

I am on a company PC, probably cannot change my Username.

That's what happens if I use the RStudio GUI. enter image description here

Github tidyverse bug:

This might be related, but I cannot deduce if they fixed it.

PalimPalim
  • 2,892
  • 1
  • 18
  • 40

0 Answers0