我正在尝试对文件进行一些data.table操作Rmd。该文件与knit. 但是,当我运行它时easyHtmlReport,它不起作用:我的 data.tableby表达式失败并出现“错误:找不到对象 'userId'”,userId我在j表达式中使用的数据表中的列之一在哪里。破碎的表达是:
expt.daystat = expt.users[,list(count=length(userId)),
keyby=list(day, status)]
正如我所说,它在平原上工作得很好,knit但在easyHtmlReport.