我刚刚在公司的 Windows 64 位 PC 上安装了 Rstudio 1.0.44。当我尝试制作任何情节时,出现此错误:
Error in (function (filename = "Rplot%03d.png", width = 480, height = 480, : invalid 'filename'
Run Code Online (Sandbox Code Playgroud)
现在回溯向我展示了这个信息:
8. stop("invalid 'filename'")
7. (function (filename = "Rplot%03d.png", width = 480, height = 480, units = "px", pointsize = 12,
bg = "white", res = NA, family = "sans", restoreConsole = TRUE,
type = c("windows", "cairo", "cairo-png"), antialias = c("default", "none", "cleartype", "gray", "subpixel")) ...
6. do.call(what = png, args = args)
5. .rs.createNotebookGraphicsDevice(filename, height, width, …Run Code Online (Sandbox Code Playgroud)