deleteCR {GeneR}R Documentation

Delete carriage return in file

Description

Windows and Mac files does not use same terminating newline. This function convert file to Unix standard with only '\n' char for terminating newline.

Usage

deleteCR(file)

Arguments

file file name of a file

Value

0 if error, else 1.

Examples

## WARNING: Because NCBI changed the web service the seqNcbi() function
## needs to connect to, the function is broken. Please contact
## the maintainer of the GeneR package about this. Thanks!
if (interactive()) {

seqNcbi("BY608190",file="BY608190.gbk",type="G")

deleteCR("BY608190.gbk")

}

[Package GeneR version 2.20.0 Index]