Skip to content

Embed R code in online database

2 messages · Jokel Meyer, Barry Rowlingson

#
On Sat, Feb 11, 2012 at 5:49 PM, Jokel Meyer <jokel.meyer at googlemail.com> wrote:
There's no way to integrate R into a google spreadsheet as tightly
as, say, letting you put R expressions into formulae for cells.

 There's also, I think, no way to trigger an external action when a
spreadsheet is modified or saved.

 So, I think the only thing you can do, is to periodically check if
the spreadsheet is modified, run an R script, and upload the modified
data to Google.

 I'm not sure what the current state-of-the-art interface from R to
google docs is. Maybe
http://r-forge.r-project.org/projects/rgoogledata/

Barry