【发布时间】:2017-03-24 20:01:42
【问题描述】:
我正在尝试通过 Windows 中的批处理文件运行闪亮的仪表板。这是我的run.r 文件的样子
require(shiny)
require(shinyjs)
folder_address = 'E://Dash'
runApp(folder_address, launch.browser=TRUE)
这是我的batch file 的样子
"C:\Program Files\R\R-3.3.1\bin\R.exe" -e "shiny::runApp('E:/Dash', launch.browser=TRUE)"
但是,每当我运行批处理文件时,它都会打开浏览器并抛出此错误
ERROR: shinyjs: Error parsing the JavaScript code provided.
【问题讨论】: