找回密码
 注册
查看: 229|回复: 0

R语言 sfsmisc包 ps.end()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:40:47 | 显示全部楼层 |阅读模式
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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-21 21:20 , Processed in 0.021593 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表