Comments (4)
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.
@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.
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 1locale:
[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.1252attached base packages:
[1] stats graphics grDevices utils datasets methods baseother 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.6loaded 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-12Session 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 1locale:
[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.1252attached base packages:
[1] stats graphics grDevices utils datasets methods baseother 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.6loaded 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-12To 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
sessionI don't know if that helps?
—
Reply to this email directly or view it on GitHub
#93 (comment).
from shinystan.
from shinystan.
Related Issues (20)
- use posterior package for handling draws HOT 2
- Check for R version 4.0 HOT 1
- selectizeInput for estimates statistics instead of checkboxGroupInput HOT 1
- Default for "max_treedepth"/"max_td" (11) incorrect? HOT 4
- Add support for CmdStanR objects HOT 3
- diagnostics page doesn't load if `stan_used=FALSE`? HOT 1
- Suppress messages when packages are loaded
- how to raise limit above 1000 parameters? HOT 3
- Shiny stan do not work in ubuntu (tested in ubuntu 20.04 and 16.04 both LTS versions)
- variables missing from drop-down HOT 5
- Problem with LaTeX table: ErrorL subscription out of bounds HOT 6
- Latex for graphs like stan_ac, stan_dens, and others HOT 3
- Rocker script?
- Problem with missing themes HOT 13
- Flickering when selecting parameters on page "ESTIMATE"
- gtools is orphaned - Consider a replacement?
- Issue when launching shinystan demo
- launch_shinystan error message
- toggle view for `exp(param)' ?
- Running ‘testthat.R’/opt/local/Library/Frameworks/R.framework/Resources/bin/BATCH: line 60: 98584 Bus error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinystan.