Skip to main content
2 of 2
added 2 characters in body

Running Rscript from cron seems to have libPaths wrong - It seems to have other environment variables all toogether. This primarily messes up loading libraries. You can either install packages system-wide for R. Or use .libPaths() at the start of the script, pointing it to where it should take the packages from.