ggvis on Fedora 32 with rstudio-server does not put data on a plot

I think that I've narrowed this issue down to a sane minimal example, but I'm sure that I could improve on it. It may well be that what I'm doing is not yet intended to work.

The simple example

library(shiny)
install.packages ("ggvis")
library (ggvis)

mtcars %>% ggvis(~mpg, ~disp, fill = ~vs) %>% layer_points()

Produces this plot:

I get the same effect whether I use the redhat packaged rstudio-server, or the Centos 8 install described on the RStudio website (RStudio Server - Posit), rstudio-server-rhel-1.3.1056-x86_64.rpm

My simplest build is a vagrant box and a chrome browser. I'm installing:
R-shiny-1.4.0.2-2.fc32.noarch, R-Rcpp-devel-1.0.4.6-1.fc32.x86_64

My guess is that the installation of ggvis is breaking somewhere, but the installation appears clean.
Any pointers as to where I could be going wrong and/or who I need to point out the failure to?

tc

Actually, I get the same non-appearance when using RStudio on a vanilla fedora 28 vm with the RStudio download file (https://download1.rstudio.org/desktop/centos8/x86_64/rstudio-1.3.1056-x86_64.rpm), and using vnc (I don't have any linux computers with screens).

Surely this must be something specific in my setup, but I cannot spot what, nor do I know where to look.

It works as expected with RStudio v ‘1.0.136’ on my mac.

Identified that the issue is a difference between dplyr 0.8.5 and 1.0.1. Submitted an issue on github: https://bit.ly/30sfAeg

1 Like

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