Describe the bug
Using dplyr::group_by on a dataset will break the View() function in the Session Watcher
To Reproduce
library(dplyr)
- Reproduce the error
mtcars %>% group_by(cyl) %>% View()
Error: Argument 3 must be length 32, not 1
- Workaround
mtcars %>% group_by(cyl) %>% ungroup() %>% View()
setting.json
"r.alwaysUseActiveTerminal": true,
"r.bracketedPaste": true,
"r.rterm.mac": "/usr/local/bin/radian"
"r.sessionWatcher": true
Expected behavior
The view function should not crash with group_by and could possibly also display the groups as in print.tibble()
Environment:
- OS: macOS
- VSCode Version: 1.42.1
- R Version: 3.6.2
- vscode-R version: 1.2.6
Describe the bug
Using
dplyr::group_byon a dataset will break theView()function in the Session WatcherTo Reproduce
library(dplyr)setting.jsonExpected behavior
The view function should not crash with group_by and could possibly also display the groups as in
print.tibble()Environment: