MarkEdmondson1234 / googleCloudRunner

Easy R scripts on Google Cloud Platform via Cloud Run, Cloud Build and Cloud Scheduler
https://code.markedmondson.me/googleCloudRunner/
Other
81 stars 26 forks source link

ability to just use R instead of Rscript #153

Closed muschellij2 closed 2 years ago

muschellij2 commented 2 years ago

Allowed to use R instead of Rscript so that things print out.

MarkEdmondson1234 commented 2 years ago

Cool, don't quite grok when and where you should use Rscript vs R

muschellij2 commented 2 years ago

Rscript - nothing is printed out in GCP - aka no "log" R - header and everything prints out like:

R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.