Closed edgararuiz-zz closed 6 years ago
@edgararuiz this code, mtcars %>% ggvis(~mpg) %>% layer_histograms()
works for me. My sessioninfo()
is given below. Try updating the R version and let us know if the error persists. cheers.
> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] bindrcpp_0.2 ggvis_0.4.3
Hi, I've tried the following in two different computers with today's devel version:
mtcars %>% ggvis(~mpg) %>% layer_histograms()
This is the response:
But works if I pass
stack = FALSE
:mtcars %>% ggvis(~mpg) %>% layer_histograms(stack = FALSE)
From looking at the code in layer_bins.R, it seems that by equating
x
tocompute_stack
, the originalcompute_bin
data is lost, causing the columns called byprops
to be dropped: