Skip to contents

Try to convert an object to an R object

Usage

to_r(x, on_fail = c("ignore", "error", "warning"))

Arguments

x

input data, can be either an 'R' or 'Python' object

on_fail

what to do when the object is still a 'Python' object; default is to 'ignore', other choices are 'error' and 'warning'

Value

The converted R object