This is an R Markdown document.
Test include from snakemake input.txt
.
# This works, but indicates that the working directory is NOT the workdir
data <- read.table("datadir/input.txt")
data
## V1 V2 V3
## 1 1 2 3
getwd()
## [1] "/home/johannes/scms/snakemake/tests/test_issue365"
# This fails
#data <- read.table("snakemake@input[[1]]")
#data