nolanlab / scaffold

scaffold
18 stars 8 forks source link

initial lunch of Scaffold #7

Open mvetill opened 7 years ago

mvetill commented 7 years ago

Hi, I succesfully installed scaffold on my windows 7 computer but it is impossible to run the script since when I choose a fcs file from a fcs file folder, an error message appears. Can it be a R3.4.1-R studio incompatibility with the script?

error message

SamGG commented 7 years ago

Hi, I have also got a Windows 7 64 bits and the same version of shiny package, but I am using R 3.3.3. I don't think R version should make a difference. Be sure to use the latest version of Firefox (55.0.3 (32 bits) in my case). Check that the FCS file is readable, and that the directory of the FCS file is writable. Try any tiny shiny application example as below. HTH

server <- function(input, output) {
    working.directory <- dirname(file.choose())
    output$distPlot <- renderPlot({
        hist(rnorm(input$obs), col = 'darkgray', border = 'white')
    })
}

ui <- fluidPage(
    sidebarLayout(
        sidebarPanel(
            sliderInput("obs", "Number of observations:", min = 10, max = 500, value = 100)
        ),
        mainPanel(plotOutput("distPlot"))
    )
)

shinyApp(ui = ui, server = server, options = list(launch.browser = TRUE))
pfgherardini commented 6 years ago

Did you manage to solve the problem?