rcppclick makes it easier to write C++ scripts in RStudio.
To install:
devtools::install_github("abichat/rcppclick")
rcppclick provides addins to:
- comment lines inside R chunks,
- uncomment lines inside R chunks,
- remove R chunks,
- add a R chunk at the current position,
- add a
// [[Rcpp::export]]
command at the current position.
rcppclick features can be accessed through the Addins menu:
Shortcuts for rcppclick features could be customized in Tools > Modify Keyboard Shortcuts.