pachterlab / sleuth

Differential analysis of RNA-Seq
http://pachterlab.github.io/sleuth
GNU General Public License v3.0
305 stars 95 forks source link

> sleuth_live(so) 'browser' must be a non-empty character string #162

Open bioinfo-dirty-jobs opened 6 years ago

bioinfo-dirty-jobs commented 6 years ago

Dear all, I have tried to do sme analisys using sleuth only a small subset data. when I try to use live sleuth I have this error:

> sleuth_live(so)

Listening on http://127.0.0.1:42427
Error in utils::browseURL(appUrl) : 
  'browser' must be a non-empty character string
> sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.4 LTS

Matrix products: default
BLAS: /home/maurizio/miniconda2/envs/Sleuth/lib/R/lib/libRblas.so
LAPACK: /home/maurizio/miniconda2/envs/Sleuth/lib/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=it_IT.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=it_IT.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=it_IT.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] shiny_1.0.5   sleuth_0.29.0 dplyr_0.7.4   ggplot2_2.2.1

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.15        digest_0.6.15       assertthat_0.2.0   
 [4] mime_0.5            grid_3.4.1          plyr_1.8.4         
 [7] R6_2.2.2            xtable_1.8-2        gtable_0.2.0       
[10] magrittr_1.5        scales_0.5.0        pillar_1.2.1       
[13] rlang_0.2.0         lazyeval_0.2.1      data.table_1.10.4-3
[16] bindrcpp_0.2        glue_1.2.0          munsell_0.4.3      
[19] httpuv_1.3.6.2      compiler_3.4.1      pkgconfig_2.0.1    
[22] colorspace_1.3-2    htmltools_0.3.6     bindr_0.1          
[25] tibble_1.4.2       
> 
warrenmcg commented 6 years ago

I have never seen this error before in my usage of sleuth_live. Based on some searching, I found another user who had a similar problem; the suggested issue had to do with using a remote machine (link to forum post).

Based on that discussion, here is what I would suggest:

sleuth_live(so, options = list(port = 42427, launch.browser = FALSE))

If that doesn't work, but you know based on your system's settings that port 42427 is not available for use, then you can change the port number to one that is open (e.g. 80?).

Let us know if that helps! If this is the problem, this isn't an error on our part, but we could consider putting something in the documentation to help future users. If this isn't the problem, then more digging will be needed.

pimentel commented 6 years ago

ping @bioinfo-dirty-jobs otherwise will close in a few days if no update