Seems ok on my system. Axis label size changes when cex.axis does.
## tested in the middle of another long session, so many additional packages are
attached, including some personal packages not available elsewhere
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS:
/Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.0.dylib
LAPACK:
/Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] survival_2.42-3 ROracle_1.3-1 DBI_1.0.0 bookdown_0.7 knitr_1.20
rmarkdown_1.10 wdr_3.2 taurus_3.2-4 xlsx_0.6.1
[10] rmacq_1.3-8
loaded via a namespace (and not attached):
[1] Rcpp_0.12.17 magrittr_1.5 splines_3.5.1 lattice_0.20-35 highr_0.7
stringr_1.3.1 tools_3.5.1 grid_3.5.1 xfun_0.3
[10] tinytex_0.6 htmltools_0.3.6 yaml_2.1.19 rprojroot_1.3-2
digest_0.6.15 zip_1.0.0 Matrix_1.2-14 rJava_0.9-10 xlsxjars_0.6.1
[19] evaluate_0.10.1 openxlsx_4.1.0 stringi_1.2.3 compiler_3.5.1
backports_1.1.2
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
Lab cell 925-724-7509
?On 8/31/18, 1:02 PM, "R-devel on behalf of Spencer Graves"
<r-devel-bounces at r-project.org on behalf of spencer.graves at
prodsyse.com> wrote:
On 2018-08-31 14:21, Spencer Graves wrote:
> Plots produced using svg in R 3.5.1 under macOS 10.13.6 ignores
> cex.axis=2. Consider the following:
>
>
> > plot(1:2, cex.axis=2)
> > svg('svg_ignores_cex.axis.svg')
> > plot(1:2, cex.axis=2)
> > dev.off()
> > sessionInfo()
> R version 3.5.1 (2018-07-02)
> Platform: x86_64-apple-darwin15.6.0 (64-bit)
> Running under: macOS High Sierra 10.13.6
>
> Matrix products: default
> BLAS:
>
/Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.0.dylib
> LAPACK:
>
/Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> loaded via a namespace (and not attached):
> [1] compiler_3.5.1
>
>
> ** The axis labels are appropriately expanded with the first
> "plot(1:2, cex.axis=2)". However, when I wrote that to an
svg file
> and opened it in other applications (GIMP and Safari), the cex.axis
> request was ignored. This also occurred inside RStudio on my Mac. It
> worked properly using R 3.2.1 under Windows 7.
I just confirmed that when I created a file like this under Windows 7
and brought it back to my Mac, it displayed fine. I have not tried this
with the current version of R under Windows 7 nor an old version of R on
my Mac. Thanks. Spencer
>
>
> Thanks,
> Spencer Graves
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel