convOS: Convert Text Files to Default OS Format

View source: R/PBSadmb.r

convOSR Documentation

Convert Text Files to Default OS Format

Description

Convert text files to the default format of the operating system.

Usage

convOS(inam, onam = inam, path = getwd() )

Arguments

inam

string vector of names specifying files to be converted to the format of the operating system.

onam

string vector of name specifying the output files (the default overwrites the input file).

path

string specifying the path where the input files are located (defaults to current working directory).

Value

Text file(s) formatted in accordance with standards of the operating system.

Note

This function essentially executes a readLines command followed by a call to writeLines.

Author(s)

Rowan Haigh, Program Head – Offshore Rockfish
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
locus opus: Offsite, Vancouver BC
Last modified Rd: 2009-12-04

See Also

copyFiles, .addQuotes


PBSadmb documentation built on Nov. 11, 2023, 1:07 a.m.