How to run ShinyApp standalone? - r

I red a lot of answers to this question, but I really confused.
I've a ShinyApp, and I want to run it by click on some icon in my desktop, without using R or command line.
I dont want to upload the app to the server, only in my computer.
what is the best way to do it?

Related

How to use shinyShortcut package on linux

I am trying to create an shiny app for people that are not R users (they even may be frightened :D).
After the question about server/local app here (How to import remote csv file on a deployed shiny app?), I try to use the shinyShortcut package solution.
I did the following:
devtools::install_github("ewan-keith/shinyShortcut")
library(shinyShortcut)
shinyShortcut(shinyDirectory = "/home/cha/Server",
OS = "unix")
then I got :
So I have all that is normally required (at least that is what I think).
Since I never used the .desktop before, I ran the instruction here.
I put the .desktop on my desktop
Right click and change setting the tutorial did
I allow again from a right click and the .desktop disappears. Everything seemed ok.
However, when I double-clicked on the icon, nothing happened...
I tried to change the web browser or the application to launch it, nothing works.
What did I misunderstand ?
Thanks in advance
Charlotte (Ubuntu 20.04)

How can I tell if Jupyter Notebook cell is running?

the stupid question probably, but when I'm using Google Colab, on the top left side there is a play button, which is moving/loading once pressed, so you can tell the cell is running.
But on the normal Jupyter Notebook installed locally you just click run on top and... Have no idea to tell if it's running or not... Is there a way I can add the play button, or somehow else tell it's still running? (See image below for better understanding)
If it's running, you will see an asterisk instead of the number

Lock FlexDashboard Markdown for edits

I am trying to find a way to make a FlexDashboard (using Shiny runtime) accessible to a colleague without access to the internet.
To provide my colleague with the full interactive experience (drop-down menus etc), I was thinking of simply installing R on my colleagues laptop and share the markdown script with them but does anyone know a way to lock the script for edits?
I just want to make sure that there is no accidental edits which might mess up the running of the markdown.
Look forward to hearing any inputs!
I would create a shiny application tweak it perfectly and then write a docker script to run they shiny application as an independent entity,
Your friend can use that docker container to run the dashboard and interact with it, but has no need of opening the script or anything else, just bake all the functionality into the shiny application and call the docker container and the flexdashboard will publish to a console.

Shiny apps stuck in italics

I opened some Shiny apps today and discovered that, when I run them in RStudio, every piece of text in each of the apps was in italics -- in headers, select-input menus, and even data tables. Nothing in any of the apps is supposed to be (nor ever has been) italicized. The error occurs exclusively when I run the apps locally in RStudio; everything looks normal when I run it locally in a browser or when I go to the links where they are deployed.
Nothing in the files has changed since yesterday (when they were fully functional) and my RStudio is fully updated. I updated R and all the relevant packages but it did not make a difference.
Any idea what's going on or how to fix it?
Thanks!

is it possible to embed an interactive IPython Notebook in my website/blog?

Suppose I've created my wonderful IPython notebook (that is, a .ipynb file).
Now, is it possible to make it available for users of my website/blog?
With "available" I mean the following: they arrive to my website, find the notebook and immediately start to play with it (run code, display plots, change parameters etc etc)... But, without need the need to install anything on their local machine.
I already know the existence of Jupyther, that make it possible to share notebooks. But, as in this example, what the user would find is a simple web page, and in order to run the code he would have to download the .ipynb --> save it in local machine ---> open it with a pre-installed IPython interpreter.
This is something I would like to avoid.
Hope I was clear.
Thanks in advance for your time.
Gabriele
You can use tmpnb, which provides temporary notebook servers that get discarded after a while. If you want to have a different UI that better fits into a blog post, have a look at thebe.

Resources