I have been trying Shiny with R and loved the concept. I have been looking at many examples online and everything is working just fine.
When i try to run the exact same example on my localhost server, I can see the text etc, tables but no images etc. It seems I have a JSON error in my browser. I dont understand why it is not happening when I browse online example. There is a png file in the example. Shiny struggles to generate this?
Thank you for your help.
It sounds like you are using Internet Explorer 8 or 9, or another browser that doesn't support websockets. Running Shiny applications without Shiny Server requires a fairly recent version of Chrome, Firefox, Safari, or IE10. (Probably Opera as well, but we don't test it.)
The online examples you've seen all use Shiny Server, which allows applications to be used using many older browsers.
Related
Please, I need help about a strange behaviour of our server.
The server (Microsoft Windows Server 2012, IIS 8.5, Plesk Onyx 17.8.11) hosts a lot of sites developed in different technologies (PHP, ASP.NET, HTML+JS).
These sites work well with Chrome and FireFox both on Windows and MacOS, but Safari on iOS 11 & 12 is unable to open the sites, so I get this error "safari can't open the page because the server where this page is located isn't responding".
Sometimes Safari open the site for a few minutes, then it don't work again.
I experience a similar in Microsoft Edge: it can't open the sites unless I run Fiddler, in this case it works well.
I'm getting crazy, because this behaviour seems to be unpredictable.
Thank you in advance.
There are many compatibility issues for safari (I can't speak for edge). If you inspect the CSS code of these particular sites that you are having trouble running, and with some research, you will likely be able to identify the lines of code that are causing the sites not to load on Safari.
We are using webspeech(https://www.drupal.org/project/webspeech) module for text-to-speech in one of our project. Basic functionality is working fine. But when we open this site in mobile devices (samsung, apple, sony) TTS feature is not working and no error is also being displayed.
We have tried to debug the problem but not able to do so.
Any help will be much appreciate.
If you read the module requirements it says specifically
Flash 9+ is required on client web browser. Modern browsers those
support HTML5 may also work but not guaranteed.
I see you opened an issue with the maintainer, which will probably be your best source of information, but it looks like you might be hit or (mostly) miss on mobile devices for now.
I have a windows machine. I use R shiny (R 3.0.1 and Shiny 0.10.2.1) to share some apps with others on the same network.
Just running an app using runApp("some_app") works fine on chrome/IE10 but not of much use because others on the network can't access it. When I run using: runApp("some_app", host="XX.XXX.XX.XXX", port=3456), others can access the page but can't see any reactive output only on IE10.
Any idea what would be the problem with reactive output on IE10 when I use my computer's ip while it works okay on chrome?
Many Thanks
Pradeep
I'm not an expert, but my impression is that a lot of things don't work in IE, especially things that are new / cool.
A quick google search provided some helpful links, especially this one on shiny's google group.
If people really can't use Chrome or Firefox, I would consider having people connect to a remote server that does have Chrome installed.
I'm using Chrome 5.0.375.86. Can anyone point me to a working example of an HTML page communicating (or at least establishing a handshake) in Chrome with a C# (faux) web server?
The current version of WebSockets in hixons-76 (or whatever) and not -75. What does production Chrome currently support? I think it's -75. Do I need the nightly build for -76?
This is also a nice example (The author says it should work with -76)
http://nugget.codeplex.com/
Heres a Related Question on SO, Should help you to get started
Maybe you will find useful my demo http://programistka.com/en/websockets-c/ which uses two open source libraries - one for server and one for client. In my opinion it is really worth to check them.
I build a webpage and in IE8 + FF3 it goes well, but a friend opens it in ie7 and it's terrible.
How can I emulate IE7 / other things / FF2 in my Windows 7 envoirement?
You need to run in in a virtual machine as you can't have multiple versions of IE installed on the same machine the same time.
Downlaod Virtual PC 2007
Download the IE7 Virtual PC image from Microsoft. There's also an IE6 image there.
You can also install FF2 on the virtual machines safely.
IE8 has a Developer Tools utility under Toos->Developer Tools. You can change Compatibility Mode to view how the page would look in IE7. As for FF2, the only way I know of is to actually have FF2 installed. Maybe you can find an older download package?
Once the utility opens there is a Browser Mode: box on the top menu. Change that to IE7, and it will render the page as IE7 would.
I've used the 'Superpreview' feature that comes with Expression Web 3, it has help me to get a page working with IE8,7 and even 6, along with FireFox. You can get a free trail if you can't get the full version.
You can use IETester for IE 5.5 to 8 for emulation. You can add on DebugBar (by the same developer) into IETester for Firebug-like debugging.
However Firefox I'm not sure. The only thing I can think of is to download a clean FF 2 and install it on another computer.
As for Firefox, you can use a portable version.
Various options locally:
Run multiple virtual machines hosting different browsers (or combinations of browsers)
The latest version of expression has a fairly comprehensive browser comparison tool
There are some clever IE hacks out there too.
Also online
Browsercam (and similar sites)
Adobe Browserlab possibly - not sure how "live" it is yet.
There are a number of simulators, one at least from MS to let you view in different IE browser versions. However they are simulators so may not accurately reflect the actual browser. Another way, but it might be over the top for your purposes is to install VM's and put the real browser in each VM to do the testing.
I'm currently using Internet Explorer Collection which gives me over a dozen versions of IE, not that I test that many but it's interesting to look back at occasionally.