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

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

deleteCR("BY608190.gbk")


[Package GeneR version 2.24.0 Index]