Vasim
Vasim

Reputation: 3143

Radiant R not working on shiny server

As per given instruction on the website, I installed the Radiant package on Ubuntu server with the following command.

install.packages("radiant", repos = "https://radiant-rstats.github.io/minicran/")

Then cloned the repo from here and placed it in the /srv/shiny server/ folder of shiny server.

I can run radiant from addins and from within RStuodio, however as soon as I point my browser to ipaddress:3838/inst/app I get the following error in the browser.

An error has occurred
The application failed to start.
The application exited during initialization.

The shiny server log produces the following error:

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  namespace ‘shiny’ 0.14.2 is already loaded, but >= 1.0 is required
Calls: runApp ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

I checked the shiny version, it is indeed the latest version, I'm not able to identify the problem, any help.

Upvotes: 3

Views: 419

Answers (2)

Joni Hoppen
Joni Hoppen

Reputation: 688

It´s been a while so I wonder if you fixed the issue in any case there are some new versions of the package that might help. I suggest the following:

  • Follow the most up to date version at http://vnijs.github.io/radiant/
  • Try installing directly in the R console without going inside Rstudio o Rstudio server.

Hope that helps!

Cheers!

Upvotes: 1

Tonio Liebrand
Tonio Liebrand

Reputation: 17699

Like i mentioned in the comments, often it helps to install the package outside R (from command line). If you have the package locally available you can use R CMD INSTALL shiny_1.0.3.tar.gz. If you dont have it locally available you could download it with e.g wget from https://cran.r-project.org/src/contrib/shiny_1.0.3.tar.gz.

Upvotes: 1

Related Questions