Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasp85/Hr
Easy Access to Uppercase H
https://github.com/thomasp85/Hr
rstudio rstudio-addin text-processing
Last synced: 8 days ago
JSON representation
Easy Access to Uppercase H
- Host: GitHub
- URL: https://github.com/thomasp85/Hr
- Owner: thomasp85
- License: other
- Created: 2019-12-19T11:36:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-19T11:36:33.000Z (almost 5 years ago)
- Last Synced: 2024-12-03T00:28:02.448Z (9 days ago)
- Topics: rstudio, rstudio-addin, text-processing
- Language: R
- Homepage: https://en.wikipedia.org/wiki/Horse
- Size: 524 KB
- Stars: 53
- Watchers: 4
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - thomasp85/Hr - Easy Access to Uppercase H (R)
README
# Hr
The goal of Hr is to provide a native R binding to the tech tip provdied below:
![](man/figures/tweet.png)
All credit for the invention of this approach goes to [@Michael1979](https://twitter.com/Michael1979)
## Installation
This package will probably not be released on CRAN. It can be installed from
github using devtools:``` r
# install.packages("devtools")
devtools::install_github('thomasp85/Hr')
```## Example
After installation the Addins dropdown should contain an *Insert H* entry:![](man/figures/dropdown.png)
Simply click on this to insert an "H" at the current position of the cursor.
If you would like to use a shortcut, it is easy to add this by finding the addin
in the keyboard shortcut menu and assign, say `Shift+h` to it.![](man/figures/shortcut.png)
Now, every time
you press `Shift` and `h` at the same time, an uppercase h will get inserted at
the cursor position## Roadmap
- It could be nice to cache the uppercase h character so that the wikipedia page
was not downloaded and parsed every time
- Possible extension to handle other upper case letters## Code of Conduct
Please note that the Hr project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/1/0/0/). By contributing to this project, you agree to abide by its terms.