Skip to content

Chuanping-Zhao/baseRpipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baseRpipe

baseRpipe is an R package that enhances the usability of the base R pipe operator |>. It provides an RStudio add-in that allows users to insert the pipe operator into their scripts via a keyboard shortcut. This functionality is designed to streamline coding workflows in RStudio by simplifying the insertion of the pipe, thus enhancing coding efficiency and readability.

Installation

You can install the latest development version of the baseRpipe package from GitHub. To install this package, you need to first install the devtools package if it's not already installed and then use it to install baseRpipe from GitHub.

# Install the devtools package if you haven't already
if (!requireNamespace("devtools", quietly = TRUE))
  install.packages("devtools")

# Install baseRpipe from GitHub
devtools::install_github("Chuanping-Zhao/baseRpipe")

example

Setting as fllow: Rstudio>Tools>Addins>baseRpipe>Keyboard Shortcuts... >InsetPipe>Shortcut> Ctrl+m

Features

The baseRpipe package provides the following features:

Shortcut Plugin: Allows users to quickly insert the R pipe operator |> by pressing Ctrl+M (or another custom shortcut).

Background

This package was inspired by other tools and packages, particularly the pipe function in the do package, and has been expanded and improved upon that basis.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages