Text snippet with pure text

Hi

Is it possible to use a pure code snippet. I tried

snippet loader
  library("pacman")
  p_load("tidyverse", "openxslx", "DBI")

but this results in

library(package)

where the word package is marked.

Cheers
Renger

Hi @arnyeinstein ,

Do you mean putting ' {r eval = FALSE}' in the chunk-header?

JW

No, I mean a snippet with pure text like shown in my example (in Global Options - Code - Editing: Snippets.

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.