Hi,
I met similar problems when installing packages from CRAN.
It seems to be related with the function gzfile, which used by read.dcf
I tried the following command,
> read.dcf(system.file("DESCRIPTION", package="lattice"), "Package")
Error in read.dcf(system.file("DESCRIPTION", package = "lattice"), "Package") :
Line starting 'P ...' is malformed!
> thefile <- gzfile(system.file("DESCRIPTION", package="lattice"))
> read.dcf(thefile, "Package")
Error in read.dcf(thefile, "Package") :
Line starting 'P ...' is malformed!
> thefile <- file(system.file("DESCRIPTION", package="lattice"))
> read.dcf(thefile, "Package")
Package
[1,] "lattice"
Sincerely,
Chenliang Xu
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]