2
我在Mac上运行file.show()
在RStudio,像这样:阿尔特file.show()行为
filename <- "/Users/me/reports/myfile.pdf" # replace with file location/name
file.show(file.path(filename), title="My File")
这做了两两件事:
打开我的file.pdf
在RStudio中打开一个名为“我的文件”的空白文件。
options()$pdfviewer
回报:
"/usr/bin/open"
如何停止(2)发生?
您需要更多地指定您的工作环境。例如,这会返回什么:'options()$ pdfviewer'。我在Mac中获得了不同的行为(但没有运行RStudio。) – 2013-05-09 00:02:12
更新了出错的选项()$ pdfviewer' – luciano 2013-05-09 19:01:09