[R] Error: Line starting ' ...' is malformed!
macqueen1 at llnl.gov
Mon Jul 29 16:47:34 CEST 2013
A recent version of the R extension manual says,
"For maximal portability, the ‘DESCRIPTION’ file should be written
entirely in ASCII — if this is not possible it must contain an ‘Encoding’
field (see below)."
It also says, regarding the DESCRIPTION file,
"Fields start with an ASCII name immediately followed by a colon: the
value starts after the colon and a space."
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
On 7/26/13 11:08 AM, "Ross Boylan" <ross at biostat.ucsf.edu> wrote:
>A DESCRIPTION file begins with 0xFFFE and
>$ file DESCRIPTION
>DESCRIPTION: Little-endian UTF-16 Unicode text, with CRLF, CR line
>I think it was created on Windows.
>In R (2,15,1 on Debian GNU/Linux), using roxygen2, I get
>Error: Line starting '��P ...' is malformed!
>Enter a frame number, or 0 to exit
>Called from: read.description(DESCRIPTION)
>I'm not sure if the first 2 characters after line starting ', which are
>377, 376, will survive email; I stripped them out of the subject line.
>The files (DESCRIPTION isn't the only one) have also caused trouble for
>(even on Windows 7), since it thinks they are binary.
>Any advice about what to do?
>I'm reluctant to change the format of the files because it's not my
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help