Coder Social home page Coder Social logo

Comments (4)

jgabry avatar jgabry commented on May 26, 2024

Thanks for the reporting the error, and glad you like ShinyStan!

This is a strange error message and I don't know why it would be a problem on Windows. The code

a("Stan Modeling Language User's Guide and Reference Manual", href = "http://mc-stan.org/documentation/")

should produce the html

<a href="http://mc-stan.org/documentation/"> "Stan Modeling Language User's Guide and Reference Manual"</a>

which should just be a hyperlink to the documentation page of the Stan website.

Can you recreate the error and then send the output from running sessionInfo()?

@mhandreae you're on windows right? Have you ever seen an error like this with ShinyStan?

from shinystan.

MGretton avatar MGretton commented on May 26, 2024

@jgabry Thanks Jonah. I tried to recreate the error in both the session that produced it previously and in a brand new session. In the new session, it works fine!

Doing sessionInfo () on both shows this:

Session which produces the error:

R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252   
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C                      
[5] LC_TIME=English_Australia.1252    

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

other attached packages:
[1] shinystan_2.0.0 shiny_0.12.2    ggplot2_1.0.1   rstan_2.7.0-1  
[5] inline_0.3.14   Rcpp_0.11.6    

loaded via a namespace (and not attached):
 [1] plyr_1.8.3        shinyjs_0.2.0     base64enc_0.1-3   tools_3.2.2      
 [5] xts_0.9-7         digest_0.6.8      gtable_0.1.2      lattice_0.20-33  
 [9] yaml_2.1.13       parallel_3.2.2    proto_0.3-10      gridExtra_2.0.0  
[13] stringr_1.0.0     gtools_3.5.0      dygraphs_0.4.5    htmlwidgets_0.5  
[17] stats4_3.2.2      grid_3.2.2        DT_0.1.12         R6_2.1.1         
[21] rmarkdown_0.7     reshape2_1.4.1    magrittr_1.5      shinythemes_1.0.1
[25] scales_0.3.0      threejs_0.2.1     codetools_0.2-14  htmltools_0.2.6  
[29] MASS_7.3-43       mime_0.4          colorspace_1.2-6  xtable_1.7-4     
[33] httpuv_1.3.3      stringi_0.5-5     munsell_0.4.2     markdown_0.7.7   
[37] zoo_1.7-12 

Session which works:

R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252   
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C                      
[5] LC_TIME=English_Australia.1252    

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

other attached packages:
[1] markdown_0.7.7  shinystan_2.0.0 shiny_0.12.2    ggplot2_1.0.1  
[5] rstan_2.7.0-1   inline_0.3.14   Rcpp_0.11.6    

loaded via a namespace (and not attached):
 [1] plyr_1.8.3        base64enc_0.1-3   shinyjs_0.2.0     tools_3.2.2      
 [5] xts_0.9-7         digest_0.6.8      jsonlite_0.9.17   gtable_0.1.2     
 [9] lattice_0.20-33   rstudioapi_0.3.1  yaml_2.1.13       proto_0.3-10     
[13] gridExtra_2.0.0   stringr_1.0.0     dygraphs_0.4.5    htmlwidgets_0.5  
[17] gtools_3.5.0      stats4_3.2.2      grid_3.2.2        DT_0.1.12        
[21] R6_2.1.1          reshape2_1.4.1    magrittr_1.5      scales_0.3.0     
[25] threejs_0.2.1     codetools_0.2-14  htmltools_0.2.6   shinythemes_1.0.1
[29] MASS_7.3-43       mime_0.4          xtable_1.7-4      colorspace_1.2-6 
[33] httpuv_1.3.3      stringi_0.5-5     munsell_0.4.2     zoo_1.7-12 

