views: Look at a dataframe using a spreadsheet package. Mac only.

View source: R/view.R

viewsR Documentation

Look at a dataframe using a spreadsheet package. Mac only.

Description

You can't edit the dataframe - it just writes the dataframe to a tempfile which it then opens.

Usage

views(df, app = c("Numbers", "Excel"))

Arguments

df

the data frame

app

the program used to show it. Defaults to Apple's Numbers. Excel also an option.

Value

nothing, just opens a spreadsheet showing the dataframe.

Examples


demo <- data.frame(alpha=letters, num=rnorm(26))
views(demo)
views(demo, "Excel")
views(demo, "E")

bbcuffer/rcutils documentation built on Nov. 10, 2023, 12:08 p.m.