ddotta / tablexlsx

R package to export data frames from R to xlsx workbook
https://ddotta.github.io/tablexlsx/
Other
16 stars 1 forks source link

Error when `object` argument is not the name of an existing data.frame #18

Closed JulienBlasco closed 3 months ago

JulienBlasco commented 5 months ago

Description of the error

The following code produces an error:

toxlsx(as.data.frame(iris), path=tempdir())
# Erreur dans get(df) : objet 'as.data.frame(iris)' introuvable

Expected result

This should produce an Excel file with title "as.data.frame(iris)" in cell A1.