# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_file.info = getFromNamespace("file.info", "backports")
bp_file.info(file.path(R.home(), "COPYING"), extra_cols = FALSE)
Run the code above in your browser using DataLab