Unable to run Shiny app runExample("01_hello") in RStudio


I am just beginning with Shiny. I can run the Shiny app runExample("01_hello") in RStudio on my home PC. I am unable to run this Shiny app in RStudio on my work PC although if I just use R terminal version 3.6.1 and not RStudio, it works. In RStudio, I get a message stating listening with changing port numbers for each attempt and then RStudio closes and Shiny does not open. How do I get Shiny to work in RStudio?


Hi @MarkM247! Welcome!

A couple of questions to help make it easier for others to figure out what might be wrong:

  • What version of RStudio are you running on your work PC?
  • What do you get when you run these lines just after starting RStudio on your work PC?:
    (Don't forget to format the console output as code:sparkles: so our forum software doesn't garble anything :smile:)

Thank you. I am using the free desktop version 1.1.463 of RStudio on Windows 7 Pro 32-bit.

platform       i386-w64-mingw32            
arch           i386                        
os             mingw32                     
system         i386, mingw32               
major          3                           
minor          6.1                         
year           2019                        
month          07                          
day            05                          
svn rev        76782                       
language       R                           
version.string R version 3.6.1 (2019-07-05)
nickname       Action of the Toes   
> library(shiny)
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 (build 7601) Service Pack 1

Matrix products: default

Random number generation:
 RNG:     Mersenne-Twister 
 Normal:  Inversion 
 Sample:  Rounding 
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

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

other attached packages:
[1] shiny_1.3.2

loaded via a namespace (and not attached):
 [1] compiler_3.6.1  magrittr_1.5    R6_2.4.0        promises_1.0.1  later_0.8.0     htmltools_0.3.6
 [7] tools_3.6.1     Rcpp_1.0.2      digest_0.6.20   xtable_1.8-4    httpuv_1.5.1    mime_0.7   

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.