Improved deg2num() and num2deg() so they handle NA values.
Added modern.sh script, demonstrating GMT modern mode.
Adapted package to GMT version 5.
Changed psclose() so it does not alter bounding box declarations or remove configuration and history files.
Added NAMESPACE file.
Changed example to A4 paper.
Improved psxy(), pstext(), and psclose() so they no longer expect a Mercator-projected map, but any kind of map.
Simplified gmt.system(), thanks to improved system() in R 2.5.0.
Added function num2deg() to convert numeric to degrees, the opposite of deg2num().
Changed gmt() so quiet=TRUE by default, and files .gmtcommands4 and .gmtdefaults4 are created in dirname(file) instead of R working directory.
Changed psxy(), pstext(), and psbar() so temporary GMT input files are saved directory dirname(tempdir()) instead of R working directory. These temporary files are later removed by psclose().
Changed psclose() so the bounding box declaration is moved to the postscript file header, and GMT input files are removed from temporary directory. If cleanup=TRUE, the files .gmtcommands4 and .gmtdefaults4 are also removed.
Improved r2gmt() to support # commented table header.
Added scripts example.bat and example.sh that mimic the behaviour of the ‘gmt’ package.
Improved help page examples.
Added help pages for all functions.
Submitted to CRAN.
Added argument ‘ref’ to psbar() to standardize bar height.
Added function gmt() to initialize GMT session, making .gmthome(), gmtdefaults, and gmtset() obsolete. The package assumes that binaries are in the PATH and GMTHOME is defined.
Added function r2gmt() to write GMT input files, making .data2gmt() and .file2gmt() obsolete.
Added functions .data2gmt(), .file2gmt(), .gmthome(), deg2num(), geodist(), gmt(), gmtdefaults(), gmtset(), psbar(), psclose(), pscoast(), pstext(), and psxy().
Added example objects demo.bar, demo.coast, demo.set, demo.text, and demo.xy.