Learn R Programming

LumReader (version 0.1.0)

export_Filter: Function to export a filter

Description

This function exports a filter as a .FLT file.

Usage

export_Filter(object, file.name)

Arguments

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

Value

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

Examples

Run this code
example <- default_Filters('example')[[1]]
file.name <- 'example'

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

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

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


Run the code above in your browser using DataLab