Description Usage Arguments Value Objects from the Class Slots Methods Note Author(s) See Also Examples
The Directory class represents a file system directory.
1 2 3 4 5 6 |
path |
character string specifying a directory |
x |
object of class |
from |
object of class |
to |
object of class |
strict |
logical scalar. If |
The Directory
generator returns an object of class Directory
.
The is.Directory
method returns TRUE
if its
argument is an object of class Directory
.
Although objects of the class can be created by a direct call to
new, the preferred method is to use the Directory
generator function.
path
:character string specifying a directory
signature(from = "Directory", to = "character")
:
Coerce an object of class Directory
to its character string
pathname equivalent.
signature(from = "character", to = "Directory")
:
Coerce a character string specifying directory pathname to an
equivalent object of class Directory
.
The coercion methods should not be called explicitly; instead, use an
explicit call to the as
method.
P. Roebuck proebuck@mdanderson.org
1 2 | pkgdir <- Directory(system.file(package="SuperCurve"))
pkgdir.path <- as(pkgdir, "character")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.