Relative Content

Tag Archive for rspecial-characterstxtdelimited

Read txt file without Delimiter into R

data <- read_fwf(paste0(wd, “/saisie/”, fichiers[i]), fwf_positions(start = Long$Deb ,end = Long$Fin ), skip_empty_rows = TRUE, locale = locale(encoding = “UTF-8”)) when it find à special caracter like : ¨, é, … it respectr not the width that I imposed in fwf_positions. I tried : read.fwf whith widths = the width the variable , but the […]