From fca3fd401d487152157bbf7f29e581bffbc17b4e Mon Sep 17 00:00:00 2001 From: Aart van Halteren Date: Wed, 12 Jan 2022 17:28:47 +0100 Subject: [PATCH] Adds rstudio --- docker-compose.yml | 12 +++ rstudio/.config/rstudio/rstudio-prefs.json | 1 + rstudio/.local/share/rstudio/addin_registry | 83 ++++++++++++++++++ .../rstudio/client-state/console.temporary | 3 + .../client-state/environment-grid.persistent | 3 + .../client-state/environment-panel.temporary | 8 ++ .../source-column-manager.persistent | 8 ++ .../client-state/workbenchp.persistent | 9 ++ rstudio/.local/share/rstudio/history_database | 9 ++ .../monitored/lists/command_palette_mru | 0 .../share/rstudio/monitored/lists/file_mru | 0 .../monitored/lists/help_history_links | 0 .../rstudio/monitored/lists/plot_publish_mru | 0 .../share/rstudio/monitored/lists/project_mru | 0 .../rstudio/monitored/lists/user_dictionary | 0 .../share/rstudio/notebooks/patch-chunk-names | 0 .../.local/share/rstudio/pcs/files-pane.pper | 9 ++ .../share/rstudio/pcs/packages-pane.pper | 7 ++ .../.local/share/rstudio/pcs/source-pane.pper | 3 + .../share/rstudio/pcs/windowlayoutstate.pper | 14 +++ .../share/rstudio/pcs/workbench-pane.pper | 5 ++ rstudio/.local/share/rstudio/persistent-state | 2 + .../projects_settings/last-project-path | 0 .../.local/share/rstudio/rstudio-server.json | 3 + .../active/session-c5601715/graphics-r3/INDEX | 0 .../session-c5601715/graphics-r3/empty.png | 0 .../session-c5601715/properites/executing | 1 + .../session-c5601715/properites/initial | 1 + .../session-c5601715/properites/last-used | 1 + .../session-c5601715/properites/project | 1 + .../session-c5601715/properites/r-version | 1 + .../properites/r-version-home | 1 + .../properites/r-version-label | 0 .../session-c5601715/properites/running | 1 + .../properites/save_prompt_required | 1 + .../session-c5601715/properites/working-dir | 1 + .../session-c5601715/session-persistent-state | 2 + .../suspended-session-data/environment_vars | 64 ++++++++++++++ .../suspended-session-data/libpaths | Bin 0 -> 133 bytes .../suspended-session-data/rversion | 1 + .../suspended-session-data/settings | 2 + .../rstudio/sources/s-c5601715/lock_file | 0 rstudio/.my.cnf | 3 + rstudio/Dockerfile | 17 ++++ 44 files changed, 277 insertions(+) create mode 100644 rstudio/.config/rstudio/rstudio-prefs.json create mode 100644 rstudio/.local/share/rstudio/addin_registry create mode 100644 rstudio/.local/share/rstudio/client-state/console.temporary create mode 100644 rstudio/.local/share/rstudio/client-state/environment-grid.persistent create mode 100644 rstudio/.local/share/rstudio/client-state/environment-panel.temporary create mode 100644 rstudio/.local/share/rstudio/client-state/source-column-manager.persistent create mode 100644 rstudio/.local/share/rstudio/client-state/workbenchp.persistent create mode 100644 rstudio/.local/share/rstudio/history_database create mode 100644 rstudio/.local/share/rstudio/monitored/lists/command_palette_mru create mode 100644 rstudio/.local/share/rstudio/monitored/lists/file_mru create mode 100644 rstudio/.local/share/rstudio/monitored/lists/help_history_links create mode 100644 rstudio/.local/share/rstudio/monitored/lists/plot_publish_mru create mode 100644 rstudio/.local/share/rstudio/monitored/lists/project_mru create mode 100644 rstudio/.local/share/rstudio/monitored/lists/user_dictionary create mode 100644 rstudio/.local/share/rstudio/notebooks/patch-chunk-names create mode 100644 rstudio/.local/share/rstudio/pcs/files-pane.pper create mode 100644 rstudio/.local/share/rstudio/pcs/packages-pane.pper create mode 100644 rstudio/.local/share/rstudio/pcs/source-pane.pper create mode 100644 rstudio/.local/share/rstudio/pcs/windowlayoutstate.pper create mode 100644 rstudio/.local/share/rstudio/pcs/workbench-pane.pper create mode 100644 rstudio/.local/share/rstudio/persistent-state create mode 100644 rstudio/.local/share/rstudio/projects_settings/last-project-path create mode 100644 rstudio/.local/share/rstudio/rstudio-server.json create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/graphics-r3/INDEX create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/graphics-r3/empty.png create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/executing create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/initial create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/last-used create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/project create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version-home create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version-label create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/running create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/save_prompt_required create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/working-dir create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/session-persistent-state create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/environment_vars create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/libpaths create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/rversion create mode 100644 rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/settings create mode 100644 rstudio/.local/share/rstudio/sources/s-c5601715/lock_file create mode 100644 rstudio/.my.cnf create mode 100644 rstudio/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 1f513b7..3d2182b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,3 +20,15 @@ services: - .:/usr/src/app depends_on: - db + rstudio: + container_name: rstudio + restart: unless-stopped + build: ./rstudio + environment: + PASSWORD: secret + volumes: + - ./rstudio:/home/rstudio + ports: + - 8787:8787 + + diff --git a/rstudio/.config/rstudio/rstudio-prefs.json b/rstudio/.config/rstudio/rstudio-prefs.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/rstudio/.config/rstudio/rstudio-prefs.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/addin_registry b/rstudio/.local/share/rstudio/addin_registry new file mode 100644 index 0000000..3495a13 --- /dev/null +++ b/rstudio/.local/share/rstudio/addin_registry @@ -0,0 +1,83 @@ +{ + "clipr::clipr_output": { + "name": "Output to clipboard", + "package": "clipr", + "title": "", + "description": "Copies the console output of a selected expression to the system clipboard", + "interactive": false, + "binding": "clipr_output", + "ordinal": 2 + }, + "clipr::clipr_result": { + "name": "Value to clipboard", + "package": "clipr", + "title": "", + "description": "Copies the results of a selected expression to the system clipboard", + "interactive": false, + "binding": "clipr_result", + "ordinal": 1 + }, + "devtools::document": { + "name": "Document a package", + "package": "devtools", + "title": "", + "description": "A wrapper for `roxygen`'s `roxygen2::roxygenize()`", + "interactive": true, + "binding": "document", + "ordinal": 6 + }, + "devtools::run_examples": { + "name": "Run examples", + "package": "devtools", + "title": "", + "description": "Runs R code in examples using `devtools::run_examples()`", + "interactive": true, + "binding": "run_examples", + "ordinal": 7 + }, + "devtools::test_active_file": { + "name": "Run a test file", + "package": "devtools", + "title": "", + "description": "Run the current test file, using `devtools::test_active_file()`.", + "interactive": true, + "binding": "test_active_file", + "ordinal": 3 + }, + "devtools::test_coverage": { + "name": "Report test coverage for a package", + "package": "devtools", + "title": "", + "description": "Calculate and report the test coverage for the current package, using `devtools::test_coverage()`.", + "interactive": true, + "binding": "test_coverage", + "ordinal": 5 + }, + "devtools::test_coverage_active_file": { + "name": "Report test coverage for a file", + "package": "devtools", + "title": "", + "description": "Calculate and report test coverage for the current test file, using `devtools::test_coverage_active_file()`.", + "interactive": true, + "binding": "test_coverage_active_file", + "ordinal": 4 + }, + "reprex::reprex_addin": { + "name": "Render reprex...", + "package": "reprex", + "title": "", + "description": "Run `reprex::reprex()` to prepare a reproducible example for sharing.", + "interactive": true, + "binding": "reprex_addin", + "ordinal": 8 + }, + "reprex::reprex_selection": { + "name": "Reprex selection", + "package": "reprex", + "title": "", + "description": "Prepare reprex from current selection", + "interactive": false, + "binding": "reprex_selection", + "ordinal": 9 + } +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/client-state/console.temporary b/rstudio/.local/share/rstudio/client-state/console.temporary new file mode 100644 index 0000000..274737b --- /dev/null +++ b/rstudio/.local/share/rstudio/client-state/console.temporary @@ -0,0 +1,3 @@ +{ + "input": "" +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/client-state/environment-grid.persistent b/rstudio/.local/share/rstudio/client-state/environment-grid.persistent new file mode 100644 index 0000000..5453579 --- /dev/null +++ b/rstudio/.local/share/rstudio/client-state/environment-grid.persistent @@ -0,0 +1,3 @@ +{ + "objectDisplayType": 0 +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/client-state/environment-panel.temporary b/rstudio/.local/share/rstudio/client-state/environment-panel.temporary new file mode 100644 index 0000000..2d16ead --- /dev/null +++ b/rstudio/.local/share/rstudio/client-state/environment-panel.temporary @@ -0,0 +1,8 @@ +{ + "environmentPanelSettings": { + "scroll_position": 0, + "expanded_objects": [], + "sort_column": 0, + "ascending_sort": true + } +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/client-state/source-column-manager.persistent b/rstudio/.local/share/rstudio/client-state/source-column-manager.persistent new file mode 100644 index 0000000..27894e0 --- /dev/null +++ b/rstudio/.local/share/rstudio/client-state/source-column-manager.persistent @@ -0,0 +1,8 @@ +{ + "column-info": { + "names": [ + "Source" + ], + "activeColumn": "Source" + } +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/client-state/workbenchp.persistent b/rstudio/.local/share/rstudio/client-state/workbenchp.persistent new file mode 100644 index 0000000..57349e8 --- /dev/null +++ b/rstudio/.local/share/rstudio/client-state/workbenchp.persistent @@ -0,0 +1,9 @@ +{ + "rightpanesize": { + "panelwidth": 1485, + "windowwidth": 1501, + "splitterpos": [ + 675 + ] + } +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/history_database b/rstudio/.local/share/rstudio/history_database new file mode 100644 index 0000000..6097470 --- /dev/null +++ b/rstudio/.local/share/rstudio/history_database @@ -0,0 +1,9 @@ +1641994941352:library(DBI) +1641994972245:install.packages("RMariaDB") +1641995012317:library(DBI) +1641996642217:library(DBI) +1641996662061:con <- dbConnect(RMariaDB::MariaDB()) +1641999172022:library(DBI) +1641999197937:con <- dbConnect(RMariaDB::MariaDB()) +1642003072441:con <- dbConnect(RMariaDB::MariaDB(),host="db") +1642003092194:con <- dbConnect(RMariaDB::MariaDB(),user="root",host="db") diff --git a/rstudio/.local/share/rstudio/monitored/lists/command_palette_mru b/rstudio/.local/share/rstudio/monitored/lists/command_palette_mru new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/monitored/lists/file_mru b/rstudio/.local/share/rstudio/monitored/lists/file_mru new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/monitored/lists/help_history_links b/rstudio/.local/share/rstudio/monitored/lists/help_history_links new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/monitored/lists/plot_publish_mru b/rstudio/.local/share/rstudio/monitored/lists/plot_publish_mru new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/monitored/lists/project_mru b/rstudio/.local/share/rstudio/monitored/lists/project_mru new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/monitored/lists/user_dictionary b/rstudio/.local/share/rstudio/monitored/lists/user_dictionary new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/notebooks/patch-chunk-names b/rstudio/.local/share/rstudio/notebooks/patch-chunk-names new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/pcs/files-pane.pper b/rstudio/.local/share/rstudio/pcs/files-pane.pper new file mode 100644 index 0000000..6ce8951 --- /dev/null +++ b/rstudio/.local/share/rstudio/pcs/files-pane.pper @@ -0,0 +1,9 @@ +{ + "sortOrder": [ + { + "columnIndex": 2, + "ascending": true + } + ], + "path": "~" +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/pcs/packages-pane.pper b/rstudio/.local/share/rstudio/pcs/packages-pane.pper new file mode 100644 index 0000000..f3be4df --- /dev/null +++ b/rstudio/.local/share/rstudio/pcs/packages-pane.pper @@ -0,0 +1,7 @@ +{ + "installOptions": { + "installFromRepository": true, + "libraryPath": "/usr/local/lib/R/site-library", + "installDependencies": true + } +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/pcs/source-pane.pper b/rstudio/.local/share/rstudio/pcs/source-pane.pper new file mode 100644 index 0000000..a528f3b --- /dev/null +++ b/rstudio/.local/share/rstudio/pcs/source-pane.pper @@ -0,0 +1,3 @@ +{ + "activeTab": -1 +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/pcs/windowlayoutstate.pper b/rstudio/.local/share/rstudio/pcs/windowlayoutstate.pper new file mode 100644 index 0000000..c5b57cb --- /dev/null +++ b/rstudio/.local/share/rstudio/pcs/windowlayoutstate.pper @@ -0,0 +1,14 @@ +{ + "left": { + "splitterpos": 319, + "topwindowstate": "HIDE", + "panelheight": 724, + "windowheight": 798 + }, + "right": { + "splitterpos": 478, + "topwindowstate": "NORMAL", + "panelheight": 724, + "windowheight": 798 + } +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/pcs/workbench-pane.pper b/rstudio/.local/share/rstudio/pcs/workbench-pane.pper new file mode 100644 index 0000000..75e70e9 --- /dev/null +++ b/rstudio/.local/share/rstudio/pcs/workbench-pane.pper @@ -0,0 +1,5 @@ +{ + "TabSet1": 0, + "TabSet2": 0, + "TabZoom": {} +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/persistent-state b/rstudio/.local/share/rstudio/persistent-state new file mode 100644 index 0000000..b70e0ab --- /dev/null +++ b/rstudio/.local/share/rstudio/persistent-state @@ -0,0 +1,2 @@ +activeClientUrl="http://localhost:8787/" +portToken="97cf3656f4f2" diff --git a/rstudio/.local/share/rstudio/projects_settings/last-project-path b/rstudio/.local/share/rstudio/projects_settings/last-project-path new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/rstudio-server.json b/rstudio/.local/share/rstudio/rstudio-server.json new file mode 100644 index 0000000..b07226d --- /dev/null +++ b/rstudio/.local/share/rstudio/rstudio-server.json @@ -0,0 +1,3 @@ +{ + "context_id": "6A00CEBA" +} \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/graphics-r3/INDEX b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/graphics-r3/INDEX new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/graphics-r3/empty.png b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/graphics-r3/empty.png new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/executing b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/executing new file mode 100644 index 0000000..c227083 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/executing @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/initial b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/initial new file mode 100644 index 0000000..c227083 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/initial @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/last-used b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/last-used new file mode 100644 index 0000000..6f3e111 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/last-used @@ -0,0 +1 @@ +1641999151566.000000 \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/project b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/project new file mode 100644 index 0000000..c86c3f3 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/project @@ -0,0 +1 @@ +none \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version new file mode 100644 index 0000000..cd9b8f5 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version @@ -0,0 +1 @@ +4.1.2 \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version-home b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version-home new file mode 100644 index 0000000..69df731 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version-home @@ -0,0 +1 @@ +/usr/local/lib/R \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version-label b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/r-version-label new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/running b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/running new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/running @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/save_prompt_required b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/save_prompt_required new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/save_prompt_required @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/working-dir b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/working-dir new file mode 100644 index 0000000..4977bc6 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/properites/working-dir @@ -0,0 +1 @@ +~ \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/session-persistent-state b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/session-persistent-state new file mode 100644 index 0000000..4f1edfe --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/session-persistent-state @@ -0,0 +1,2 @@ +abend="1" +active-client-id="cfb30428-aa38-4807-8006-002265146fba" diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/environment_vars b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/environment_vars new file mode 100644 index 0000000..f515392 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/environment_vars @@ -0,0 +1,64 @@ +CLICOLOR_FORCE="1" +CRAN="https://packagemanager.rstudio.com/cran/__linux__/focal/latest" +CWD="/" +DEFAULT_USER="rstudio" +DISPLAY=":0" +EDITOR="vi" +GIT_ASKPASS="rpostback-askpass" +HOME="/home/rstudio" +HOSTNAME="c54de4659c49" +LANG="en_US.UTF-8" +LD_LIBRARY_PATH="/usr/local/lib/R/lib:/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/java-11-openjdk-amd64/lib/server" +LN_S="ln -s" +LOGNAME="rstudio" +MAKE="make" +MPLENGINE="tkAgg" +PAGER="/usr/bin/pager" +PATH="/usr/lib/rstudio-server/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/rstudio-server/bin/postback" +RMARKDOWN_MATHJAX_PATH="/usr/lib/rstudio-server/resources/mathjax-27" +RSTUDIO="1" +RSTUDIO_CONSOLE_COLOR="256" +RSTUDIO_CONSOLE_WIDTH="104" +RSTUDIO_HTTP_REFERER="http://localhost:8787/" +RSTUDIO_PANDOC="/usr/lib/rstudio-server/bin/pandoc" +RSTUDIO_PROGRAM_MODE="server" +RSTUDIO_R_MODULE="" +RSTUDIO_R_PRELAUNCH_SCRIPT="" +RSTUDIO_R_REPO="" +RSTUDIO_R_VERSION_LABEL="" +RSTUDIO_SESSION_STREAM="rstudio-d" +RSTUDIO_USER_IDENTITY="rstudio" +RSTUDIO_USER_IDENTITY_DISPLAY="rstudio" +RSTUDIO_WINUTILS="bin/winutils" +RS_RPOSTBACK_PATH="/usr/lib/rstudio-server/bin/rpostback" +RS_SESSION_TMP_DIR="/var/run/rstudio-server/rstudio-rsession" +R_BROWSER="xdg-open" +R_BZIPCMD="/usr/bin/bzip2" +R_DOC_DIR="/usr/local/lib/R/doc" +R_GZIPCMD="/usr/bin/gzip" +R_HOME="/usr/local/lib/R" +R_INCLUDE_DIR="/usr/local/lib/R/include" +R_LIBS="/usr/local/lib/R/site-library:/usr/local/lib/R/library" +R_LIBS_SITE="" +R_LIBS_USER="~/R/x86_64-pc-linux-gnu-library/4.1" +R_PAPERSIZE="letter" +R_PDFVIEWER="/usr/bin/xdg-open" +R_PLATFORM="x86_64-pc-linux-gnu" +R_PRINTCMD="/usr/bin/lpr" +R_RD4PDF="times,inconsolata,hyper" +R_SESSION_TMPDIR="/tmp/RtmpL2PZYh" +R_SHARE_DIR="/usr/local/lib/R/share" +R_STRIP_SHARED_LIB="strip --strip-unneeded" +R_STRIP_STATIC_LIB="strip --strip-debug" +R_SYSTEM_ABI="linux,gcc,gxx,gfortran,gfortran" +R_TEXI2DVICMD="/usr/bin/texi2dvi" +R_UNZIPCMD="/usr/bin/unzip" +R_VERSION="4.1.2" +R_ZIPCMD="/usr/bin/zip" +S6_VERSION="v2.1.0.2" +SED="/usr/bin/sed" +SSH_ASKPASS="rpostback-askpass" +TAR="/usr/bin/tar" +TERM="xterm" +TZ="Etc/UTC" +USER="rstudio" diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/libpaths b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/libpaths new file mode 100644 index 0000000000000000000000000000000000000000..eb161023b5ffd880a8781dbdfc280900ea9dfa6d GIT binary patch literal 133 zcmWG?i7@7h;9_84U}j)pWMW`u1u_{}LqptjEf^SBn1CEc1{MZRAkC4JnG}#%l2Hs~ w3ji?_R9sfSw75t=CqFqcM<1v}KS;kgvm{j)$Sg`Ms)Q<%z)%E}XJGgT07QoyDF6Tf literal 0 HcmV?d00001 diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/rversion b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/rversion new file mode 100644 index 0000000..cd9b8f5 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/rversion @@ -0,0 +1 @@ +4.1.2 \ No newline at end of file diff --git a/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/settings b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/settings new file mode 100644 index 0000000..374a896 --- /dev/null +++ b/rstudio/.local/share/rstudio/sessions/active/session-c5601715/suspended-session-data/settings @@ -0,0 +1,2 @@ +packrat_mode_on="0" +r_profile_on_restore="1" diff --git a/rstudio/.local/share/rstudio/sources/s-c5601715/lock_file b/rstudio/.local/share/rstudio/sources/s-c5601715/lock_file new file mode 100644 index 0000000..e69de29 diff --git a/rstudio/.my.cnf b/rstudio/.my.cnf new file mode 100644 index 0000000..356ed80 --- /dev/null +++ b/rstudio/.my.cnf @@ -0,0 +1,3 @@ +[smartmeter] +user="root" +password="rootme" diff --git a/rstudio/Dockerfile b/rstudio/Dockerfile new file mode 100644 index 0000000..1d603f9 --- /dev/null +++ b/rstudio/Dockerfile @@ -0,0 +1,17 @@ +FROM rocker/tidyverse:latest + +RUN apt-get update \ + && apt-get install -y libmariadb-dev \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/ \ + && rm -rf /tmp/downloaded_packages/ /tmp/*.rds + +## install packages from CRAN (and clean up) +RUN Rscript -e "install.packages(c('tidyverse','purr','psych','lme4','lmerTest','broom','doBy','reshape','emmeans','effects','mlr','randomForest','glmnet','foreign'), repos='https://cran.rstudio.com/')" \ + && rm -rf /tmp/downloaded_packages/ /tmp/*.rds + + +EXPOSE 8787 + +CMD ["/init"] +