The best way to do this is to put your code in a package and put the files into
a dedicated directory in the package that you just copy files from using
system.file.
R does not have Python """ strings or Perl "here" files. You can create a
script that reads the files in with readlines and write
Hi All,
I would like to store a long string with white space in a variable:
-- cut --
# Create README.md
readme <- "---
title: "Your project title here"
author: "Author(s) name(s) here"
date: "Current date here"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo
2 matches
Mail list logo