inst/examples/figs2eps.R

f <- list.files(pattern = "*.pdf")
# these have transparency, need to use Illustrator to flatten:
f <- f[-which(f == "spatial-mv.pdf")]
f <- f[-which(f == "cons-plans-n.pdf")]

for(i in 1:length(f)) {
  system(paste0("pdftops -eps ", f[i]))
}

Try the metafolio package in your browser

Any scripts or data that you put into this service are public.

metafolio documentation built on Oct. 21, 2023, 1:06 a.m.