Learn R Programming

spAddins (version 0.2.0)

replace_slash: Replace slash

Description

RStudio add-in to manage various types of slashes. Select a piece of text with a cursor and do the necessary replacement operation in the selected text:

  • rs_replace_slash_bs2d single back-slash into double back-slash;

  • rs_replace_slash_bd2s double back-slash into single back-slash;

  • rs_replace_slash_b2fw back-slash into forward-slash;

  • rs_replace_slash_fw2b forward-slash into back-slash.

Usage

rs_replace_slash_bs2d()

rs_replace_slash_bd2s()

rs_replace_slash_b2fw()

rs_replace_slash_fw2b()

Arguments