-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ggforest output not visible in rmarkdown #321
Comments
This issue is not reproducible on my computer. Session info --------------------------------------------------------------------------------------------------------------------- setting value version R version 3.3.2 (2016-10-31) system x86_64, darwin13.4.0 ui RStudio (1.1.423) language (EN) collate fr_FR.UTF-8 tz Europe/Paris date 2018-07-07 Packages ------------------------------------------------------------------------------------------------------------------------- package * version date source assertthat 0.2.0.9000 2017-11-08 Github (hadley/assertthat@37f0a56) base * 3.3.2 2016-10-31 local bindr 0.1 2016-11-13 cran (@0.1) bindrcpp 0.2 2017-06-17 cran (@0.2) broom 0.4.3 2017-11-20 cran (@0.4.3) cmprsk 2.2-7 2014-06-17 CRAN (R 3.3.0) colorspace 1.4-0 2017-10-23 url data.table 1.10.4 2017-02-01 cran (@1.10.4) datasets * 3.3.2 2016-10-31 local devtools * 1.13.1 2017-05-13 CRAN (R 3.3.2) digest 0.6.15 2018-01-28 cran (@0.6.15) dplyr 0.7.4 2017-09-28 cran (@0.7.4) foreign 0.8-67 2016-09-13 CRAN (R 3.3.2) ggplot2 * 2.2.1.9000 2018-06-30 Github (tidyverse/ggplot2@348b26f) ggpubr * 0.1.7.999 2018-06-30 local (kassambara/ggpubr@8f7fa67) glue 1.2.0 2017-10-29 cran (@1.2.0) graphics * 3.3.2 2016-10-31 local grDevices * 3.3.2 2016-10-31 local grid 3.3.2 2016-10-31 local gridExtra 2.3 2017-09-09 cran (@2.3) gtable 0.2.0 2016-02-26 CRAN (R 3.3.0) km.ci 0.5-2 2009-08-30 CRAN (R 3.3.0) KMsurv 0.1-5 2012-12-03 CRAN (R 3.3.0) knitr 1.18 2017-12-27 cran (@1.18) labeling 0.3 2014-08-23 CRAN (R 3.3.0) lattice 0.20-34 2016-09-06 CRAN (R 3.3.2) lazyeval 0.2.1 2017-10-29 cran (@0.2.1) magrittr * 1.5 2014-11-22 CRAN (R 3.3.0) Matrix 1.2-11 2017-08-16 CRAN (R 3.3.2) memoise 1.1.0 2017-04-21 cran (@1.1.0) methods * 3.3.2 2016-10-31 local mnormt 1.5-5 2016-10-15 CRAN (R 3.3.0) munsell 0.4.3 2016-02-13 CRAN (R 3.3.0) nlme 3.1-131 2017-02-06 CRAN (R 3.3.2) parallel 3.3.2 2016-10-31 local pkgconfig 2.0.1 2017-03-21 cran (@2.0.1) plyr 1.8.4 2016-06-08 CRAN (R 3.3.0) psych 1.7.3.21 2017-03-22 cran (@1.7.3.2) purrr 0.2.4 2017-10-18 cran (@0.2.4) R6 2.2.2 2017-06-17 cran (@2.2.2) Rcpp 0.12.14 2017-11-23 cran (@0.12.14) reshape2 1.4.3 2017-12-11 cran (@1.4.3) rlang 0.2.0.9001 2018-06-30 Github (tidyverse/rlang@ba4fb06) scales 0.5.0.9000 2018-06-17 Github (hadley/scales@4056ec3) splines 3.3.2 2016-10-31 local stats * 3.3.2 2016-10-31 local stringi 1.1.6 2017-11-17 cran (@1.1.6) stringr 1.3.0 2018-02-19 cran (@1.3.0) survival * 2.41-3 2017-04-04 CRAN (R 3.3.2) survminer * 0.3.1.999 2017-06-05 Github (kassambara/survminer@8511dee) survMisc 0.5.4 2016-11-23 CRAN (R 3.3.2) tibble 1.3.4 2017-08-22 cran (@1.3.4) tidyr 0.8.1.9000 2018-06-30 Github (tidyverse/tidyr@cbdd14e) tools 3.3.2 2016-10-31 local utils * 3.3.2 2016-10-31 local withr 2.1.2 2018-06-30 Github (jimhester/withr@fe56f20) xtable 1.8-2 2016-02-05 CRAN (R 3.3.0) yaml 2.1.16 2017-12-12 cran (@2.1.16) zoo 1.7-14 2016-12-16 CRAN (R 3.3.2) |
Thanks for quick response, I earlier asked a resolution of this issue on stack overflow (here). I have asked the person who replied, to confirm whether he was able to reproduce the issue. |
I made a minor change in ggforest function. Does it fix this issue? |
Thanks, now it shows the output, however, before actual graph, it creates an empty chart. |
Expected behavior
When I execute
ggforest
in R-markdown, the plot should get renderedActual behavior
No graph shows up
Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: