Skip to content

pasturm/irrsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R package irrsa: RStudio Addins to insert or replace text

R build status

The irrsa (Insert or Replace RStudio Addin) package currently provides two RStudio addins:

  • An addin which inserts = at the cursor position. This is convenient if you prefer to use = instead of <- as an assignment operator.
  • An addin which replaces \ with /. This is convenient if you copy and paste Windows paths (which contain \) into R scripts (which require / in file paths).

The addins can be bound to keyboard shortcuts (e.g. Alt+- to replace the RStudio shortcut for <- with =).

Installation

if (!require("devtools")) { install.packages("devtools") }
devtools::install_github("pasturm/irrsa")

How to assign a keyboard shortcut in RStudio to the addin

  • Select Tools -> Addins -> Browse Addins... -> Keyboard Shortcuts...
  • Add the shortcut (e.g. Alt+- for Insert = and Alt+/ for Replace \ with /).

Release notes

See the NEWS file for latest release notes.

About

RStudio Addins to insert or replace text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages