Nothing
Code
fc_export(fc, "test.png")
Condition
Error in `fc_export()`:
! Object must be created with `fc_draw()`.
Code
fc_export(fc, "test.invalid")
Condition
Error in `fc_export()`:
! Invalid `format` specified
i Valid `format` choices are "png", "jpeg", "tiff", "bmp", "svg", and "pdf".
Code
fc_export(fc, "test.png", format = "pdf")
Condition
Error in `fc_export()`:
! `filename` extension and the specified `format` don't match.
Code
fc_export(fc, "test")
Condition
Error in `fc_export()`:
! File `filename` has no extension and format is `NULL`.
Code
fc_export(fc, "test.pdf", units = "px")
Condition
Error in `fc_export()`:
! Invalid units for vector formats. Units must be "in", "cm", or "mm".
Code
fc_export(fc, "test.png", units = "invalid")
Condition
Error in `fc_export()`:
! The `units` for bitmap formats must be "in", "cm", "mm", or "px".
Code
fc_export(fc, "test.pdf", units = "cm")
Condition
Warning:
If `width` is missing for vector formats ("svg", "pdf"), default `width` is 6 inches.
Warning:
If `height` is missing for vector formats ("svg", "pdf"), default `height` is 6 inches.
Code
fc_export(fc, "test.png", units = "in")
Condition
Warning:
If `width` is missing for bitmap formats, default `width` is 600 pixels.
Warning:
If `height` is missing for bitmap formats, default `height` is 600 pixels.
Error:
! One or both dimensions exceed the maximum (50000px).
- Use `options(ragg.max_dim = ...)` to change the max
Warning: May cause the R session to crash
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.