Skip to content
Prev 398135 / 398506 Next

trouble with exporting a data.frame with " (quotation mark) in some columns into a tab delimited file, then importing the file

See ?write.table  documentation for "qmethod", which needs to be set
to "double" to write the data correctly for csv. This is most easily
done by using read.csv and write.csv, for which this is the default.
Ergo, the following :

(using your example)
## Note: Set row.names = FALSE so an extra column of numeric row names
won't be added.
[1] TRUE

Apologies if I have misunderstood and this does not solve your problem.

Cheers,
Bert


On Sun, Sep 14, 2025 at 10:46?AM Patrick Giraudoux
<patrick.giraudoux at univ-fcomte.fr> wrote: