[R] append lines to a created file

Jörg Groß joerg at licht-malerei.de
Wed Dec 17 01:43:43 CET 2008


hi,

I try to append a line to a file with;

writeLines("xxx", con = "file.txt, sep = "\n")


but it always overwrites the existing content.


How can I "change" the "mode" of writeLines to append ("a") ?



More information about the R-help mailing list