-
Notifications
You must be signed in to change notification settings - Fork 3
install using 'angsd-wrapper shiny graphing' #47
Comments
Hi all, After a half day of more struggles, a few tears, and a lot of coffee, think I've identified the two roots of my problems... First one is totally on me, and has to do with the R version I'm using. I had installed recently installed R version 3.4.0, but there was another R version lingering which I didn't account for: about a year ago I installed Jupyter Notebook and the R-essentials via Conda; that version was 3.2.2, which the "shinythemes" R package wasn't supporting, nor was "genomeIntervals". My first mistake I figured out was the $PATH to R from my terminal was to the //anaconda/bin/R variety (R v-3.2.2) instead of where I was testing the installation of packages for the shiny graphing ui.R and server.R scripts in R-studio (which was R v3.4.0). Once I switched up the $PATH to look for R v3.4.0 first instead of //anaconda version, the Shiny app was able to launch. The second problem which is tied to the first is that (I think) there are limitations in terms of which R packages you can install with the Conda R-essentials program. Not sure how many other folks will have Jupyter Notebook installed, but even the most current version of conda's R-essentials seems to not work properly when trying to install two of the R-packages for your ui.R script: genomeIntervals and Hmisc. I ended up manually installing those (from Bioconductor and CRAN respectively). Once that change was made, everything launched beautifully. So for those folks it's critical that they specify to their 'core' R package wherever that might be (ex. /Library/Frameworks/R.framework/Resources). Cheers, Devon |
Great to hear! I'll close this issue now. Please let us know if you have any other issues! |
Arun could you add a note of this potential issue when using Jupyter
notebook to the wiki? Glad it worked out!
On Tue, May 16, 2017 at 9:30 AM Arun Durvasula ***@***.***> wrote:
Great to hear! I'll close this issue now. Please let us know if you have
any other issues!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACeW4WOdfFh5VMkxxungT557Ixy5SJwsks5r6c8LgaJpZM4Nb3E4>
.
--
…________________________
Jeffrey Ross-Ibarra
Dept. of Plant Sciences
262 Robbins Hall, Mail Stop 4
University of California
One Shields Ave
Davis, CA 95616
Tel: 530-752-1152
@jrossibarra
www.rilab.org
|
One note: |
@rossibarra Yep, added to the FAQ. |
angsd-=_shiny_graphing_install_error.txt
Hi everyone,
Loving all the detailed info provided with angsd-wrapper's Tutorial pages. However, I'm currently struggling with getting angsd-wrapper shiny graphing to work properly. For what it's worth, I've had no trouble running any of the commands (Genotype_likelihoods, SFS, etc.) using a cluster - my only issue at the moment is taking these data and getting Shiny to work with them.
The problem is that I can't get past the execution of the angsd-wrapper shiny graphing script. Here's a breakdown of what I've tried:
I tried running the same command from the cluster just to see what would happen and I don't get the same error message - things all appear to load properly without issue. Instead, it seems to stall, as I would imagine, when it's trying to open up a new Shiny window and can't (Listening on http://127.0.0.1:4915)... because it's a cluster and not my local machine?
This makes me think that I've done something fundamentally wrong with the install, or need to find a way to sync my existing R library on my laptop with the places that this Shiny app wants to put newly installed packages.
Thanks for any advice you can offer,
Devon
The text was updated successfully, but these errors were encountered: