How to allow different symbols in Rstudio

new rstudio doesn't recognize the new pipe symbol |> . I get error on the side.

  1. I want to remove those error so the IDE looks clean and only show me error that are important.
  2. How can I create a shortcut key for adding new pipe in Rstudio.

The new pipe operator will not be available until R 4.1. To use it in RStudio requires waiting or installing a dev version of R.

1 Like

Support for the pipe operator is currently available only in the daily builds of RStudio. You can get one here:

Once you get a daily build, go to Options -> Code and check "Use native pipe operator |>". After you do that, the Insert Pipe command will insert the R 4.1 native pipe.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.