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{
|
2022-07-28 15:47:36 +02:00
|
|
|
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.
|
2020-07-31 09:26:57 +02:00
|
|
|
}
|
|
|
|
|
\description{
|
|
|
|
|
Equivalent function to its homonymous Matlab equivalent.
|
|
|
|
|
}
|
|
|
|
|
\seealso{
|
|
|
|
|
fopen
|
|
|
|
|
}
|
|
|
|
|
\author{
|
|
|
|
|
Waldir Leoncio
|
|
|
|
|
}
|