hi everyone, I'm a beginner, so the question probably has a trivial answer.
Ubuntu 20.04, Rstudio 2022-07.1
I am trying the initial cleaning of a Corpus, but nothing happens. The working directory has permissions set to 777. I run the command, but the punctuation stays there ... it will be a silly mistake, but I don't see it. Thank you.
Here's my simple code:
setwd("~/transito/mb2")
library(tm)
Carico il pacchetto richiesto: NLP
mb <- Corpus(DirSource("./"))
mb
<>
Metadata: corpus specific: 1, document level (indexed): 0
Content: documents: 1
mb <- tm_map(mb, removePunctuation)