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}