Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrbrmstr/QuickLookR
macOS QuickLook plugin for R save(), saveRDS() & feather files
https://github.com/hrbrmstr/QuickLookR
macos macos-quicklook-plugin quicklook-plugin r rdata rmarkdown rstats
Last synced: about 2 months ago
JSON representation
macOS QuickLook plugin for R save(), saveRDS() & feather files
- Host: GitHub
- URL: https://github.com/hrbrmstr/QuickLookR
- Owner: hrbrmstr
- Created: 2016-08-06T00:06:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-12T21:31:15.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T22:14:19.480Z (2 months ago)
- Topics: macos, macos-quicklook-plugin, quicklook-plugin, r, rdata, rmarkdown, rstats
- Language: C
- Homepage:
- Size: 2.12 MB
- Stars: 44
- Watchers: 5
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Mac-QuickLook - QuickLookR
README
# NOTE
**This does not work on modern Macs and I've started a retrofit but it's not happening anytime soon.**
# Intro
This is a macOS QuickLook Plugin for R data files.
That means if you install this plugin (download and unzip [`QuickLookR.qlgenerator.zip`](https://github.com/hrbrmstr/QuickLookR/releases/tag/v0.2.0) and put `QuickLookR.qlgenerator` into `~/Library/QuickLook`) you can hit the spacebar on an R Data or saved RDS file (case-insentitive `.rdata`, `.rda`, `.rds`, `.rmd` are currently supported extensions) and get a `str()` preview (for data files) without firing up R/RStudio and the ability to preview Rmd source files and then optionally go right to editing..
It looks for `Rscript` in `/usr/local/bin` and (for now) requires a helper package [`rdatainfo`](https://github.com/hrbrmstr/rdatainfo). `devtools::install_github("hrbrmstr/rdatainfo")` to install that.
For the moment, the QuickLook preview is rather plain, but I hope to improve the output and switch to reading the data files at the C-level by linking directly to `R.framework`.
![](man/figures/icons.png)
![](man/figures/rda.png)
![](man/figures/rdata.png)
![](man/figures/rmd.png)