I am storing my data in S3 bucket provided from Amazon. I am performing analytics in R studio by creating instance.
I am storing my desired result back in my S3 bucket.
I would like to create an front end in visual studio for my results in R. Could anyone guide me on how I could proceed with this ?
I have created the AWS explorer in visual studio.
Any lead and guidance for this idea would be helpful.
But seriously, take a look at shiny
Plagiarizing from that link: "Shiny is an R package that makes it easy to build interactive web apps straight from R. You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards. You can also extend your Shiny apps with CSS themes, htmlwidgets, and JavaScript actions."
Options (not in any order):
Shiny is an R package that makes it easy to build interactive web apps straight from R
If front-end is all about reports/dashboard, you can push your results in ElasticSearch and then use Kibana on top to present the results as a dashboard.
HIH
Related
So for context, I have created a dashboard using Rstudio by using flexfdashboard. I is an R Markdown Shiny app with ui and source code all within the same file.
Data sources for this app are large, locally saved documents in. Txt and. Csv format, with sizes ranging from a few kilobytes to several gigabytes.
I am to present this work to my CEO but I will not have access to my current computer and so ideally would host my dashboard somewhere and simply load the dashboard in browser.
However, the datasets contain sensative customer information and so privacy or controlled access to all assets is essential, ruling out most 3rd party solutions.
Is there a simple method to achieve this that im missing, or will I have to just run it from a local machine?
Thanks
I'm trying to keep this tool internal and a shiny apps webpage may not be private enough to display the tool. I have created a tool for my company that is meant to be private and internal. The data is very confidential, and the tool displays the data in an interactive way, allowing the user to analyze it through visualizations. I coded in R, and the output is an interactive R shiny apps tool, that becomes a shiny apps webpage. I'm looking for a way to make this tool an internal file that can be saved on a desktop and shared across a network instead of having it as a webpage with a not-as-private link. Someone mentioned to me that a .exe file could be possible. I'd appreciate any suggestions of how I should go about converting this interactive R shiny apps output into a file.
shinyApp(ui, server)
Hi guys i have made a shinyApp for a client using R.
The client for whom I’m working is asking for a shinyapp that works offline preferably in the form of an application or shiny window (as the online link of shinyapp.io will put load on the server). He wants to get the shiny output without seeing the R code.
He will later handover the shinyApp to his employees (>200) and they will mostly use the offline shinyApp on their desktop (in shiny window). Furthermore the data is very confidential so the client doesn't want his employees to either get csv data or publish the app online or see R code. Because every time they would run the app, they require csv data or codes to generate output.
That's why he doesn’t want a publish button anywhere in the app so that his employees doesn’t publish the app online.
Is there any way to do so? Any suggestions would be much appreciated
Method 1
I feel this is the best way to do it. This will give you an exe setup to install on your clients' server If you find it complicated you can try the below method, but my first preference would be this one.
Method 2
The process of making your standalone app is best explained here.
You can also use this site. If you feel the first is a little ambiguous
It is very much possible, and I do it often. If you have any doubts, you can ask me. This will not show the code to your client, it will be like any other desktop/server app, although the code can be seen if the app is probed, unlike the first method.
You can put the packaged app in a server which serves the local IPs.
I think you can do it without any hassle. Just follow the instructions line by line.
Regards/Revanth Nemani
Before I invest too much time in it I need to know... Do R Markdown Parameterized Reports require an R Studio Connect server?
If they do that's a little outside of my budget and what I want to get into.
I'd like to be able to send out static .html files people can upload their data.csv into, and another .html file will be spit out based off my scripts and R Markdown.
Parametrized Rmarkdown reports are a feature provided by the rmarkdown package (>= version 0.8). They do not require a RStudio Connect Server. However, you will still need a running R process somewhere to render the report based on the provided parameters.
How to include a shiny app in a bookdown document? There is an example for including the miniUI in the documentation, but not on how to include an own app.
I tried to include "myapp" in the subdirectory "myapp" either as an integrated file (app.R) or as the two files server.R and ui.R using include_app("myapp") or runApp("myapp"), but this doesn't work.
This question was asked a while back, but I will provide an answer in case anyone else is trying to set this up.
Both functions knitr::include_app() and knitr::include_url() require an URL, which should be the address to the website where you publish your Shiny app. So if you want to build your own app, I suggest you first publish it to the web, and then embed it into the HTML code produced by bookdown using the instructions found here: https://bookdown.org/yihui/bookdown/web-pages-and-shiny-apps.html. Basically, you will need to:
Create a free account at shinyapps.io,
Publish Shiny app (with or without the miniUI package package) following instructions here: https://docs.rstudio.com/shinyapps.io/index.html and
Run the function knitr::include_app() to integrate your Shiny app into your bookdown, as decribed here https://bookdown.org/yihui/bookdown/web-pages-and-shiny-apps.html..
With a FREE account at shinyapps.io, you can publish up to 5 apps. I recommend you try the miniUI package to publish your Shiny app, because it will make the app easily fit into the HTML page generated by bookdown.