Rev 78042 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
R Under development (unstable) (2020-03-24 r78039) -- "Unsuffered Consequences"Copyright (C) 2020 The R Foundation for Statistical ComputingPlatform: x86_64-pc-linux-gnu (64-bit)R is free software and comes with ABSOLUTELY NO WARRANTY.You are welcome to redistribute it under certain conditions.Type 'license()' or 'licence()' for distribution details.R is a collaborative project with many contributors.Type 'contributors()' for more information and'citation()' on how to cite R or R packages in publications.Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an HTML browser interface to help.Type 'q()' to quit R.> ## tests of the fonts in the postscript() device.>> testit <- function(family, encoding="default")+ {+ postscript("ps-tests.ps", height=7, width=7, family=family,+ encoding=encoding)+ plot(1:10, type="n")+ text(5, 9, "Some text")+ text(5, 8 , expression(italic("italic")))+ text(5, 7 , expression(bold("bold")))+ text(5, 6 , expression(bolditalic("bold & italic")))+ text(8, 3, expression(paste(frac(1, sigma*sqrt(2*pi)), " ",+ plain(e)^{frac(-(x-mu)^2, 2*sigma^2)})))+ dev.off()+ }>> testit("Helvetica")null device1> testit("AvantGarde")null device1> testit("Bookman")null device1> testit("Courier")null device1> testit("Helvetica-Narrow")null device1> testit("NewCenturySchoolbook")null device1> testit("Palatino")null device1> testit("Times")null device1>> testit("URWGothic")null device1> testit("URWBookman")null device1> testit("NimbusMon")null device1> testit("NimbusSan")null device1> testit("NimbusSanCond")null device1> testit("CenturySch")null device1> testit("URWPalladio")null device1> testit("NimbusRom")null device1> testit("URWHelvetica")null device1> testit("URWTimes")null device1>> testit("ComputerModern", "TeXtext.enc")null device1>> unlink("ps-tests.ps")>> proc.time()user system elapsed0.530 0.046 0.558