Questions tagged [shiny-server]

Shiny Server provides a platform on which you can host multiple Shiny applications on a single server, each with their own URL or port.

Shiny Server is a server program that makes Shiny applications available over the web.

Using Shiny Server, you can host multiple Shiny applications, as well as static web content, on a Linux server and make them available over the internet. You can specify what applications are available at what URL, or configure Shiny Server to let anyone with a user account on the server deploy their own Shiny applications.

1655 questions
0
votes
1 answer

Error: argument

I'm trying to create a histogram of density and I'm having the error: argument 'x' must be numeric. I tried to use (as.numeric(input$d)) instead of just d but got the same error. Does anyone know how to solve this? server.R output$hist <-…
0
votes
1 answer

Table is not being displayed in the mainPanel's tabs - Shiny

I'm trying to display a table in the Main Panel but nothing appears and I don't get any error message, it's just blank. I'd widely appreciate if anyone could help me solving this. Thanks in advance! ui.R shinyUI(fluidPage( …
0
votes
0 answers

R Shiny: computations not working on certain versions of R

I am working on an R Shiny app to run a linear regression on user-input data. The app outputs a summary of the regression as well as some related results -- such as R-squared, the Mean Absolute Percentage Error and the Durbin Watson Statistic. The…
HH T
  • 1
  • 1
0
votes
1 answer

How to insert a function from another package in the server.R - Shiny?

I'm trying to insert a table on Shiny that is gonna be generated from a rLiDAR function. However, I'm having trouble to figure out how to insert this function in server.R. Here's what I was trying to do: output$summary <- renderTable({ table…
0
votes
1 answer

Subsetting data frame with multiple dollar signs in Shiny in R

output$boxPlot <- renderPlot({ boxplot(input$fileSelect$input$cateSelect, main = "Box plot", ylab = "KJ") }) I am doing a interface that the user can select which file and which column of the data they want to plot. I was using a if condition…
0
votes
1 answer

Dynamic filter, Add legend in ggvis and plot discrete X axis

I'm new in RShiny however have a little experience in R. I have just started working on R shiny and trying to prepare a simple two quantity linechart versus week on X axis. As its more presentable, I've used a csv upload feature and dynamically…
PD1
  • 53
  • 9
0
votes
1 answer

How to enter apostrophe (') into mysql database in R shiny?

A ui.R library(shiny) library(shinyjs) shinyUI(fluidPage( bootstrapPage( ) ) ) Server.R library(shiny) library(shinyjs) mydb=dbConnect(MySQL(),user='',password='123',dbname='test1',host='localhost') shinyServer(function(input,…
Rad
  • 59
  • 1
  • 8
0
votes
2 answers

How to display age automatically when date of birth is entered in R shiny?

How to display age automatically when date of birth is entered in R shiny? UI.R shinyUI( fuildpage({ column(2, actionButton("calculate", "Calculate age")), …
user4473195
0
votes
0 answers

Checkbox Option For Results

So I have a dashboard that I built out, and the code looks like this: Server shinyServer(function(input, output) { output$table <- DT::renderDataTable(DT::datatable({ data <- cancel_reason_month if (input$rep != "All") { data <- data[data$'Cohort…
user6855566
0
votes
1 answer

Reactive changes in sliderInput for subsets

I'm trying to develop a reactive slider but I don't understand why it doesn't work and get the error: "Warning: Error in [.data.frame: undefined columns selected". Any help would be much appreciated. So far I've tried to use uiOutput("slider") to…
José Vallejo
  • 356
  • 4
  • 17
0
votes
0 answers

Shiny rendering googleVis HTML raw code

I used googleVis to generate a chart object (x) then outputted it as: cat(x$html$chart, file="y.html") How do I input this raw .html file into a Shiny server.R and then get it to render properly on the ui? I can't find anything. I've tried with y…
milkmotel
  • 402
  • 4
  • 13
0
votes
1 answer

Shiny plot not showing

My code looks like this: shinyServer(function(input, output) { DataRead <- reactive(input$PlotType) CR <- reactive(as.character(input$ContributionRate)) PlotData <- reactive(get(paste(CR(),DataRead(),sep=""))) output$gPlot <-…
milkmotel
  • 402
  • 4
  • 13
0
votes
1 answer

Error : ShinyApp cannot open the connection

I tried to publish a shinyapp to both shinyapp.io and rstudioconnect.com but there has connection error, here I raised Unable publish to RStudio Connect : Error in yaml::yaml.load(enc2utf8(string), ...) : Reader error: control characters are not…
0
votes
1 answer

Handling Errors in a plotting function

I have a shiny application which takes an input of a csv file. I have a plotting function in server.R myPlot <- function(data){This function uses the variables from the data frame in parenthesis. This data frame is the input from the uploaded…
radhika
  • 77
  • 1
  • 7
0
votes
1 answer

subsetting using selectizeInput - shiny R

I have a drop down menu which is a selectizeInput - using which I need to subset my dataframe for analysis further. Consider the following, d - dataframe (has a column named 'test') menu - the selectizeInput drop down d[d$test %in% input$menu,…
Harriss
  • 13
  • 1
  • 8