[R] Modifying output to Google Docs

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Tue Sep 23 21:24:56 CEST 2008


2008/9/23 Ajay ohri <ohri2007 at gmail.com>:

> By outputting PDF directly to a Google Doc, it becomes light and portable
> for people to view and collaborate on projects  in different parts of the
> world.
> If you extend this to Google spreadsheets this functionality is especially
> useful for financial reporting or marketing metrics reports or collaborative
> presentations to be made.

 There's command-line tools (written in python, but probably in other
languages elsewhere) to do this:

http://code.google.com/p/gdatacopier/

 their example is:

./gdoc-cp.py --username someone at gmail.com --import --local
files/doc.txt --title "New Document"

 So all you need to do is call that from R with system() and wrap it
up in some R functions.

Barry



More information about the R-help mailing list