Truncate a file: Difference between revisions
Content added Content deleted
m (→{{header|R}}) |
|||
Line 998: | Line 998: | ||
=={{header|R}}== |
=={{header|R}}== |
||
<lang R> |
<lang R> |
||
truncate_file <- function(filename, n_bytes) { |
truncate_file <- function(filename, n_bytes) { |