-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
829068a
commit f03e984
Showing
209 changed files
with
454,766 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"name":"app.R","content":"library(shiny)\nlibrary(ggplot2)\nlibrary(DT)\nlibrary(shinythemes)\n\nui <- fluidPage(theme = shinytheme(\"cerulean\"),\n navbarPage(\"My iris dataset\",\n tabPanel(\"Inputs\",\n selectInput(\"x_axis_input\", \"Select x-axis\", choices = c(\"Sepal.Length\", \"Sepal.Width\", \"Petal.Length\", \"Petal.Width\")),\n selectInput(\"y_axis_input\", \"Select y-axis\", choices = c(\"Sepal.Length\", \"Sepal.Width\", \"Petal.Length\", \"Petal.Width\"))\n ),\n navbarMenu(\"Outputs\",\n tabPanel(\"Plot\",\n plotOutput(\"plot\")\n ),\n tabPanel(\"Table\",\n DTOutput(\"table\") \n )\n )\n )\n)\n\nserver <- function(input, output) {\n output$plot <- renderPlot({\n ggplot(iris) +\n geom_point(aes(x = .data[[input$x_axis_input]], y = .data[[input$y_axis_input]]))\n })\n output$table <- renderDT({\n iris[,c(input$x_axis_input, input$y_axis_input), drop = FALSE]\n })\n}\n\nshinyApp(ui = ui, server = server)","type":"text"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!doctype html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | ||
<head> | ||
<title>Redirect to editable app</title> | ||
<meta | ||
http-equiv="refresh" | ||
content="0;URL='../index.html?_shinylive-mode=editor-terminal-viewer'" | ||
/> | ||
</head> | ||
<body></body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Shiny App</title> | ||
<script | ||
src="./shinylive/load-shinylive-sw.js" | ||
type="module" | ||
></script> | ||
<script type="module"> | ||
import { runExportedApp } from "./shinylive/shinylive.js"; | ||
runExportedApp({ | ||
id: "root", | ||
appEngine: "r", | ||
relPath: "", | ||
}); | ||
</script> | ||
<link rel="stylesheet" href="./shinylive/style-resets.css" /> | ||
<link rel="stylesheet" href="./shinylive/shinylive.css" /> | ||
|
||
</head> | ||
<body> | ||
|
||
<div style="height: 100vh; width: 100vw" id="root"></div> | ||
|
||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.