Skip to content

R package to produce EMF and EMF+ vector graphics

Notifications You must be signed in to change notification settings

plfjohnson/devEMF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devEMF: EMF Graphics Output Device

devEMF is a R package that provides a graphics device driver that allows R to seamlessly produce EMF and EMF+ vector graphics.

Enhanced Metafile (EMF) and EMF+ were developed by Microsoft, published as open specifications, and are widely supported across platforms and office software suites. EMF+ is a newer format that is encapsulated within an EMF file and allows options such as partial transparency.

See NEWS file for package history; code was transferred from subversion to git in Nov 2022 so git logs are incomplete.

Installation

Install as any R package from CRAN using

install.packages("devEMF")

If you want to install from this git repository, from the directory above this, first build an R package:

R CMD build devEMF

The resulting package will be named devEMF_XXX.tar.gz where XXX is replaced with the current R package version number found in the DESCRIPTION. This file can then be installed as with any local R package installed from source.

Compiling

R will automatically compile the underlying C++ code during installation. On Windows and MacOS there are no additional dependancies. On other systems, some basic dependencies are required to access the font metric information necessary to place text. If Fontconfig is available (perhaps through installing an operating system package called libfontconfig-dev), then devEMF can access font metric information for any installed font; if Fontconfig is not available, devEMF will attempt to use zlib to access font metric information from the 14 core Adobe fonts included in devEMF under inst/.

Bug reports

Developers or users reporting bugs/feature requests shoulds create an issue on github.

About

R package to produce EMF and EMF+ vector graphics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages