##convert CNF data (no export to file system)
convert_xy2TKA(
object = system.file("extdata/ExampleSpectrum.CNF", package = "rxylib"))
if (FALSE) {
##export as file
##create temporary filepath
##(for usage replace by own path)
temp_file <- tempfile(pattern = "output", fileext = ".TKA")
##convert and write to file system
convert_xy2TKA(
object = system.file("extdata/ExampleSpectrum.CNF", package = "rxylib"),
file = temp_file)
}
Run the code above in your browser using DataLab