R Report Error marcia hon  2018-06-08 10:45
Status: Closed
 
I removed it, and the error has changed:


Error executing command
javax.script.ScriptException: javax.script.ScriptException: An error occurred when running the script 'script.R', exit code: 1).


processing file: /usr/local/apache-tomcat-8.0.38/temp/reports_temp/.../Report_db_46/cached/script.Rmd

  |
  | | 0%
  |
  |......... | 14%
label: labkey (with options)
List of 1
 $ echo: logi FALSE


  |
  |................... | 29%
label: setup (with options)
List of 8
 $ echo : logi FALSE
 $ cache : logi TRUE
 $ results : chr "hide"
 $ warning : logi FALSE
 $ comment : logi FALSE
 $ message : logi FALSE
 $ encoding: chr "UTF-8"
 $ comments: chr ""


  |
  |............................ | 43%
  ordinary text without R code


  |
  |..................................... | 57%
label: unnamed-chunk-1 (with options)
List of 8
 $ echo : logi FALSE
 $ cache : logi FALSE
 $ results : chr "hide"
 $ warning : logi FALSE
 $ comment : logi FALSE
 $ message : logi FALSE
 $ encoding: chr "UTF-8"
 $ comments: chr ""


  |
  |.............................................. | 71%
   inline R code fragments

Quitting from lines 38-95 (/usr/local/apache-tomcat-8.0.38/temp/reports_temp/.../Report_db_46/cached/script.Rmd)
Error in eval(expr, envir, enclos) : object 'labkey.data' not found
Calls: knit2html ... inline_exec -> hook_eval -> withVisible -> eval -> eval
In addition: Warning message:
In readLines(con) :
  incomplete final line found on '/usr/local/apache-tomcat-8.0.38/temp/reports_temp/.../Report_db_46/cached/script.Rmd'

Execution halted