Learn R Programming

rbi (version 1.0.0)

absolute_path: Absolute Path

Description

This function is used to convert relative file paths to absolute file paths without checking if the file exists as tools::file_as_absolute_path does

Usage

absolute_path(filename, dirname)

Value

a character string containing the absolute path

Arguments

filename

name of a file, absolute or relative to a folder

dirname

name of a folder where the file is supposed to be