R “dataexplorer” package - getting device control error

I am trying to run create_report() using "DataExplorer" packages.

Environment AWS Linux with R Version 3.6.0 and pandoc 2.14.1

Checked pandoc availability and version in R Ran pandoc_version() and it is showing me version "2.14.1".

R Code

library("DataExplorer")
library("rmarkdown")
library("ggplot2")

create_report(
  data=mtcars,
  output_format = html_document(toc = TRUE, toc_depth = 6, theme = "flatly"),
  output_file = "report.html",
  output_dir = getwd(),
  y = "mpg",
  config = configure_report(
  add_plot_str = FALSE,
  add_plot_qq = FALSE,
  add_plot_prcomp = FALSE,
  add_plot_boxplot = FALSE,
  add_plot_scatterplot = FALSE,
    global_ggtheme = quote(theme_light())
  )
)

I am getting the below error. Do I need to define the device option?

enter image description here

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.