When sending code to the R console (on tmux), all single quotes appear to be escaped and come back with error. There is no problem when there are no single quotes, or when there are double quotes.
For example:
library(tidyr) runs fine,
library("tidyr") runs fine,
library('tidyr') leads to
> library('\\''tidyr'\\'')
Error: unexpected string constant in "library('\\''tidyr'"
When sending code to the R console (on tmux), all single quotes appear to be escaped and come back with error. There is no problem when there are no single quotes, or when there are double quotes.
For example:
library(tidyr)
runs fine,library("tidyr")
runs fine,library('tidyr')
leads to