forked from r-devel/r-dev-env
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.Rprofile
More file actions
14 lines (12 loc) · 671 Bytes
/
.Rprofile
File metadata and controls
14 lines (12 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Set site library for full use of VSCode-R extension.
# This is where packages required by VSCode-R extension are installed, specifically
# - jsonlite and rlang for R Session Watcher (needed to open HTML help pages)
# - languageserver for code completion
# - httpgd for http graphics device
# These are built and installed for the default R version when container is built.
.Library.site <- "/usr/local/lib/R/site-library"
# .libPaths() already includes site library for default R version.
.libPaths(c(.libPaths(), .Library.site))
# For PNG graphics uncomment following lines
# options(vsc.use_httpgd = FALSE,
# vsc.dev.args = list(width = 800, height = 600))