В Sun, 14 Sep 2025 21:31:43 +0200
Patrick Giraudoux <patrick.giraud...@univ-fcomte.fr> пишет:

> Errorin write.table(db, file = "db.txt", row.names = FALSE, quote =
> "", : invalid 'quote' specification

write.table() and read.table()/read.delim() are a bit asymmetric. In
this case, write.table() needs quote = FALSE, but read.delim() needs
quote = "":

write.table(db, "db.txt", row.names = FALSE, quote = FALSE, sep = "\t")
db_import <- read.delim("db.txt", quote = "")

-- 
Best regards,
Ivan

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to