To my eyes, the only differences above are:

  • the addition of markdown_0.7.7 as an attached package in the working session (it's in the 'loaded via namespace' section of the non-working session)
  • the addition of jsonlite_0.9.17 in the working session
  • the existence of rmarkdown_0.7 in the non-working session
  • (presumably irrelevant) parallel_3.2.2 is loaded in the non-working session

I don't know if that helps?

from shinystan.

jgabry avatar jgabry commented on May 26, 2024

Well, I'm glad it worked in the new session.

Thanks for sending the details from both sessions. That should help narrow
it down. I haven't quite figured it out yet, but it might be something with
the difference in markdown. Given the other packages listed, I'm not sure
why markdown is just loaded via namespace in the first but attached in the
second. I'll see if I can track down what's going on.

On Sunday, September 13, 2015, Matthew Gretton [email protected]
wrote:

@jgabry https://github.com/jgabry Thanks Jonah. I tried to recreate the
error in both the session that produced it previously and in a brand new
session. In the new session, it works fine!

Doing sessionInfo () on both shows this:

Session which produces the error:

R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252

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

other attached packages:
[1] shinystan_2.0.0 shiny_0.12.2 ggplot2_1.0.1 rstan_2.7.0-1
[5] inline_0.3.14 Rcpp_0.11.6

loaded via a namespace (and not attached):
[1] plyr_1.8.3 shinyjs_0.2.0 base64enc_0.1-3 tools_3.2.2
[5] xts_0.9-7 digest_0.6.8 gtable_0.1.2 lattice_0.20-33
[9] yaml_2.1.13 parallel_3.2.2 proto_0.3-10 gridExtra_2.0.0
[13] stringr_1.0.0 gtools_3.5.0 dygraphs_0.4.5 htmlwidgets_0.5
[17] stats4_3.2.2 grid_3.2.2 DT_0.1.12 R6_2.1.1
[21] rmarkdown_0.7 reshape2_1.4.1 magrittr_1.5 shinythemes_1.0.1
[25] scales_0.3.0 threejs_0.2.1 codetools_0.2-14 htmltools_0.2.6
[29] MASS_7.3-43 mime_0.4 colorspace_1.2-6 xtable_1.7-4
[33] httpuv_1.3.3 stringi_0.5-5 munsell_0.4.2 markdown_0.7.7
[37] zoo_1.7-12

Session which works:

R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252

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

other attached packages:
[1] markdown_0.7.7 shinystan_2.0.0 shiny_0.12.2 ggplot2_1.0.1
[5] rstan_2.7.0-1 inline_0.3.14 Rcpp_0.11.6

loaded via a namespace (and not attached):
[1] plyr_1.8.3 base64enc_0.1-3 shinyjs_0.2.0 tools_3.2.2
[5] xts_0.9-7 digest_0.6.8 jsonlite_0.9.17 gtable_0.1.2
[9] lattice_0.20-33 rstudioapi_0.3.1 yaml_2.1.13 proto_0.3-10
[13] gridExtra_2.0.0 stringr_1.0.0 dygraphs_0.4.5 htmlwidgets_0.5
[17] gtools_3.5.0 stats4_3.2.2 grid_3.2.2 DT_0.1.12
[21] R6_2.1.1 reshape2_1.4.1 magrittr_1.5 scales_0.3.0
[25] threejs_0.2.1 codetools_0.2-14 htmltools_0.2.6 shinythemes_1.0.1
[29] MASS_7.3-43 mime_0.4 xtable_1.7-4 colorspace_1.2-6
[33] httpuv_1.3.3 stringi_0.5-5 munsell_0.4.2 zoo_1.7-12

To my eyes, the only differences above are:

  • the addition of markdown_0.7.7 as an attached package in the working
    session (it's in the 'loaded via namespace' section of the non-working
    session)
  • the addition of jsonlite_0.9.17 in the working session
  • the existence of rmarkdown_0.7 in the non-working session
  • (presumably irrelevant) parallel_3.2.2 is loaded in the non-working
    session

I don't know if that helps?


Reply to this email directly or view it on GitHub
#93 (comment).

from shinystan.

jgabry avatar jgabry commented on May 26, 2024

from shinystan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.