ps.end(sfsmisc)
ps.end()所属R语言包:sfsmisc
Close PostScript or Acrobat Graphics Device opened by 'ps.do' / 'pdf.do'
关闭的PostScript或Acrobat图形设备打开“ps.do /”pdf.do的“
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Closes the PostScript or PDF file (postscript,pdf), openend by a previous ps.do (or pdf.latex, or ...) call, using dev.off, and additionally opens a previewer for that file, unless the previewer is already up. This almost provides an "interactive" device (like x11) for postscript or pdf.
关闭PostScript或PDF文件(postscript,pdf),openend以前的ps.do(或pdf.latex,或...)的调用,使用dev.off的 ,另外还打开该文件的预览,除非已经预览。这几乎提供了一个“互动”的设备(如x11)postscript或pdf。
用法----------Usage----------
ps.end(call.gv= NULL, command = getOption("eps_view"),
debug = getOption("verbose"))
pdf.end(call.viewer= NULL, command = getOption("pdfviewer"),
debug = getOption("verbose"))
参数----------Arguments----------
参数:call.gv,call.viewer
logical, indicating if the postscript or acrobat reader (e.g., ghostview or acroread or the command given by command) should be called. By default, find out if the viewer is already runing on this file and only call it if needed.
逻辑,如果后记或Acrobat Reader(例如,利用Ghostview或acroread或的命令由command)应该叫。默认情况下,如果观众已经运行于该文件,并调用它,如果需要的。
参数:command
character, giving a system command for PostScript previewing. By default, getOption("eps_view") is set to<br> gv -watch -geometry -0+0 -magstep -2 -media BBox -noantialias which assumes gv (aka ghostview) to be in your OS path.
字符,系统命令为PostScript预览。默认情况下,getOption("eps_view")设置为参考gv -watch -geometry -0+0 -magstep -2 -media BBox -noantialias假设gv(又名利用Ghostview)是在您的操作系统路径。
参数:debug
logical; if TRUE print information during execution.
逻辑,如果TRUE在执行过程中的打印信息。
Details
详细信息----------Details----------
Depends on Unix tools, such as ps.
取决于UNIX工具,如ps。
(作者)----------Author(s)----------
Martin Maechler
参见----------See Also----------
postscript, postscript pdf.do, ps.do, ...
postscript,postscriptpdf.do,ps.do,...
实例----------Examples----------
if(interactive()
) {
ps.do("ex.ps")
data(sunspots)
plot(sunspots)
ps.end()
pdf.latex("ex-sun.pdf")
plot(sunspots)
pdf.end(call. = FALSE) # basically the same as dev.off()[基本上是相同的作为dev.off()]
}
ps.latex("ex2.eps")
plot(sunspots)
ps.end(call.gv = FALSE) # basically the same as dev.off()[基本上是相同的作为dev.off()]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|