MetaPost Three Ways
datasetposted on 02.12.2018 by Paul Murrell
Datasets usually provide raw data for analysis. This raw data often comes in spreadsheet form, but can be any collection of data, on which analysis can be performed.
This report describes three different approaches to communicating between R and MetaPost: importing the PostScript output from MetaPost with the 'grImport' package; calling the
mpostprogram to solve MetaPost paths with the 'metapost' package; and calling the
mpliblibrary to solve MetaPost paths with the 'mplib' package.