t-morrison/viewDat: An RStudio add-in keyboard shortcut to quickly view data

Use this keyboard shortcut to view a data.frame or data.table in RStudio's built-in data viewer. The shortcut wraps all the text on your current line in `View()` and executes it, which will result in RStudio opening a data viewer tab with your data. The shortcut will work as long as the complete line returns a data.frame/data.table/tibble when executed normally. It will not work if there is a comment at the end of the line, or for piped functions that wrap multiple lines. To use, you must bind the function to a keyboard shortcut in RStudio by going to `Tools -> Modify Keyboard Shortcuts...` and finding the entry "View data on cursor line". I have bound it to `Ctrl + ,`.

Getting started

Package details

AuthorTommy Morrison
Maintainer
LicenseCC BY-SA 4.0
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("t-morrison/viewDat")
t-morrison/viewDat documentation built on Dec. 23, 2021, 7:41 a.m.