Closed BertJhuang closed 7 years ago
Can you please provide the session info and the complete error message from RStudio console?
installed_packages <- rownames(installed.packages()) if (!"rmarkdown" %in% installed_packages){install.packages("rmarkdown")} if (!"shiny" %in% installed_packages){install.packages("shiny")}
library(rmarkdown) script.dir <- dirname(sys.frame(1)$ofile) Error in sys.frame(1) : not that many frames on the stack setwd(script.dir) Error in setwd(script.dir) : object 'script.dir' not found rmdfile = "IDEAR.rmd" rmarkdown::run(rmdfile) Error in yaml::yaml.load(string, ...) : Scanner error: while scanning a simple key at line 3, column 1could not find expected ':' at line 4, column 1
My environment:
To start IDEAR, I run the script "Run-IDEAR.R" in RStudio,but there is an error message on the shinny browser "Error: missing value where TRUR/FALSE needed"
Any help would be appreciated, thanks.