libutils: Library Files Utilities

list.libsR Documentation

Library Files Utilities

Description

Lists binary library files in a directory

Usage

list.libs(dir, ..., all.platforms = FALSE)

libname(x)

Arguments

dir

directory

...

extra arguments passed to list.files.

all.platforms

a logical that indicates whether to list library files for the current platform only (default) or all platforms (Unix, Windows, Mac).

x

a filename

Value

a character vector

Functions

  • libname(): extracts library names from a path, removing the directory part of the path, as well as the platform specific library extension.

Examples


libname('mylib.so')
libname('/some/path/somewhere/mylib.dll') 


pkgmaker documentation built on May 3, 2023, 5:08 p.m.

Related to libutils in pkgmaker...