0

I am pretty new to coding in general, therefore bear with me if this is a rookie question. I have a R code that I want to be automatically run, this R code generates some results which I want to publish onto a website daily. What is the easiest way to do so?

  • 1
    If you want to embrace `R` you could look into the `shiny` package for creating [web based applications](https://shiny.rstudio.com/). – Michael Bird Aug 04 '17 at 12:34
  • what operating system are you running? – Nate Aug 04 '17 at 12:42
  • @NateDay The operating system that I use is MacOS – user3303641 Aug 04 '17 at 12:47
  • you probably want to use "crontab": here are two links that may help you get started https://stackoverflow.com/questions/10116411/schedule-r-script-using-cron https://ole.michelsen.dk/blog/schedule-jobs-with-crontab-on-mac-osx.html – Nate Aug 04 '17 at 13:04

1 Answers1

0

This is mainly a question on scheduling the R Scripts. Scheduling R Script

Then you can feed the data into your webpage (e.g. from a csv).

Patrik_P
  • 3,066
  • 3
  • 22
  • 39