You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I installed the font Droid Sans Mono but all the plots
family<- pdf.options()$family# Helveticaplotname<- paste0(family, ".pdf")
pdf(plotname)
plot(0, main=paste0("This is the ", family, " family"))
dev.off()
embedFonts(plotname, outfile=paste0("embed_", plotname))
font_import()
# ~/.fonts/DroidSansMono.ttf => <r_package_path>/extrafontdb/metrics/DroidSansMono
loadfonts()
# Registering font with R using pdfFonts(): Droid Sans Mono
fonts()
# ... "Droid Sans Mono" ...family<-"Droid Sans Mono"plotname<- paste0(family, ".pdf")
pdf(plotname, family=family)
plot(0, main=paste0("This should be the ", family, " family"))
dev.off()
embedFonts(plotname, outfile=paste0("embed_", plotname))
look identical. On a different machine, however, everything works as expected. Are there any checks to figure out the root of the problem?
Thanks a lot for help!
Chris
devtools::session_info()
─ Session info ─────────
setting value
version R version 3.4.4 (2018-03-15)
os Ubuntu 16.04.7 LTS
system x86_64, linux-gnu
ui X11
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz Europe/Berlin
date 2020-10-06
Hi
I installed the font
Droid Sans Mono
but all the plotslook identical. On a different machine, however, everything works as expected. Are there any checks to figure out the root of the problem?
Thanks a lot for help!
Chris
devtools::session_info()
─ Session info ─────────
setting value
version R version 3.4.4 (2018-03-15)
os Ubuntu 16.04.7 LTS
system x86_64, linux-gnu
ui X11
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz Europe/Berlin
date 2020-10-06
─ Packages ─────────
package * version date lib source
abind * 1.4-5 2016-07-21 [1] CRAN (R 3.4.4)
assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.4.4)
backports 1.1.6 2020-04-05 [1] CRAN (R 3.4.4)
callr 3.4.3 2020-03-28 [1] CRAN (R 3.4.4)
cli 2.0.2 2020-02-28 [1] CRAN (R 3.4.4)
colorout * 1.2-2 2019-09-10 [1] Github (jalvesaq/colorout@641ed38)
crayon 1.3.4 2017-09-16 [1] CRAN (R 3.4.4)
desc 1.2.0 2018-05-01 [1] CRAN (R 3.4.4)
devtools * 2.3.0 2020-04-10 [2] CRAN (R 3.4.4)
digest 0.6.25 2020-02-23 [1] CRAN (R 3.4.4)
dotCall64 * 1.0-0 2018-07-30 [1] CRAN (R 3.4.4)
ellipsis 0.3.0 2019-09-20 [1] CRAN (R 3.4.4)
extrafont * 0.17 2014-12-08 [1] CRAN (R 3.4.4)
extrafontdb 1.0 2012-06-11 [1] CRAN (R 3.4.4)
fansi 0.4.1 2020-01-08 [1] CRAN (R 3.4.4)
fields * 9.8-6 2019-08-19 [1] CRAN (R 3.4.4)
fs 1.4.1 2020-04-04 [2] CRAN (R 3.4.4)
glue 1.4.0 2020-04-03 [1] CRAN (R 3.4.4)
gsw * 1.0-5 2017-08-09 [1] CRAN (R 3.4.4)
magrittr 1.5 2014-11-22 [1] CRAN (R 3.4.4)
maps * 3.3.0 2018-04-03 [1] CRAN (R 3.4.4)
memoise 1.1.0 2017-04-21 [2] CRAN (R 3.4.4)
ncdf4 * 1.17 2019-10-23 [1] CRAN (R 3.4.4)
oce * 1.2-0 2020-02-21 [1] CRAN (R 3.4.4)
pkgbuild 1.0.6 2019-10-09 [1] CRAN (R 3.4.4)
pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.4.4)
prettyunits 1.1.1 2020-01-24 [1] CRAN (R 3.4.4)
processx 3.4.2 2020-02-09 [1] CRAN (R 3.4.4)
ps 1.3.2 2020-02-13 [1] CRAN (R 3.4.4)
R6 2.4.1 2019-11-12 [1] CRAN (R 3.4.4)
RColorBrewer * 1.1-2 2014-12-07 [1] CRAN (R 3.4.4)
Rcpp 1.0.4 2020-03-17 [1] CRAN (R 3.4.4)
remotes 2.1.1 2020-02-15 [2] CRAN (R 3.4.4)
rlang 0.4.5 2020-03-01 [1] CRAN (R 3.4.4)
rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.4.4)
Rttf2pt1 1.3.7 2018-06-29 [1] CRAN (R 3.4.4)
sessioninfo 1.1.1 2018-11-05 [2] CRAN (R 3.4.4)
showtext * 0.9 2020-08-13 [1] CRAN (R 3.4.4)
showtextdb * 3.0 2020-06-04 [1] CRAN (R 3.4.4)
spam * 2.2-2 2019-03-08 [1] CRAN (R 3.4.4)
sysfonts * 0.8.1 2020-05-08 [1] CRAN (R 3.4.4)
testthat * 2.3.2 2020-03-02 [1] CRAN (R 3.4.4)
usethis * 1.6.1 2020-04-29 [2] CRAN (R 3.4.4)
withr 2.1.2 2018-03-15 [1] CRAN (R 3.4.4)
The text was updated successfully, but these errors were encountered: