File: libutils.Rd

package info (click to toggle)
r-cran-pkgmaker 0.32.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,192 kB
  • sloc: sh: 13; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/files.R
\name{list.libs}
\alias{list.libs}
\alias{libname}
\title{Library Files Utilities}
\usage{
list.libs(dir, ..., all.platforms = FALSE)

libname(x)
}
\arguments{
\item{dir}{directory}

\item{...}{extra arguments passed to \code{\link{list.files}}.}

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

\item{x}{a filename}
}
\value{
a character vector
}
\description{
Lists binary library files in a directory
}
\section{Functions}{
\itemize{
\item \code{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') 

}