with quote="" I get an error, Yvan

write.table(db, file = "db.txt", row.names = FALSE, quote="", sep = "\t")
Show Traceback
Rerun with Debug
Errorin write.table(db, file = "db.txt", row.names = FALSE, quote = "", : invalid 'quote' specification


Le 14/09/2025 à 21:13, Ivan Krylov a écrit :
В Sun, 14 Sep 2025 19:39:58 +0200
Patrick Giraudoux<patrick.giraud...@univ-fcomte.fr> пишет:

write.table(db, file = "db.txt", row.names = FALSE, quote = FALSE,
sep = "\t")

db_import<-read.delim("db.txt")
Since write.table() had been called with quote=FALSE, you'll need to
read the file with quote="" to prevent read.delim() from interpreting
the quotes.

______________________________________________
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