https://github.com/indenkun/addinfun
`{addinfun}` provide add-ins for the insert function of each pipe operation for `{base}` and `{magrittr}` in RStudio.
https://github.com/indenkun/addinfun
r rstudio-addin
Last synced: about 1 month ago
JSON representation
`{addinfun}` provide add-ins for the insert function of each pipe operation for `{base}` and `{magrittr}` in RStudio.
- Host: GitHub
- URL: https://github.com/indenkun/addinfun
- Owner: indenkun
- License: other
- Created: 2022-04-27T12:32:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-28T15:10:43.000Z (almost 3 years ago)
- Last Synced: 2025-01-27T08:11:45.770Z (3 months ago)
- Topics: r, rstudio-addin
- Language: R
- Homepage:
- Size: 928 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# addinfun
`{addinfun}` is a collection of Addins for Rstudio for me, but maybe also you.
Functions may be added, specifications of functions may change or become obsolete, and names may change without notice.
Currently, `{addinfun}` provide add-ins for the insert function of each pipe operation for `{base}` and `{magrittr}`, and by registering one of these as a keyboard shortcut, the add-ins provide the ability to insert two pipe operations with keyboard shortcuts, along with the keyboard shortcut for the pipe operation set up in RStudio.
## Installation
You can install the development version of addinfun from GitHub like so:
``` r
install.packages("remotes")
remotes::install_github("indenkun/addinfun")
```After installation, you may need to restart RStudio.
Then you can access the `{addinfun}` functions from the ‘Addins’ menu in RStudio.
## Example
Once installed, the add-in for inserting pipe operations is registered in RStudio's Addins.
Example: For an add-in that inserts a `{magrittr}` pipe operation.

Example: For an add-in that inserts a `{base}` pipe operation.

These add-ins can be configured with keyboard shortcuts in the add-in settings of Tools in RStudio.

This means that if the insert function in the keyboard shortcut of the pipe operation set on the RStudio side is set as the `{base}` pipe operation, then by setting the insert of the `{magrittr}` pipe operation in the add-in, it is possible to set the keyboard shortcut of two pipe operations keyboard shortcuts can be set up.
The reverse is also true.
However, if there are changes in the minor version or higher of R that differ from when it was installed, the add-in may not be reflected in that case.
## License
MIT.
## Notice
* The email address listed in the DESCRIPTION is a dummy. If you have any questions, please post them on ISSUE.