WriteAlmassInput: Write input file to ALMaSS

Description Usage Arguments Details Value

Description

Write an input file ready for loading in ALMaSS. This has the format of line 1 being the number of rows, line 2 the headers (if needed) and then the actual content of the colummns. The file is a tab delimeted txt file.

Usage

1
WriteAlmassInput(table = NULL, pathtofile = NULL, headers = TRUE)

Arguments

table

data.table The table with the input

pathtofile

character The path to the where the file is written (including the name and extension of the file, usually .txt)

headers

logical Should the output file include headers?

Details

A few of the older ALMaSS input files do not contain headers. This can be switched on or of using the headers argument.

Value

A tab separated text file formatted as an ALMaSS input file.


LDalby/ralmass documentation built on May 8, 2019, 5:48 p.m.