Skip to content
Prev 205181 / 398506 Next

suppress output for meta in package tm

I don't know anything about pkg:tm, but I'll make a
couple of comments below.
Amber Jaycocks wrote:
or: for(n in seq_along(corpa)){
here, I think, you want:
capture.output(n_corp_file <- meta(corpa[[n]], "URI"), file="log.txt")

and I would use (on Windows): file="clipboard"
You might also find sink() to be more to your taste than
capture.output().

  -Peter