See the original description in base::file.size
.
1 2 3 4 5 |
1 2 3 4 5 6 7 8 9 10 | # get functions from namespace instead of possibly getting
# implementations shipped with recent R versions:
bp_file.size = getFromNamespace("file.size", "backports")
bp_file.mode = getFromNamespace("file.size", "backports")
bp_file.mtime = getFromNamespace("file.size", "backports")
fn = file.path(R.home(), "COPYING")
bp_file.size(fn)
bp_file.mode(fn)
bp_file.size(fn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.