Skip to main content

interp_system_file

Function interp_system_file 

Source
fn interp_system_file(
    args: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Find files in installed packages.

Searches the package’s installation directory for the specified file path components. Returns the full path if found, or “” if not found.

@param … character: path components to join (e.g. “DESCRIPTION”, or “data”, “mtcars.rda”) @param package character: the package name to search in @param lib.loc character vector: library search paths (defaults to .libPaths()) @return character scalar: the full path to the file, or “” if not found