I have installed Shiny and Encounters some issues. First I'm having an issue with
"Error in install.packages : Updating loaded packages"
and then
"Error: Unable to establish connection with R session"
I have already reinstall R and RStudio. I have also reset the RStudio-Desktop Directory (Windows 10)
I'm new with R so all help would be greatly appreciated.
Are you including install.packages() commands in your app's code? It is hard to help you without seen any code so to help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this resources, to see how to create one for a shiny app
Thanks for your reply. Yes, I have included install.packages() command. It's weird, because I fallowing a tutorial and I stacked with the first chapter. Please see my code for ui.R below:
install.packages("shiny")
library(shiny)
shinyUI(fluidPage(
titlePanel(title = "Hello Shiny"),
sidebarLayout(
sidebarPanel("This is sidebar panel"),
mainPanel("Main output is diplay here")
)
)
)