bm_edit | R Documentation |
Edit a binary bitmap in a text editor.
bm_edit(bitmap, editor = getOption("editor"))
bitmap |
|
editor |
Text editor. See |
Represent zeroes with a .
and ones with a @
(as in the yaff
font format). You may
also add/delete rows/columns but the bitmap must
be rectangular.
A bm_bitmap()
object.
font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon")
font <- read_hex(font_file)
r <- font[[str2ucp("R")]]
# requires users to manually close file in text editor
## Not run:
edited_r <- bm_edit(r)
print(edited_r)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.