[R] read.csv "Duplicate row.names not allowed"

Hasan Diwan hasan.diwan at gmail.com
Tue Feb 7 06:22:58 CET 2012


I'm trying to read in a CSV, with lines looking like:
HEADER,  Latitude DecDeg,  Latitude Hemisphere,  Longitude DecDeg,
Longitude Hemisphere,  Speed knots,  Bearing Degrees,  fixQualityGga,
noOfSatGga,  altGga,  heightGga,  selectionGsa,  fixGsa,  pdopGsa,
hdopGsa,  vdopGsa,  noOfSatGsv,  Time, *checkSum
$GPS, 3747.0224, N, 12223.4522, W, 0.36, 348.21, 1, 3, 4.01, 175.5,
-25.2, A, 2, 4.14, 4.01, 1.00, 00, 1328565081, *0E
$GPS, 3747.0894, N, 12223.4684, W, 0.44, 348.21, 1, 4, 1.65, 14.4,
-25.2, A, 3, 1.92, 1.65, 0.99, 00, 1328565082, *3D
$GPS, 3747.0897, N, 12223.4685, W, 0.13, 348.21, 1, 6, 1.23, 14.0,
-25.2, A, 3, 1.57, 1.23, 0.98, 00, 1328565083, *32
... using read.csv and am getting the error message in the subject
line ("Duplicate row.names not allowed"). Any idea what is causing
this?
-- 
Sent from my mobile device
Envoyait de mon portable



More information about the R-help mailing list