Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dev.create

Create a graphics device


Description

This is a way to create a graphic device on screen that can display R plots. It is performing the same purpose as R's dev.new, but it overcomes the limitations of RStudio. It is needed because RStudio does not implement fully the functionality of dev.new. This is suitable for Windows, Linux, and Macintosh operating systems.

Usage

dev.create(...)

Arguments

...

Currently, height and width parameters that would be suitable with dev.new

Details

The argument in dev.new named noRStudioGD seems to be aimed at same purpose. But it does not do what I want and documentation is too sparse.

Author(s)

Paul Johnson <pauljohn@ku.edu>

Examples

if(interactive()) dev.create(height = 7, width = 3)
dev.off()

kutils

Project Management Tools

v1.70
GPL-2
Authors
Paul Johnson [aut, cre], Benjamin Kite [aut], Charles Redmon [aut], Jared Harpole [ctb], Kenna Whitley [ctb], Po-Yi Chen [ctb], Shadi Pirhosseinloo [ctb]
Initial release
2020-04-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.