Skip to content
| Marketplace
Sign in
Visual Studio Code>Keymaps>R Arrow OperatorNew to Visual Studio Code? Get it now.
R Arrow Operator

R Arrow Operator

Jay DesLauriers

|
112 installs
| (0) | Free
Adds keymaps for R (<-, %>%) and Quarto PDF rendering
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

R Arrow Operator Extension

Simple extension that adds the RStudio keybindings for the R assignment arrow operator (<-) and the dplyr pipe operator (%>%), plus Quarto PDF rendering for Jupyter notebooks.

Features

  • Press Alt+- to insert <- (with spaces) when editing R code
  • Press Ctrl+Shift+M (Cmd+Shift+M) to insert %>% (with spaces) when editing R code
  • Matches RStudio's default keybindings
  • Only activates when editing R code
  • Quick PDF rendering button in Jupyter notebook toolbar (requires Quarto installation)

Installation

Install from the VS Code Marketplace or:

  1. Press Ctrl+P in VS Code
  2. Type ext install vscode-r-arrow

Note: To use the PDF rendering feature, you need to have Quarto installed on your system.

Usage

For R operators:

  1. Open any R file (.R, .Rmd, .ipynb)
  2. Press Alt+- for <-
  3. Press Ctrl+Shift+M (Cmd+Shift+M) for %>%

For Quarto PDF rendering:

  1. Open any Jupyter notebook (.ipynb)
  2. Click the PDF icon in the notebook toolbar (next to Run All/Clear All)
  3. Wait for the rendering to complete - a success message will appear when done

Local Development

  1. Clone this repository
  2. Open in VS Code
  3. Press F5 to run

License

BSD-Clause-3

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft