powered by
Coerces to specification from character (length-one filepath).
# S3 method for character as.spec(x, ...)
spec
character path to spec-formatted file
passed arguments
Other as.spec: as.spec.data.frame(), as.spec(), read.spec(), write.spec()
as.spec.data.frame()
as.spec()
read.spec()
write.spec()
data(drug) file <- tempfile() spec <- specification(drug, tol = 3) write.spec(spec, file = file) as.spec(file)
Run the code above in your browser using DataLab