RMarkdown with underscores variables

aibl_apoeres <- read_csv('aibl_apoeres_01-Jun-2018.csv')
aibl_cdr_01 <- read_csv('aibl_cdr_01-Jun-2018.csv') %>%
aibl_labdata <- read_csv('aibl_labdata_01-Jun-2018.csv') %>%


How to I make the underscore displayed properly?

We need sample dasa anu a reprex

Unfortunately, in RMarkdown an underscore is a special character in certain circumstances. If you precede it with a backslash you'll get the underscore. Write aibl\_apoeres.

But in most places the underscore should be fine, so a reprex will help.

This topic was automatically closed 21 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.