file_string | R Documentation |
Need to store stuff on disk. Replacement may also be a minus sign instead of underscore.
file_string(x, replacement = c("_", "-"))
x |
A string. |
replacement |
The replacement character. |
A string.
Other file utilities:
clipboard_path()
,
delete_trailing_blank_lines()
,
delete_trailing_whitespace()
,
develop_test()
,
file_copy()
,
file_modified_last()
,
file_save()
,
find_files()
,
get_lines_between_tags()
,
get_mtime()
,
get_unique_string()
,
grep_file()
,
is_files_current()
,
is_path()
,
paths
,
runsed()
,
search_files()
,
split_code_file()
,
touch()
Other vector functions:
char2factor()
,
escape_non_ascii()
file_string("foo:bar$ this, indeed(!) is # a number 7")
file_string("foo:bar$ this, indeed(!) is # a number 7", replacement = "-")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.