Skip to content

Releases: REditorSupport/vscode-R

v2.3.7

07 Feb 16:15

Choose a tag to compare

Note

  • After v2.3.4, httpgd plot viewer requires httpgd 1.2.0 or later. If the plot viewer shows 404 error, installing the latest release of httpgd should resolve the problem. (#972)

Enhancements

  • Data viewer supports Apache Arrow Table and r.session.data.rowLimit setting is added to limit the number of rows to show. (#945, thanks @eitsupi)
  • R gitignore file is updated and "R: Create gitignore" also supports multi-root workspace. (#949, thanks @eitsupi).
  • Httpgd plot viewer has a delay before refreshing to avoid redrawing too often. (#956)
  • Shell commands used in tasks use strong quoting. (#964, thanks @shrektan)
  • User will be prompted to install languageserver if the package is missing. (#965, @shrektan)
  • DCF syntax is updated to support syntax highlighting of .lintr. (#970, thanks @eitsupi)
  • Column headers show the class and type of each column in tooltips. (#974, thanks @eitsupi)
  • Extension is activated if the workspace folder contains *.{rproj,Rproj,r,R,rd,Rd,rmd,Rmd} at any level of sub-folders. (#979)

Fixes

  • Fix typo in command line arguments. (#954, thanks @achey2016)
  • R Markdown commenting uses HTML-style comments outside code blocks. (#958)
  • R Markdown rendering process gets LANG environment variable to properly handle unicode characters. (#961, thanks @shrektan)

Commits

  • 24a47c9: correcting typo on command argument (slient instead of silent) (#954) (Anne Cheylus) #954
  • 8b1cb58: update the .gitignore file for R (#949) (eitsupi) #949
  • ff977b7: Add delay before refreshing plots (#956) (Manuel Hentschel) #956
  • 9275ca1: Fix rmd comment (#958) (Manuel Hentschel) #958
  • 25b3dda: Add row limit setting of data viewer and support Apache Arrow Table (#945) (eitsupi) #945
  • 423cbd6: Bump node-fetch from 2.6.1 to 2.6.7 (#962) (dependabot[bot]) #962
  • 41ba420: set the LANG env when rendering rmarkdown (#961) (Xianying Tan) #961
  • 55d6d67: should use Strong quote for shell commands (#964) (Xianying Tan) #964
  • 00a89f9: add note about httpgd package version (#972) (eitsupi) #972
  • 097791d: update dcf syntax and add support ".lintr" file (#970) (eitsupi) #970
  • f8e29d9: prompt to install languageserver is not available (#965) (Xianying Tan) #965
  • f7b3df0: [data frame viewer] Add type of column to headerTooltip (#974) (eitsupi) #974
  • 66255d9: Upgrade ag-grid-community to 26.2.1 (#975) (Kun Ren) #975
  • 1ec6b5a: Activate extension on subfolder (#979) (Kun Ren) #979
  • a8c801a: release 2.3.7 (Kun Ren)

v2.3.6

16 Jan 03:52

Choose a tag to compare

Enhancements

  • Added raw string syntax. (#922)
  • Added support for both single and double brackets in code-server's URI template. (#934, thanks @benz0li)

Fixes

  • Fixed syntax highlighting so that variables and function parameters are highlighted more consistently. (#939)
  • R processes are now properly terminated on extension deactivation. (#941, thanks @albertosantini and @Yunuuuu)

Commits

v2.3.5

18 Dec 15:59

Choose a tag to compare

Enhancements

Fixes

  • Fixed R Markdown knit and preview without opening a workspace folder. (#914)
  • Fixed DESCRIPTION syntax highlighting for Authors@R field. (#920)
  • Fixed an issue about leaking child processes. All spawned child processes (e.g. help server, language server, R Markdown preview) are cleaned up on exit. (#918)

Commits

v2.3.4

30 Nov 15:21

Choose a tag to compare

Enhancements

Fixes

  • Fixed a Uri handling bug in Windows. (#888)
  • Fixed a bug in restarting help server when library has changed. (#893)

Commits

v2.3.3

21 Nov 14:26

Choose a tag to compare

Enhancements

  • The information of attached R session now appears in the label and the tooltip of the status bar item. (#836)
  • A new setting r.rmarkdown.knit.command is added to support customized knit command if not specified in the document. (#841, #850, thanks @xoolive)
  • A terminal profile for R is added via the new terminal API. (#851)
  • The help topics are now automatically updated when R packages are installed, removed, or upgraded. (#863)

Fixes

  • Fixed the problem with PowerShell on Windows when installing packages. (#846)
  • Fixed the handling of single quote in roxygen comments and the roxygen block is now automatically exited after two empty lines. (#847)
  • Backtick is added to the list of quote characters for syntax highlighting. (#859, thanks @jan-imbi)
  • Fixed detecting the YAML frontmatter in R Markdown documents. (#856)
  • Fixed attaching an R session with an open httpgd device that also triggers the plot viewer. (#852)
  • Fixed the chunk coloring in R Markdown preview. (#867)
  • Fixed the delimiter used in the output of the background knit process. (#868)

Commits

v2.3.2

22 Oct 16:58

Choose a tag to compare

Enhancements:

  • .vsc.browser() now handles file:// urls. (#817)
  • r.session.levelOfObjectDetail gains a Normal value for the session watcher to write only first level structure of global objects for performance. (#815)
  • Session watcher now supports workspace folder as symlinks. (#827)

Fixes:

  • Httpgd plot viewer respects the view column specified by r.session.viewers.viewColumn.plot setting (#816)
  • View is completed replaced so that tibble::view() could
    trigger data viewer (#818)
  • Help cache is disabled between sessions (#819)

Commits

v2.3.1

07 Oct 06:39

Choose a tag to compare

Enhancements

Fixes

  • unsafe-eval is re-enabled in WebView Content Security Policy to make htmlwidgets such as plotly work. (#805)
  • The help viewer now respects r.session.viewers.viewColumn.helpPanel. (#804)
  • The working directory of the knit background process is now consistent with the knit working directory so that .Rprofile and renv setup are respected. (#807)

Commits

v2.3.0

23 Sep 14:04

Choose a tag to compare

Enhancements

  • R Markdown preview now supports background rendering with progress bar, customizable
    working directory, and smart knit button. (#765)
  • {rstudioapi} emulation is enabled by default. (#769)
  • A new setting r.session.objectLengthLimit is added to limit the output of the names of global objects with many named elements which might cause significant delay after inputs. (#778)
  • NA and Inf could now be correctly displayed in the data viewer. (#780)
  • User-specified R Markdown output format is now respected. (#785)

Fixes

  • The security policy of WebView is relaxed to support {flextable} widgets. (#771)
  • The R Markdown background rendering process could be properly terminated now. (#773)

Commits

v2.2.0

21 Aug 01:28

Choose a tag to compare

New Features

  • VS Code settings are now accessible from R and all vscode-specifc R options (vsc.*) now have
    corresponding VS Code settings. (#743)

Enhancements

  • Check conflict extension mikhail-arkhipov.r on activation. (#733)
  • Add icons to WebViews. (#759)

Fixes

  • Fix date filter in data viewer. (#736)
  • Fix htmlwidget resource path in WebView. (#739)
  • Use .DollarNames with default pattern. (#750)
  • Fix syntax highlighting for c() in function args. (#751)
  • Handle error in capture_str(). (#756)

Commits

v2.1.0

20 Jul 10:41

Choose a tag to compare

Important changes

  • The project is migrated to REditorSupport organization on GitHub. (#98)
  • The R language service (completion, document outline, definition, etc., formerly implemented in vscode-r-lsp) is now integrated into vscode-R (#695). The vscode-r-lsp extension will be unpublished from the VS Code marketplace at some point.
    • Search r-lsp extension, uninstall it and vscode-R will start the R langauge service automatically.
    • The language service still depends on the R package languageserver. Make sure the package is installed before using vscode-R.
    • To opt-out the language service, set "r.lsp.enabled": false in your user settings.
  • R session watcher is now enabled by default. (#670)
    • r.previewDataframe and r.previewEnvironment will use the session watcher if enabled.
    • To opt-out, set "r.sessionWatcher": false in your user settings.

New Features

  • Preview R Markdown documents via background process with auto-refresh and dark theme support. (#692, #699)

Enhancements

  • Several enhancements of the workspace viewer. (#672)
  • The plot viewer now supports customizable CSS file via r.plot.customStyleOverwrites and r.plot.togglePreviewPlots now cycles through mutlirow/scroll/hidden. (#678, #681)
  • The data viewer is now based on ag-grid with better performance and better support for filtering and dark theme. (#708)
    • The data viewer might not work with existing R sessions started before the extension update.
      A restart of sessions is needed to use the new data viewer.
  • Command r.showPlotHistory is removed in favor of the httpgd-based plot viewer. (#706)
  • The plot viewer now supports full window mode. (#709)

Fixes

  • LiveShare API bug fix and enhancements. (#679)
  • Fix syntax highlighting of integers in scientific notation. (#683)

Commits