tomwenseleers / export

R package for streamlined export of graphs and data tables.
192 stars 35 forks source link

I can not install the export package. #55

Closed ZChen90 closed 6 months ago

ZChen90 commented 6 months ago

I tried the following ways to install export, but neither of them worked:

  1. install.packages("export") library(export)

Error: image

2. install.packages("devtools") library(devtools) devtools::install_github("tomwenseleers/export", force = TRUE) library(export) RGL_USE_NULL = TRUE; options(rgl_useNULL = TRUE) library(export)

Error: image

Could you please let me know how to install export package in this case? Thanks a lot!

ZChen90 commented 6 months ago

I first tried

install.packages("export") install.packages("officer") install.packages("rvg") install.packages("openxlsx") install.packages("ggplot2") install.packages("flextable") install.packages("xtable") install.packages("rgl") install.packages("stargazer") install.packages("tikzDevice") install.packages("xml2") install.packages("broom") install.packages("devtools") devtools::install_github("tomwenseleers/export") library(export)

the error was the same as above.

tomwenseleers commented 6 months ago

Installing XQuartz first, from https://www.xquartz.org/ should resolves this issue.