Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amine GHOZLANE
shaman
Commits
d4e24457
Commit
d4e24457
authored
Apr 26, 2017
by
svolant
Browse files
correction bug progress file
parent
7f7ba4a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
server.R
View file @
d4e24457
...
...
@@ -926,14 +926,14 @@ shinyServer(function(input, output,session) {
## Timer for the gauge
Timer
<-
reactiveTimer
(
5
000
)
Timer
<-
reactiveTimer
(
20
000
)
## Check masque progress
observe
({
Timer
()
# values$num = isolate(values$num)*5
progress_file
=
paste
(
curdir
,
"www"
,
"masque"
,
"doing"
,
paste
(
basename
(
file_path_sans_ext
(
json_name
)),
".txt"
,
sep
=
""
),
sep
=
.Platform
$
file.sep
)
progress_file
=
paste
(
curdir
,
"www"
,
"masque"
,
"doing"
,
paste
(
basename
(
file_path_sans_ext
(
json_name
)),
"
_progress"
,
"
.txt"
,
sep
=
""
),
sep
=
.Platform
$
file.sep
)
if
(
file.exists
(
progress_file
))
{
pf
=
read_lines
(
progress_file
)
...
...
ui.R
View file @
d4e24457
...
...
@@ -326,7 +326,7 @@ body <- dashboardBody(
column
(
width
=
12
,
shinyDirButton
(
"dir"
,
"Select a directory"
,
"Upload"
,
buttonType
=
"primary"
),
HTML
(
" "
),
actionButton
(
"LoadFiles"
,
'Load'
,
icon
=
icon
(
"
refresh
"
))
actionButton
(
"LoadFiles"
,
'Load'
,
icon
=
icon
(
"
play
"
))
),
conditionalPanel
(
condition
=
"input.LoadFiles>=1"
,
br
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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