install.packages('rsconnect')rsconnect::setAccountInfo(name='yeita-intelligence', token='2344E78007590590A38DA4695AE65914', secret='<SECRET>') #the secret is hiding
library(rsconnect)
rsconnect::deployApp('C:/Users/Chason/Desktop/Cov_test') # Any questions at this point?--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/c91b88f9-4aba-40c1-96c4-5e81e574311b%40googlegroups.com.
require(rCharts)shinyUI(pageWithSidebar( headerPanel("rCharts: Interactive Charts from R | NVD3"), sidebarPanel( selectInput(inputId = "gender", label = "Choose Gender", choices = c("Male", "Female"), selected = "Male"), selectInput(inputId = "type", label = "Choose Chart Type", choices = c("multiBarChart", "multiBarHorizontalChart"), selected = "multiBarChart"), checkboxInput(inputId = "stack", label = strong("Stack Bars?"), value = FALSE) ), mainPanel( showOutput("myChart", "nvd3") )))
require(rCharts)shinyServer(function(input, output) { output$myChart <- renderChart({ hair_eye = as.data.frame(HairEyeColor) p6 <- nPlot(Freq ~ Hair, group = 'Eye', data = subset(hair_eye, Sex == input$gender), type = input$type, dom = 'myChart', width = 800) p6$chart(color = c('brown', 'blue', '#594c26', 'green'), stacked = input$stack) return(p6) })})