Open saravana333 opened 7 years ago
I cannot reproduce your issue. Are you using the latest version of shiny? Your app looks very different from mine: https://github.com/yihui/shiny-apps/tree/master/voice I don't know what you changed. It seems you were trying to make it into an R package. If that is the case, you should not put the app under the R/ directory, but a certain directory under inst/
instead.
I realise this is old, but it could happen to more people if they c&p the code in R and run it via the console:
I think it should work if e.g. one changes hello.R to app.R und runs runApp("D:/Data_Sara/Data Analytics/R/MyPackage/R")
.
As far as i can see the app is run via the console and the code looks for "www/init.js" in the working directory getwd()
. So my best guess is getwd()
is unequal to "D:/Data_Sara/Data Analytics/R/MyPackage/R" and that causes the error.
Try specifying the relative/absolute path to init.js Ex: includeScript("./init.js")
Hi, Ui.R and server.R is doing well but where to specify the init.js file in project.
Voice recognition is not enabled but visualization is showing.
Please find the image below to showcase the code and location of java script file.
Description and screenshots of the locations are very much appreciated.
Cheers!!