| write_utf8 | R Documentation |
write_utf8_raw() writes the string without a nul-terminator.
write_utf8() includes a nul-terminator
write_utf8(con, x)
write_utf8_raw(con, x)
con |
Connection object or raw vector. When con is a raw vector, new
data will be appended to the vector and returned.
Connection objects can be
created with |
x |
single character string |
If con is a connection then this connection is returned invisibly.
If con is a raw vector then new data is appended to this vector
Other data output functions:
fprintf(),
write_f64(),
write_hex(),
write_raw(),
write_uint8()
con <- file(tempfile(), "wb")
write_utf8(con, "hello")
close(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.