Comments (4)
Interesting. Did you use http://www.r-bloggers.com/git-pushing-shiny-apps-with-docker-dokku/ for setup or something else?
The main risk here is that you can run arbitrary R-code through the code and rmarkdown modules. This is at-your-own risk when running locally but on a server this is a security problem (e.g., a user could try system("rm -rf *"))
I have talked to the folks at Rstudio and will (hopefully) discuss with them over the summer how to make this work with something like (R)AppArmor.
I have not used AppArmor before. Rstudio server seems to have a profile that might be applied (see https://github.com/rstudio/rstudio/blob/master/INSTALL)
I don't know if commenting out !r_local will work perfectly on a server. Haven't tried it. Feel free to try and report back :) Perhaps try forcing r_local to TRUE in inst/base/global.R (r_local is set in that file). Happy to help but I really wouldn't use this feature on a server unless you can mitigate the security concerns somehow.
Just curious ... what are you planning to use radiant for? A class or something else?
from radiant.
I actually used the rocker/shiny Docker image. As far as Digital Ocean goes, I'm just using the Docker appliance. I had to update r-base to 3.2, create a swap file (very important for R), and then install the radiant R package (with all it's dependencies). Then I pulled the GItHub repo, copied /inst/base over to /srv/shinyapps/ and fired it up.
Thanks so much for the feedback! Usually there's a good reason for stuff like this, and I'm glad you let me know before I did something silly. I'll fiddle with it myself. I'm not sure you could get past the Docker container, but you never know..
I've figured out that there's a pretty good use case for giving semi-processed datasets to non-technical scientists and letting them play with the data themselves. I was about to start writing stand-alone shiny apps for this, but Radiant seems like a very good candidate for a generic "R with training wheels".
At this point it's still just a skunkworks project. I've got some basic import scripts up on GitHub to give you an idea of what I'm starting with: https://github.com/dbuijs/HealthCanadaOpenData
from radiant.
I will give Docker a try pretty soon. If a solution presents itself to use the code and report feature fully on a server I will post back here.
Good luck with the project! If you use radiant let me know if you have comments / suggestions.
from radiant.
Radiant development has been moved to https://github.com/radiant-rstats. Updated documentation is available at https://radiant-rstats.github.io/docs/
As soon as the development versions of Shiny and DT hit CRAN I'll push the new Radiant packages as well
Please open any new issues at https://github.com/radiant-rstats/radiant/issues
from radiant.
Related Issues (20)
- Error: package ‘radiant’ is available as a source package but not as a binary HOT 3
- Geom_line color HOT 4
- lost the sync of my fork HOT 3
- Decision Tree: Issue with cost HOT 7
- Package ‘radiant’ was removed from the CRAN repository. HOT 8
- avoid MathJaxR dependency HOT 9
- Chi- Squared distribution Mean HOT 3
- Add URL param that would cause the session to NOT be saved HOT 1
- trouble loading radiant HOT 3
- logo HOT 4
- Dropdown variable list doesnt showup in the Visualize option HOT 1
- make my bar graphs have manually selected colors HOT 3
- r 3.4 HOT 23
- Download button doesn't work properly HOT 2
- Readme has git merge conflict markers HOT 2
- Command options not generating when added to report HOT 4
- Regression - Center Option HOT 4
- Training Variable: same seed, different outputs HOT 3
- simulater for poisson restrict lambda to integer; result is constant 0 for lambda in (0,1) HOT 1
- How to set directory for load the data? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiant.