In the knitr manual:
aliases: (NULL) a named character vector to specify the aliases of chunk options
As my directory name is long, I want to use aliases as below:
knitr::opts_knit$set(aliases = c(mydir = 'E:/web/cel/ae repo/middle temp data/20190303'), root.dir = mydir,base.dir = mydir)
But I got the error: can not find object mydir. Where is the problem?