0 votes
1 view
in R Programming by (50.5k points)

This is my crontab:


It is assumed that my script on R saves csv on my directory.

write.csv(raw_data, paste0("/Users/marianafernandez/Desktop/prueba/data-raw/database_pulls/raw_data/raw_data_", Sys.Date(), ".csv"), na = "", row.names = F)

If I execute that on my terminal: R Script scraping.R everything goes fine. But when I try to do my cronjob is not working.

1 Answer

0 votes
by (108k points)

I think in R programming, you need to put the path to the Rscript in front of its path/to/Rscript and it will correct the problem...that worked for me.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !