-
R Package - Workflowr - to make a website for your R project https://jdblischak.github.io/workflowr/articles/wflow-01-getting-started.html
-
R Package - pak - A Fresh Approach to R Package Installation https://pak.r-lib.org/
-
R Package - renv - The renv package is a new effort to bring project-local R dependency management to your projects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# code source for plotting | |
# https://www.datanovia.com/en/blog/ggplot-title-subtitle-and-caption/ | |
# get source filename SO quest: http://stackoverflow.com/q/1815606/946850 | |
# get source fielname answer: https://stackoverflow.com/a/20282846 | |
# if you do use a hash, you will have to save these to a csv or write | |
# a DB, perhaps an sqlite file that has the entry | |
# for the source file and corresponding hash to keep track of the | |
# hashes or just use filename and proj_dir, | |
# and display that if you want to keep it simple, | |
# open and reproducible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instruct Shiny Server to run applications as the user "shiny" | |
run_as shiny; | |
# Define a server that listens on port 3838 | |
server { | |
listen 3838 127.0.0.1; | |
# Define a location at the base URL | |
location / { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Here's the updated config, | |
#I put it all in /etc/nginx/nginx.conf. | |
#Earlier I had the http directive in nginx.conf and a sites.conf under /etc/nginx/conf.d. | |
http { | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' | |
'"$http_user_agent" "$http_x_forwarded_for"'; | |
access_log /var/log/nginx/access.log main; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Only relevant sections shown. | |
#accessing sample shiny apps over http | |
#Shiny apps work | |
#check http://kristallab.bwh.harvard.edu/shiny | |
Firefox can’t establish a connection to the server at ws://kristallab.bwh.harvard.edu/shiny/sample-apps/rmd/__sockjs__/n=qKJv7DxEojOa0QAHtm/066/46myxph4/websocket. sockjs-0.3.4.min.js:27:17047 | |
"Tue Jun 06 2017 14:12:19 GMT-0400 (EDT) [INF]: Connection opened. http://kristallab.bwh.harvard.edu/shiny/sample-apps/rmd/" shiny-server-client.min.js:1:21729 | |
Tue Jun 06 2017 14:12:19 GMT-0400 (EDT) [DBG]: Open channel 0 shiny-server-client.min.js:1:5323 | |
Firefox can’t establish a connection to the server at ws://kristallab.bwh.harvard.edu/shiny/sample-apps/hello/__sockjs__/n=hVfMnA5kmVkr0PPEt9/930/b2bl2ya6/websocket. sockjs-0.3.4.min.js:27:17047 | |
"Tue Jun 06 2017 14:12:20 GMT-0400 (EDT) [INF]: Connection opened. http://kristallab.bwh.harvard.edu/shiny/sample-apps/hello/" shiny-server-client.min.js:1:21729 | |
Tue Jun 06 2017 14:12:20 GMT-0400 (EDT) [DBG]: Open channel 0 shiny-server-cl |