# NOT RUN {
# }
# NOT RUN {
# a GPS device must be connected
gps2gpx() # download waypoints and print to the console
gps2gpx(t="t") # download tracks and print to the console
gps2gpx(filename="myfile") # download waypoints and write a gpx file
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab