[R] “Could not find function observeEvent” in shiny

Pascal Oettli kridox at ymail.com
Wed Jan 21 09:02:58 CET 2015

Cross-posted here:

Cross-posting is considered to be impolite.


On Wed, Jan 21, 2015 at 1:20 PM, Ramkishore Swaminathan
<ramkishore31 at gmail.com> wrote:
> Hi fellow R community users,
> I am using the shiny server to build a webapp and am connect R with mongodb
> to fetch results from database and display it dynamically.
> The app executes fine on my localhost.
> I have deployed the shiny server on a ubuntu 12.04 machine and when I run
> giving the IP address along with the application path in the browser it
> throws the error
> "The application unexpectedly exited.Diagnostic information has been dumped
> to the JavaScript error console."
> I went and checked the mozilla browser console where it says
> Listening on Error in (structure(function (input,
> output) : could not find function "observeEvent" " vload_controller:27
> Even if I execute from the R console on the remote machine, it says
> runApp()
> Listening on
> But a browser with the webapp does not open.
> The observeEvent function works fine on my localhost but not on the remote
> IP.
> Can somebody please help me? :)
> I have attached code and screenshot for the same.
> Thanks,
> Ramkishore
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Pascal Oettli
Project Scientist
Yokohama, Japan

More information about the R-help mailing list