Learn R Programming

omnibus (version 1.2.15)

screenRes: Find screen resolution

Description

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

Usage

screenRes()

Arguments

Value

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

Examples

Run this code
screenRes()

Run the code above in your browser using DataLab