Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pertz-lab
shiny-timecourse-inspector
Commits
325456b9
Commit
325456b9
authored
Oct 16, 2019
by
majpark21
Browse files
Automatic installation of required packages
parent
64a2da4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui.R
View file @
325456b9
...
...
@@ -5,6 +5,13 @@
# This is the user-interface definition for a Shiny web application.
#
required_packages
=
c
(
"shiny"
,
"shinyjs"
,
"shinyBS"
,
"shinycssloaders"
,
"data.table"
,
"DT"
,
"ggplot2"
,
"gplots"
,
"plotly"
,
"scales"
,
"grid"
,
"dendextend"
,
"RColorBrewer"
,
"ggthemes"
,
"sparcl"
,
"dtw"
,
"factoextra"
,
"imputeTS"
,
"MASS"
,
"robust"
,
"pracma"
,
"Hmisc"
)
missing_packages
<-
required_packages
[
!
(
required_packages
%in%
installed.packages
()[,
"Package"
])]
if
(
length
(
missing_packages
))
install.packages
(
missing_packages
)
library
(
shiny
)
library
(
shinyjs
)
# http://deanattali.com/shinyjs/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment