[R] Running R on a hosting o server

Marco marco.prado.bs at gmail.com
Wed Sep 23 15:37:27 CEST 2015


> Hi all,
> 
> Hope I can Explain:
> 
> I want to "run" online some function (code written by me) so that this code
> "saves" an output file on my server and my html webpage read the file R
> plots and save (really manually I would run R function, open Filezilla, and
> pass the output png o jpg file).
> 
> Is it possible to do this "authomatically" telling R, something like each
> 15 minutes run this "pru.txt" file, and take save this plot.png and execute
> filezilla with this inputs and save the plot in this folder?
> 
> Hope you can understand me.
> 
> In rmarkdown it is true that output html file but my intention is tu run my
> own function and the need is to run my function in R, and run and open
> filezilla and deposit the file in the right place.

You should use cron, (man cron):
cron (8)             - daemon to execute scheduled commands (Vixie Cron)

So you schedule your task.

-- 
Marco Arthur @ (M)arco Creatives



More information about the R-help mailing list