EVOLUTION-MANAGER
Edit File: write_file_raw.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Write data to a file</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for write_file_raw {brio}"><tr><td>write_file_raw {brio}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Write data to a file</h2> <h3>Description</h3> <p>This function differs from <code><a href="write_lines.html">write_lines()</a></code> in that it writes the data in <code>text</code> directly, without any checking or adding any newlines. </p> <h3>Usage</h3> <pre> write_file_raw(raw, path) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>raw</code></td> <td> <p>A raw vector with data to write.</p> </td></tr> <tr valign="top"><td><code>path</code></td> <td> <p>A character string giving the file path to write to.</p> </td></tr> </table> <h3>Examples</h3> <pre> tf <- tempfile() write_file_raw(as.raw(c(0x66, 0x6f, 0x6f, 0x0, 0x62, 0x61, 0x72)), tf) unlink(tf) </pre> <hr /><div style="text-align: center;">[Package <em>brio</em> version 1.1.3 <a href="00Index.html">Index</a>]</div> </body></html>