From a3ff13b2325cc73258713c894b595304bd464f37 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 11 Oct 2022 12:34:39 -0400 Subject: [PATCH] how to run R script --- r.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/r.md b/r.md index f2d4bf1..0e80057 100644 --- a/r.md +++ b/r.md @@ -40,3 +40,6 @@ for (i in dim1) { } } ``` + +to run a script from the command line +`R --vanilla < scriptfile.R`