The irrsa (Insert or Replace RStudio Addin) package currently provides two RStudio addins:
=
at the cursor position. This is convenient if you
prefer to use =
instead of <-
as an assignment operator.\
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 =
).
if (!require("devtools")) { install.packages("devtools") }
devtools::install_github("pasturm/irrsa")
=
and Alt+/ for Replace \
with /
).See the NEWS file for latest release notes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.