I have a text file with special charactes.
I want to replace all the instance of by
this is how i read my file
donnees <- read.table("Shanghaifr.txt", sep="\t", header = TRUE)
I tried this but it did not work
donnees <- read.table("Shanghaifr.txt", sep="\t", header = TRUE)
datest <- donnees$datesr[[15]]
sub("ao<U+00FB>","ao\\U00FBt",datest)
I'm supposed to get 17août2017 for example so that i can easily do later
as.Date("17août2017", "%d%b%Y")# to get the numeric date.