cbk.convert.casteml: Convert CASTEML file to certain file

Description Usage Arguments Value See Also Examples

View source: R/cbk.convert.casteml.R

Description

Convert CASTEML file to certain file. This function returns path to the converted file. The converted file is stored in a temporary directory. Note with the same arguments, this function convert file only once per a R session. This is low-level function and users are not encourage to call this but cbk.read.casteml().

Usage

1
2
cbk.convert.casteml(pmlfile, category = NULL, force = FALSE,
  verbose = TRUE, format = "dflame")

Arguments

pmlfile

File path to CASTEML file.

category

Category specifier that is passed to casteml convert.

force

Flag to force convert again.

verbose

Output debug info (default: TRUE).

format

Format specifier that is passed to casteml convert.

Value

Path of the converted file.

See Also

casteml convert and https://github.com/misasa/casteml

Examples

1
2
3
4
5
6
pmlfile    <- cbk.path("20081202172326.hkitagawa.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
dflame.csv <- cbk.convert.casteml(pmlfile)

pmlfile    <- cbk.download.casteml("20081202172326.hkitagawa")
texfile    <- cbk.convert.casteml(pmlfile,format="tex")

misasa/chelyabinsk documentation built on Nov. 24, 2020, 5:47 a.m.