From 99e10f5bf1b9db6baf71e3d1a2b6a05ba74813c3 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 15 Sep 2022 13:24:00 +0000 Subject: [PATCH] Add RStudio --- TODO.md | 2 +- roles/classroom/tasks/main.yml | 1 + roles/classroom/tasks/rstudio.yml | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 roles/classroom/tasks/rstudio.yml diff --git a/TODO.md b/TODO.md index 765b9ec..86b506c 100644 --- a/TODO.md +++ b/TODO.md @@ -15,6 +15,7 @@ - Orange - Pelles C for Windows - Python (latest) +- RStudio - SWI-Prolog - Thonny - VirtualBox @@ -56,7 +57,6 @@ - IAR Embedded Workbench for ARM - LTspice IV - Microsoft Visual Studio Code -- RStudio - SafeExamBrowser - Scala Programming Language Distribution - VMware Workstation diff --git a/roles/classroom/tasks/main.yml b/roles/classroom/tasks/main.yml index a48f372..f3b21c8 100644 --- a/roles/classroom/tasks/main.yml +++ b/roles/classroom/tasks/main.yml @@ -13,6 +13,7 @@ - import_tasks: pelles-c.yml - import_tasks: processing.yml - import_tasks: python.yml +- import_tasks: rstudio.yml - import_tasks: swi-prolog.yml - import_tasks: thonny.yml - import_tasks: virtualbox.yml diff --git a/roles/classroom/tasks/rstudio.yml b/roles/classroom/tasks/rstudio.yml new file mode 100644 index 0000000..4a500c3 --- /dev/null +++ b/roles/classroom/tasks/rstudio.yml @@ -0,0 +1,18 @@ +- name: Install R.Studio + win_chocolatey: + name: r.project, r.studio + +- name: Create configuration directory + win_file: + path: "%PROGRAMDATA%\\RStudio" + state: directory + +- name: Disable crash reporting + win_copy: + dest: "%PROGRAMDATA%\\RStudio\\crash-handler.conf" + content: crash-handling-enabled=0 + +- name: Disable update notifications + win_copy: + dest: "%PROGRAMDATA%\\RStudio\\rstudio-prefs.json" + content: { "check_for_updates": false }