localFileToURI {rmzqc}R Documentation

Convert a local filename, e.g. "./myData/test.mzML" to a proper URI (e.g. "file:///user/bielow/myData/test.mzML")

Description

Relative filenames are made absolute. Backslashes as path separators are replaced by forward slashes (as commonly seen on Windows).

Usage

localFileToURI(local_filename, must_exist = TRUE)

Arguments

local_filename

Path to a file (can be relative to current getwd(); or absolute)

must_exist

Require the file to exist

Value

A URI starting with "file:///" followed by an absolute path


[Package rmzqc version 0.5.4 Index]