Skip to contents

This function finds the screen resolution of the current device. It should work on Windows, macOS, and Linux systems.

Usage

screenRes()

Value

A list with two elements: `width` and `height`, which are the width and height of the screen in pixels.

Examples

screenRes()
#> numeric(0)