ourMELONS/man/fgetl.Rd

24 lines
596 B
Text
Raw Normal View History

2020-07-31 09:26:57 +02:00
% Generated by roxygen2: do not edit by hand
2020-07-31 14:05:40 +02:00
% Please edit documentation in R/fgetl-fopen.R
2020-07-31 09:26:57 +02:00
\name{fgetl}
\alias{fgetl}
\title{Read line from file, removing newline characters}
\usage{
fgetl(file)
}
\arguments{
\item{file}{character vector to be read, usually an output of `fopen()`}
}
\value{
If the file is nonempty, then fgetl returns tline as a character vector. If the file is empty and contains only the end-of-file marker, then fgetl returns tline as a numeric value -1.
}
\description{
Equivalent function to its homonymous Matlab equivalent.
}
\seealso{
fopen
}
\author{
Waldir Leoncio
}