Linked Questions
26 questions linked to/from Scheduling R Script
0
votes
0
answers
3k
views
Execute R script within R project from MAC terminal [duplicate]
I have a set of projects in R studio which I open and run a script within them on a daily basis. I want to automate this procedure to save time, by creating a bash script that will open the projects, ...
1
vote
1
answer
798
views
Command to execute script at specific time [duplicate]
How do I make a command to auto execute a script in Rstudio? I have a script in Rstudio to handle a database, but I need it to be run at 7:00 AM, automatically.
My operation system is Windows and i ...
1
vote
0
answers
90
views
R - How to set a time trigger to run a code n times? [duplicate]
I'm wondering if there is a way to set a kind of "time trigger" run code.
I need to run my code at a specific time for n times in a time interval.
For example, at 17 PM I need to calculate the ...
7
votes
2
answers
4k
views
get online data every hour in R
I would like to get the Observatory data every hour they update the forecast.
My one time data extract code is following.
library(RCurl)
web <- getURL("http://www.hko.gov.hk/contente.htm")
web &...
5
votes
2
answers
3k
views
How can i schedule an R code to run without having my PC on? [web-hosting]
I am wondering if it's possible to have relatively simple R code pull and feed data into say... a text file attached to an email without having to keep my PC on.
I have a web-scraping code here that ...
3
votes
1
answer
2k
views
R- Get script to run every X minutes regardless of execution time.
I have a function of variable execution time, but is going to be under 20 seconds for most use cases. I want a script to execute the function every 10 minutes regardless of how long the function ...
1
vote
1
answer
1k
views
Write table periodically at 20:00 each day
Situation depiction:
I got a shiny app up and running on a server 24/7 connected to live data via SQL Server updated every day.
Problem:
I want to automate table writing process and set it up to ...
1
vote
3
answers
505
views
In R, how can I schedule function execution in a cronjob-like way?
I would like to write an R script that runs for the whole day. It should basically be an infinite loop that fetches trading data, applies smart stuff to it, and uploads the trading data somewhere else ...
0
votes
1
answer
1k
views
Schedule multiple R scripts to run sequentially
I have multiple scripts naming R001.r, R002.r, and so on. I need to schedule them so that they run in a sequential manner one after the other. What would be the best approach to do this.
2
votes
1
answer
1k
views
Error: Memory Exhausted (limit reached?) R code Windows Task Scheduler
I am attempting to use Windows Task Scheduler to automatically run R code daily using instructions from another StackOverflow question (Scheduling R Script). Window Task Scheduler correctly opens ...
0
votes
0
answers
1k
views
Scheduling a Rscript via Rstudio
I would like to schedule a Rscript via Rstudio. I am able to schedule the task in Windows Task Scheduler but I am not able to run it at the same time.
When I do so, it schedules the task to open the ...
0
votes
1
answer
930
views
Send emails automatically through a script in R every day at the same time
I will set up a script to obtain meteorological data and I wanted to send this follow-up by email every day, at the same time. I'm thinking of renting a machine on AWS and letting an R script run ...
0
votes
1
answer
830
views
How to check if Shiny app is running on a specific ip and address?
I have a shiny app which runs on a specific ip address and port.
shiny_start_script.R
runApp(host = myhost, port = myport)
I would like to have another R script which frequently checks if that shiny ...
1
vote
1
answer
525
views
Scheduling R code execution
I am trying to schedule an R code execution. I was referrig Scheduling R Script and I am creating the following batch file:
C:\R\R-2.10.1\bin\Rcmd.exe BATCH D:\mydocuments\mycode.R
However, when I ...
2
votes
1
answer
1k
views
R: Learning How to Use Task Scheduler
I am working with the R programming language.
I am trying to learn how to schedule tasks using the Task Scheduler. I found this post Scheduling R Script and I am trying to follow the instructions from ...