View source: R/bb_fix_file_path.R
bb_fix_file_path | R Documentation |
This will only work if the backslashes have already been escaped to double backslashes. For example, readr automatically does this when reading in windows file paths from csv files. If you are using as a standalone function, run this in the terminal: scan(what = "character, n = 1), paste the unmodified filepath at the blank line, and copy the modified file path as the argument, x.
bb_fix_file_path(x)
x |
A character string filepath copied from Windows with escaped backslashes. |
A linux-compatible filepath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.