Comments (3)
Hmm, this is very strange.
An old version of shinystan was called shinyStan, but that was before the
CRAN versions. But that shouldn't affect anything here, especially because
rstan doesn't require you to have shinystan.
Did you by any chance save an object creating by an old version of
shinystan (back when it was called shinyStan) in the same working directory
as your Stan model? Or maybe it's trying to load a saved workspace?
On Wednesday, October 28, 2015, apollostream [email protected]
wrote:
Hi,
I've successfully installed package "shinystan" from CRAN (and have also
successfully installed it from GitHub).If I try to run "stan(...)" , I get the following error message:
mcmcStan <- stan(file = 'mymodel.stan', data = myData, chains = 0) # Prep
run ("chains=0") to compile model.
Loading required package: shinyStan
Error in .requirePackage(package) :
unable to find required package ‘shinyStan’
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called ‘shinyStan’Or even if I try to reinstall shiny (just fishing), R complains:
install.packages("shiny")
Loading required package: shinyStan
Error in .requirePackage(package) :
unable to find required package ‘shinyStan’
Installing package into ‘C:/xxxxxxxxxxxx/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL '
https://cran.rstudio.com/bin/windows/contrib/3.2/shiny_0.12.2.zip'
Content type 'application/zip' length 1866824 bytes (1.8 MB)
downloaded 1.8 MBNote that the asked for package name in the error message is camelcase
"shinyStan", which of course is not the same as the all lowercase name of
the actual installed package "shinystan".Am I missing something? How do I get stan to run again -- I've only had
this problem since upgrading to the latest version of rstan?Thanks.
—
Reply to this email directly or view it on GitHub
#98.
from shinystan.
I believe an old object or option setting must have been retained in the environment. After restarting RStudio (and of course R), rstan and shinystan ran just fine.
Thank you!
On Oct 28, 2015 12:53 PM, Jonah Gabry [email protected] wrote:Hmm, this is very strange.
An old version of shinystan was called shinyStan, but that was before the
CRAN versions. But that shouldn't affect anything here, especially because
rstan doesn't require you to have shinystan.
Did you by any chance save an object creating by an old version of
shinystan (back when it was called shinyStan) in the same working directory
as your Stan model? Or maybe it's trying to load a saved workspace?
On Wednesday, October 28, 2015, apollostream [email protected]
wrote:
Hi,
I've successfully installed package "shinystan" from CRAN (and have also
successfully installed it from GitHub).If I try to run "stan(...)" , I get the following error message:
mcmcStan <- stan(file = 'mymodel.stan', data = myData, chains = 0) # Prep
run ("chains=0") to compile model.
Loading required package: shinyStan
Error in .requirePackage(package) :
unable to find required package ‘shinyStan’
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called ‘shinyStan’Or even if I try to reinstall shiny (just fishing), R complains:
install.packages("shiny")
Loading required package: shinyStan
Error in .requirePackage(package) :
unable to find required package ‘shinyStan’
Installing package into ‘C:/xxxxxxxxxxxx/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL '
https://cran.rstudio.com/bin/windows/contrib/3.2/shiny_0.12.2.zip'
Content type 'application/zip' length 1866824 bytes (1.8 MB)
downloaded 1.8 MBNote that the asked for package name in the error message is camelcase
"shinyStan", which of course is not the same as the all lowercase name of
the actual installed package "shinystan".Am I missing something? How do I get stan to run again -- I've only had
this problem since upgrading to the latest version of rstan?Thanks.
—
Reply to this email directly or view it on GitHub
#98.
—Reply to this email directly or view it on GitHub.
from shinystan.
Glad it's working now!
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.