WriteRepoFile: Write a key-value pair ASCII file

Description Usage Arguments Value See Also Examples

Description

WriteRepoFile writes the input key-value object in a fixed-width column ASCII file.

This method reads the input object object and writes its content as a fixed-width column ASCII file with key-value pair structure with the specified input name Name.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
WriteRepoFile(object, Name, sep = "@@")

## S4 method for signature 'rawStQ'
WriteRepoFile(object, Name, sep = "@@")

## S4 method for signature 'StQ'
WriteRepoFile(object, Name, sep = "@@")

## S4 method for signature 'StQList'
WriteRepoFile(object, Name, sep = "@@")

## S4 method for signature 'rawStQList'
WriteRepoFile(object, Name, sep = "@@")

Arguments

object

Object to be written in the output file.

Name

Character vectorof length 1 specifying the name of the output file. The file will be written in the working directory (see getwd) unless the full path is specified.

sep

Character vector of length 1 containing the combination of characters used as separator in the file (default value @).

Value

These methods return the invisible NULL object writing as a side-effect the corresponding output file.

See Also

ReadRepoFile

Examples

1
2
3
4
5
6
## Not run: 
# To write the output file in the administrator desktop:
Name <- 'C:/Users/Administrador/Desktop/E30103.FF_V1.MM032014.D_1'
WriteRepoFile(ExampleStQ, Name)

## End(Not run)

david-salgado/RepoReadWrite documentation built on Oct. 3, 2021, 1:09 p.m.