GPSBabel is a freeware program that converts GPS data from one format to another. You can download it and run it on almost any computer, but its command-line interface requires some getting used to -- so I've created this on-line gateway that lets you access a copy of gpsbabel running on GPSVisualizer.com. Of course, you can't use this page to communicate with your GPS receiver -- and a few of GPSBabel's more advanced options (filters and custom XCSV files) aren't included.
Note: When you write a route a waypoint will be generated for each route point. This is annoying. Since waypoints have globally unique names, your route points will be renamed if they collide with another route (a common problem would be numeric names eg. "1" "2" being renamed to "1 1" "2 1" etc.) To prevent this happening use John Dally's patch for gpsbabel.
It's very easy to use gpsbabel to simplify track just this will reduce your track to 400 points, depending on your track this will not affect the accuracy much. E.g. on my biking trips the GPS captures 2 points/s I was able to simplify 8000 points to 400 or even 100 without much effect.
I do have installed gpsbabel and I can see the gpx file correctly downloaded in my working directory.My system and R version are:Windows 7 Enterprise Service Pack 1, running on Intel Core i5-3320M CPU @ 2.60GHz, 4GB RAM, 32 bit OS.
Figuring it out the hard way, I found that readGPS() calls Sys.which which is a function that tries to find where a file is located on the system. ?Sys.which doesn't say it that clearly but (at least on Windows) for it to work, you need to add the install path of gpsbabel to your path.
df19127ead