Error - Server connection

402 views
Skip to first unread message

Luis Otavio Fernandes

unread,
Jun 27, 2014, 12:49:26 PM6/27/14
to shiny-...@googlegroups.com
Hello,

I run my app locally in one machine and it works ok, but when I try to run it in another machine, that has the newer version of RStudio, it doesn´t work.

The error message is:

Warning in readLines(file, warn = FALSE) :
  invalid input found on input connection 'C:\Users\Otavio\Documents\Shiny\GEDUC/server.R'
Error in do.call(appvars$server, args) : 
  'what' must be a character string or a function

Do you have any hint?

Thanks!!!

Luís Otávio

Joe Cheng

unread,
Jun 28, 2014, 6:00:24 AM6/28/14
to Luis Otavio Fernandes, shiny-...@googlegroups.com
Your server.R file definitely contains a call to shinyServer(), and shinyServer was passed a valid function?


--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yihui Xie

unread,
Jun 28, 2014, 10:16:27 AM6/28/14
to Joe Cheng, Luis Otavio Fernandes, shiny-...@googlegroups.com
I guess the warning message "invalid input found" is an indication of
reading Unicode characters without an appropriate encoding. The other
machine might have a different locale. We need to see sessionInfo()
from both machines.

Regards,
Yihui

Luis Otavio Fernandes

unread,
Jul 3, 2014, 9:12:21 AM7/3/14
to Yihui Xie, Joe Cheng, shiny-...@googlegroups.com
Hi Joe Cheng and Yihui Xie,

Thank you for helping. The locale was different but I don´t think this is the problem. I use Shinyapps and I guess the problem was related with that. I tryed a lot of things unsuccessfully, but when I deleted the paste that Shinyapps creates when deploying it worked.

Regards,

Luis 

Xiaowei Chen

unread,
Oct 21, 2014, 10:46:14 AM10/21/14
to shiny-...@googlegroups.com, yi...@rstudio.com, j...@rstudio.com
Hi:
Yes I got the same problem,and when I deleted the deploying folder it worked

在 2014年7月3日星期四UTC+8下午9时12分21秒,Luis Otavio Fernandes写道:
Reply all
Reply to author
Forward
0 new messages