简体   繁体   中英

Write .ods openoffice / libreoffice files in R

There are many ways to read .ods packages in R, eg with gnumeric packages. But I can't find any way to write an .ods file directly. Any ideas?

(This would be particularly useful because google drive spreadsheets appear as .ods files locally, so it would be a way to edit google spreadsheets without using solutions like RGoogleDocs which won't work offline.)

This question is old. I am just filling it in so that it will not be unanswered. There may have been no solution when the question was written. At this time, the package readODS has a function write_ods that will write an ods file. Quick example:

library(readODS)
write_ods(iris, "iris.ods")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM