diff options
-rw-r--r-- | inst/GUI/server.R | 9 | ||||
-rw-r--r-- | inst/GUI/ui.R | 14 |
2 files changed, 23 insertions, 0 deletions
diff --git a/inst/GUI/server.R b/inst/GUI/server.R new file mode 100644 index 0000000..12386f2 --- /dev/null +++ b/inst/GUI/server.R @@ -0,0 +1,9 @@ +library(shiny)
+
+shinyServer(function(input, output) {
+ output$test <- renderText({
+ input$test
+ })
+})
+
+# vim: set ts=2 sw=2 foldmethod=marker expandtab:
diff --git a/inst/GUI/ui.R b/inst/GUI/ui.R new file mode 100644 index 0000000..2b0b868 --- /dev/null +++ b/inst/GUI/ui.R @@ -0,0 +1,14 @@ +library(shiny)
+shinyUI(pageWithSidebar(
+
+ headerPanel("shiny GUI for mkin"),
+
+ sidebarPanel(
+ textInput("test", "Test:", "test input")
+ ),
+
+ mainPanel(
+ textOutput("test")
+ )
+))
+# vim: set ts=2 sw=2 foldmethod=marker expandtab:
|