as.spec.character {spec} | R Documentation |
Coerce to Specification from Character
Description
Coerces to specification from character (length-one filepath).
Usage
## S3 method for class 'character'
as.spec(x, ...)
Arguments
x |
character path to spec-formatted file |
... |
passed arguments |
Value
spec
See Also
Other as.spec:
as.spec.data.frame()
,
as.spec()
,
read.spec()
,
write.spec()
Examples
data(drug)
file <- tempfile()
spec <- specification(drug, tol = 3)
write.spec(spec, file = file)
as.spec(file)
[Package spec version 0.1.9 Index]