Commit c798d6c2 authored by Amine  GHOZLANE's avatar Amine GHOZLANE

Conda startup

parent 672d6c04
......@@ -251,10 +251,12 @@ function(request) {
mainPanel(div(style = 'max-width: 900px; word-wrap: break-word;',"chmod +x ./shaman.R && Rscript ./shaman.R"),width=6,class="mainwell"),br(),
p("Of note, contribution to SHAMAN code are always welcome and can be performed with the", a("github deposit.",href=""))),
tabPanel("Conda install",
p("Conda installation of SHAMAN can be performed as follow: ",style = "font-family: 'times'; font-si16pt"),
p("Conda installation of SHAMAN is available on linux and soon on mac. It can be performed as follow: ",style = "font-family: 'times'; font-si16pt"),
mainPanel(div(style = 'max-width: 900px; word-wrap: break-word;',
"# Download and install SHAMAN", br(),"conda install -c aghozlane shaman", br(),
"# Now run shaman", br(), "shaman"), width=6,class="mainwell"))
"# Download and install SHAMAN", br(),
"conda create -n shaman -c aghozlane shaman", br(),
"conda activate shaman", br(),
"# Now run shaman", br(), "Rscript shaman"), width=6,class="mainwell"))
#!/usr/bin/env Rscript --vanilla
prefix=Sys.getenv(x = "PREFIX")
#!/usr/bin/Rscript --vanilla
prefix=Sys.getenv(x = "CONDA_PREFIX")
prefix=paste(prefix, "bin", sep=.Platform$file.sep)
system(paste("python ", prefix, "shaman_bioblend/ -w ", prefix,"shamanapp/www/masque/ -s -d", sep=.Platform$file.sep))
system(paste(prefix, "Rscript -e 'library(\"shiny\");runApp(appDir=", prefix,"KronaRShy\", port=5438)'", sep=.Platform$file.sep, wait=FALSE)
runApp(paste("appDir= ", prefix, "shamanapp", sep=.Platform$file.sep)
system(paste("R -e 'library(\"shiny\");runApp(appDir=\"", prefix,"KronaRShy\", port=5438)'", sep=.Platform$file.sep), wait=FALSE)
system(paste("R -e 'library(\"shiny\");runApp(appDir=\"", prefix,"shamanapp\", port=80, host=\"\")'", sep=.Platform$file.sep), wait=FALSE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment