Skip to content

Instantly share code, notes, and snippets.

@javieroot
javieroot / helpers.R
Created November 2, 2015 05:18 — forked from datalabgh/helpers.R
A shiny app for mining text
# load other helper files
# load textMiningTools function
source("textMiningTools.R", local=TRUE)
plotText <- function(fPath,
minWords,
scaleVec,
wordFreq,
plotType,
plotOptions,
@javieroot
javieroot / server.R
Created November 2, 2015 05:01 — forked from daroczig/server.R
Markdown preview via shiny, pandoc and rmarkdown
library(shiny)
library(rmarkdown)
shinyServer(function(input, output) {
output$html = reactive({
t <- tempfile()
cat(input$markdown, file = t)
@withr
withr / server.R
Last active April 3, 2024 19:55
Encrypt password with md5 for Shiny-app.
library(shiny)
library(datasets)
Logged = FALSE;
PASSWORD <- data.frame(Brukernavn = "withr", Passord = "25d55ad283aa400af464c76d713c07ad")
# Define server logic required to summarize and view the selected dataset
shinyServer(function(input, output) {
source("www/Login.R", local = TRUE)
observe({
if (USER$Logged == TRUE) {