
>>>
>>> wps <- system("gpsbabel -w -i garmin -f usb: -o tabsep -F -", intern=TRUE)
>>> wps_df <- read.table(textConnection(wps), fill=TRUE)
>>>       
>
> If gpsbabel is on your Windows path, this should work on XP too, certainly 
> the command itself works in a console (for me, with a Garmin USB cable).
>   
Just tried right now...

wps <- system("gpsbabel -w -i garmin -f com4: -o tabsep -F -", intern=TRUE)

Yipiiiiiiiii ! Makes it perfect... Fantastic...
>   
>>> but there is a lot of unneeded information there. Could the xcsv format be 
>>> used with a suitable style?
>>>       
Maybe, but anyway the info is quite easy to sort out within R keeping 
relevant columns only. One wants generally the waypoints ID, x, y and 
the altitude...

Thanks a lot...

Patrick



	[[alternative HTML version deleted]]


