Learn R Programming

LumReader (version 0.1.0)

export_PMT: Function to export a PMT

Description

This function exports a PMT as a .PMT file.

Usage

export_PMT(object, file.name)

Arguments

object
PMT to export
file.name
character name of the .FLT file that will contain the PMT properties.

Value

The function creates a new txt file containing the PMT properties.

Examples

Run this code
example <- default_PMT('example')
file.name <- 'example'

## Not run: 
# export_PMT(example, file.name)  # uncomment
# ## End(Not run)

# There is now an 'example.PMT' file in the 'working directory'.
# This file is a classical .txt file despite the extension.

file <- paste(getwd(),'/', file.name,'.PMT', sep="")
print(file)
# readLines(file)

Run the code above in your browser using DataLab