The R Project SVN R

Rev

Rev 70779 | Rev 83901 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 70779 Rev 75103
Line 1... Line 1...
1
% File src/library/grDevices/man/unix/quartz.Rd
1
% File src/library/grDevices/man/quartz.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2014 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{quartz}
6
\name{quartz}
-
 
7
\title{macOS Quartz Device}
7
\alias{quartz}
8
\alias{quartz}
8
\alias{quartz.options}
9
\alias{quartz.options}
9
\alias{quartz.save}
10
\alias{quartz.save}
10
 
11
 
11
\title{macOS Quartz Device}
-
 
12
\description{
12
\description{
13
  \code{quartz} starts a graphics device driver for the macOS System.
13
  \code{quartz} starts a graphics device driver for the macOS system.
14
  It supports plotting both to the screen (the default) and to various
14
  It supports plotting both to the screen (the default) and to various
15
  graphics file formats.
15
  graphics file formats.
16
}
16
}
17
\usage{
17
\usage{
18
quartz(title, width, height, pointsize, family, antialias, type,
18
quartz(title, width, height, pointsize, family, antialias, type,
Line 130... Line 130...
130
 
130
 
131
\note{
131
\note{
132
  For a long time the default font family was documented as
132
  For a long time the default font family was documented as
133
  \code{"Helvetica"} after it had been changed to \code{"Arial"} to work
133
  \code{"Helvetica"} after it had been changed to \code{"Arial"} to work
134
  around a deficiency in macOS 10.4.   It may be changed back in future.
134
  around a deficiency in macOS 10.4.   It may be changed back in future.
135
  
135
 
136
  A fairly common Mac problem is no text appearing on plots due to
136
  A fairly common Mac problem is no text appearing on plots due to
137
  corrupted or duplicated fonts on your system.  You may be able to
137
  corrupted or duplicated fonts on your system.  You may be able to
138
  confirm this by using another font family,
138
  confirm this by using another font family,
139
  e.g.\sspace{}\code{family = "serif"}.
139
  e.g.\sspace{}\code{family = "serif"}.
140
  Open the \code{Font Book} application (in \code{Applications}) and
140
  Open the \code{Font Book} application (in \code{Applications}) and
Line 145... Line 145...
145
 
145
 
146
  \code{\link{png}} for way to access the bitmap types of this device
146
  \code{\link{png}} for way to access the bitmap types of this device
147
  via \R's standard bitmap devices.
147
  via \R's standard bitmap devices.
148
}
148
}
149
\examples{\dontrun{
149
\examples{\dontrun{
-
 
150
## Only on a Mac,
150
## put something like this is your .Rprofile to customize the defaults
151
## put something like this is your .Rprofile to customize the defaults
151
setHook(packageEvent("grDevices", "onLoad"),
152
setHook(packageEvent("grDevices", "onLoad"),
152
        function(...) grDevices::quartz.options(width = 8, height = 6,
153
        function(...) grDevices::quartz.options(width = 8, height = 6,
153
                                                pointsize = 10))
154
                                                pointsize = 10))
154
}}
155
}}