From 86d89b293c6b5481a24238f0b51428fa35a87f5c Mon Sep 17 00:00:00 2001 From: Eduardo Junior <edujrrib@gmail.com> Date: Tue, 13 Dec 2016 16:57:36 -0200 Subject: [PATCH] Modifica de emacs para emacs24 --- shinyApp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shinyApp b/shinyApp index 432d093..9d71a51 100755 --- a/shinyApp +++ b/shinyApp @@ -86,7 +86,7 @@ build_App() { case $1 in run) echo "Criando ui.R e server.R em $DIR" - emacs server.R ui.R & + emacs24 server.R ui.R & echo "Pressione ^C para interromper a aplicação" Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)" ;; @@ -142,7 +142,7 @@ build_AppTemplate() { case $1 in run) echo "Criando ui.R e server.R em $DIR" - emacs server.R ui.R & + emacs24 server.R ui.R & echo "Pressione ^C para interromper a aplicação" Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)" ;; @@ -201,7 +201,7 @@ elif [ $1 = "run" ]; then ;; -o ) echo "Executando a aplicação e abrir arquivos no emacs" - emacs server.R ui.R & + emacs24 server.R ui.R & echo "Pressione ^C para interromper a aplicação" Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)" ;; @@ -230,7 +230,7 @@ elif [ $1 = "run" ]; then echo "Verifique os arquivos server.R e ui.R em $3" exit 1 fi - emacs server.R ui.R & + emacs24 server.R ui.R & echo "Pressione ^C para interromper a aplicação" Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)" elif [ -d $2 ] && [ $3 = "-o" ]; then @@ -241,7 +241,7 @@ elif [ $1 = "run" ]; then echo "Verifique os arquivos server.R e ui.R em $2" exit 1 fi - emacs server.R ui.R & + emacs24 server.R ui.R & echo "Pressione ^C para interromper a aplicação" Rscript -e "shiny::runApp(getwd(), launch.browser = TRUE)" else -- GitLab