Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

shiny causes RStudio to crash

Tags:

r

rstudio

shiny

I am trying to use shiny for the first time. Every time when I am trying to run sample shiny app RStudio crashes with fatal error. The error which I am getting is :

Error in withCallingHandlers(tracatch(evalq(funtion (hash=TRUE, parent=parent.frame(), :
object '.rcpp_warning_recorder' not found.

I am using R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet". Can someone please help?

like image 705
dev Avatar asked Mar 24 '15 19:03

dev


People also ask

Why is R Shiny so slow?

The most common reason is the Shiny app code has not been optimized. You can use the profvis package to help you understand how R spends its time. You also might want to make sure your server is large enough to host your apps.

What does Shiny do in R?

Shiny is an R package that enables building interactive web applications that can execute R code on the backend. With Shiny, you can host standalone applications on a webpage, embed interactive charts in R Markdown documents, or build dashboards.

Is R Shiny hard?

In my opinion, R Shiny is very easy to learn despite how powerful the tool is. If you're working on a side project or looking to add something to your portfolio, I highly recommend trying it out.


1 Answers

Try to reinstall Rcpp:

install.packages('Rcpp')
like image 166
Yihui Xie Avatar answered Sep 23 '22 17:09

Yihui Xie