Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shiny App Crash #60

Open
bourbaki opened this issue Mar 10, 2016 · 0 comments
Open

Shiny App Crash #60

bourbaki opened this issue Mar 10, 2016 · 0 comments

Comments

@bourbaki
Copy link

Shiny App crashes creating ODBC connection using vODBC:

library(vertica.dplyr)

vrt <- src_vertica(
  dsn = 'VerticaDSN'
)

shinyServer(function(input, output) {

  output$distPlot <- renderPlot({

    # generate bins based on input$bins from ui.R
    x    <- faithful[, 2]
    bins <- seq(min(x), max(x), length.out = input$bins + 1)

    # draw the histogram with the specified number of bins
    hist(x, breaks = bins, col = 'darkgray', border = 'white')

  })

})

I have discovered that problem is at odbcConnect call. The interesting thing is if I execute odbcConnect in a console before launching my shiny app everything is OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant