<script type="text/javascript">
$(document).ready(function(){
var d = new Date();
Shiny.onInputChange("client_time", d.toLocaleString());
});
</script>
<input id="client_time" type="text" value=""/>
observe({
write( paste( Sys.time(), input$client_time, sep = "; "), file = "client_time.txt")
})
R version 3.0.2 (2013-09-25)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shiny_0.10.2.2
loaded via a namespace (and not attached):
[1] R6_2.0.1 RJSONIO_1.0-3 Rcpp_0.11.1 digest_0.6.4
[5] htmltools_0.2.6 httpuv_1.3.0 mime_0.2 xtable_1.7-3