From 2aed10d43e8c766376007405f9c28ae857c39bde Mon Sep 17 00:00:00 2001 From: Atharva Date: Fri, 31 May 2024 13:28:17 +0530 Subject: [PATCH] feat: added httpgd config --- .devcontainer/devcontainer.json | 9 +++++---- Dockerfile | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0959fb6f..a122ec1e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,10 +11,11 @@ "vscode": { "settings": { "r.rpath.linux": "/usr/bin/R", - "r.rterm.linux": "/usr/bin/R", - "workbench.editorAssociations": { - "*.md": "vscode.markdown.preview.editor" - }, + "r.plot.useHttpgd":true, + "r.rterm.linux": "/usr/bin/R", + "workbench.editorAssociations": { + "*.md": "vscode.markdown.preview.editor" + }, "svn.multipleFolders.enabled": true, "r.lsp.diagnostics": false }, diff --git a/Dockerfile b/Dockerfile index 3ef0db07..a3556cf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ RUN sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list \ && apt -y install subversion \ && apt -y build-dep r-base-dev \ && apt -y install r-base-dev \ - && Rscript -e "install.packages('languageserver', repos='https://cran.rstudio.com')" + && Rscript -e "install.packages('languageserver', repos='https://cran.rstudio.com')" \ + && Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')" RUN apt install shellcheck RUN apt install -y ccache @@ -27,4 +28,4 @@ ENV BUILDDIR='/workspaces/r-dev-env/build' ENV TOP_SRCDIR='/workspaces/r-dev-env/svn' ENV PATCHDIR='/workspaces/r-dev-env/patches' ARG CONTAINER_VERSION -ENV CONTAINER_VERSION ${CONTAINER_VERSION} \ No newline at end of file +ENV CONTAINER_VERSION ${CONTAINER_VERSION}