R Under development (unstable) (2025-12-16 r89184 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library("R.devices") R.devices v2.17.3 successfully loaded. See ?R.devices for help. > > message("*** toNnn() ...") *** toNnn() ... > > ## Get all toNnn() functions > envir <- getNamespace("R.devices") > names <- ls(pattern="^to", envir=envir) > fcns <- list() > for (name in names) { + if (exists(name, envir=envir, mode="function")) { + fcns[[name]] <- get(name, envir=envir, mode="function") + } + } > > for (name in names(fcns)) { + message(sprintf("*** %s() ...", name)) + toFcn <- fcns[[name]] + tryCatch({ + toFcn(name=name, { plot(1:10) }) + }, error = function(ex) { + print(ex) + }) + message(sprintf("*** %s() ... DONE", name)) + } *** toBMP() ... *** toBMP() ... DONE *** toCairoWin() ... *** toCairoWin() ... DONE *** toCairoX11() ... [2025-12-17 19:19:11.21922] Exception: Device type 'CairoX11' is not known/supported on this operating system/platform. Supported device types are: 'CairoJPEG', 'CairoPDF', 'CairoPNG', 'CairoPS', 'CairoSVG', 'CairoTIFF', 'CairoWin', 'bmp', 'cairo_pdf', 'cairo_ps', 'eps', 'favicon', 'jpeg', 'jpeg2', 'nulldev', 'pdf', 'pictex', 'png', 'png2', 'postscript', 'svg', 'tiff', 'win.metafile', 'windows', 'x11', 'xfig' at #09. devOptions(type = type, ...) - devOptions() is in environment 'R.devices' at #08. getDevOption(type, "sep", default = ",") - getDevOption() is in environment 'R.devices' at #07. paste(c(nameOrg, tags), collapse = sep) - paste() is in environment 'base' at #06. devEval(type = "{CairoX11}", name = name, ...) - devEval() is in environment 'R.devices' at #05. toFcn(name = name, { plot(1:10) }) - toFcn() is in environment 'R.devices' *** toCairoX11() ... DONE *** toDefault() ... *** toDefault() ... DONE *** toEMF() ... [2025-12-17 19:19:11.345036] Exception: Device type 'wmf' is not known/supported on this operating system/platform. Supported device types are: 'CairoJPEG', 'CairoPDF', 'CairoPNG', 'CairoPS', 'CairoSVG', 'CairoTIFF', 'CairoWin', 'bmp', 'cairo_pdf', 'cairo_ps', 'eps', 'favicon', 'jpeg', 'jpeg2', 'nulldev', 'pdf', 'pictex', 'png', 'png2', 'postscript', 'svg', 'tiff', 'win.metafile', 'windows', 'x11', 'xfig' at #09. devOptions(type = type, ...) - devOptions() is in environment 'R.devices' at #08. getDevOption(type, "sep", default = ",") - getDevOption() is in environment 'R.devices' at #07. paste(c(nameOrg, tags), collapse = sep) - paste() is in environment 'base' at #06. devEval(type = "{win.metafile}", name = name, ..., ext = ext) - devEval() is in environment 'R.devices' at #05. toFcn(name = name, { plot(1:10) }) - toFcn() is in environment 'R.devices' *** toEMF() ... DONE *** toEPS() ... *** toEPS() ... DONE *** toFavicon() ... *** toFavicon() ... DONE *** toNullDev() ... *** toNullDev() ... DONE *** toPDF() ... *** toPDF() ... DONE *** toPNG() ... *** toPNG() ... DONE *** toQuartz() ... [2025-12-17 19:19:11.635159] Exception: Device type 'quartz' is not known/supported on this operating system/platform. Supported device types are: 'CairoJPEG', 'CairoPDF', 'CairoPNG', 'CairoPS', 'CairoSVG', 'CairoTIFF', 'CairoWin', 'bmp', 'cairo_pdf', 'cairo_ps', 'eps', 'favicon', 'jpeg', 'jpeg2', 'nulldev', 'pdf', 'pictex', 'png', 'png2', 'postscript', 'svg', 'tiff', 'win.metafile', 'windows', 'x11', 'xfig' at #09. devOptions(type = type, ...) - devOptions() is in environment 'R.devices' at #08. getDevOption(type, "sep", default = ",") - getDevOption() is in environment 'R.devices' at #07. paste(c(nameOrg, tags), collapse = sep) - paste() is in environment 'base' at #06. devEval(type = "{quartz}", name = name, ...) - devEval() is in environment 'R.devices' at #05. toFcn(name = name, { plot(1:10) }) - toFcn() is in environment 'R.devices' *** toQuartz() ... DONE *** toRStudioGD() ... [2025-12-17 19:19:11.647235] Exception: Device type 'RStudioGD' is not known/supported on this operating system/platform. Supported device types are: 'CairoJPEG', 'CairoPDF', 'CairoPNG', 'CairoPS', 'CairoSVG', 'CairoTIFF', 'CairoWin', 'bmp', 'cairo_pdf', 'cairo_ps', 'eps', 'favicon', 'jpeg', 'jpeg2', 'nulldev', 'pdf', 'pictex', 'png', 'png2', 'postscript', 'svg', 'tiff', 'win.metafile', 'windows', 'x11', 'xfig' at #09. devOptions(type = type, ...) - devOptions() is in environment 'R.devices' at #08. getDevOption(type, "sep", default = ",") - getDevOption() is in environment 'R.devices' at #07. paste(c(nameOrg, tags), collapse = sep) - paste() is in environment 'base' at #06. devEval(type = "{RStudioGD}", name = name, ..., .allowUnknownArgs = .allowUnknownArgs) - devEval() is in environment 'R.devices' at #05. toFcn(name = name, { plot(1:10) }) - toFcn() is in environment 'R.devices' *** toRStudioGD() ... DONE *** toSVG() ... *** toSVG() ... DONE *** toTIFF() ... *** toTIFF() ... DONE *** toWMF() ... [2025-12-17 19:19:11.746576] Exception: Device type 'wmf' is not known/supported on this operating system/platform. Supported device types are: 'CairoJPEG', 'CairoPDF', 'CairoPNG', 'CairoPS', 'CairoSVG', 'CairoTIFF', 'CairoWin', 'bmp', 'cairo_pdf', 'cairo_ps', 'eps', 'favicon', 'jpeg', 'jpeg2', 'nulldev', 'pdf', 'pictex', 'png', 'png2', 'postscript', 'svg', 'tiff', 'win.metafile', 'windows', 'x11', 'xfig' at #09. devOptions(type = type, ...) - devOptions() is in environment 'R.devices' at #08. getDevOption(type, "sep", default = ",") - getDevOption() is in environment 'R.devices' at #07. paste(c(nameOrg, tags), collapse = sep) - paste() is in environment 'base' at #06. devEval(type = "{win.metafile}", name = name, ..., ext = ext) - devEval() is in environment 'R.devices' at #05. toFcn(name = name, { plot(1:10) }) - toFcn() is in environment 'R.devices' *** toWMF() ... DONE *** toWindows() ... *** toWindows() ... DONE *** toX11() ... *** toX11() ... DONE Warning message: In par(parT) : argument 1 does not name a graphical parameter > > ## FIXME: > graphics.off() > > message("*** toNnn() ... DONE") *** toNnn() ... DONE > > proc.time() user system elapsed 0.90 0.26 1.23