问题
when I plot via pdf() in R, I would like to set the meta data for the PDF: title, author, keywords, subject. The default for the title seems to be "R Graphics Output".
How can I specify the meta data?
回答1:
You may set the document's title by passing an appropriate title
arg to the pdf()
function. For other metadata, refer to this SO Q&A in which the usage of external tools (like pdftk
or exiftool
) is recommended, see this Q&A at AskUbuntu.
来源:https://stackoverflow.com/questions/24231827/adding-meta-data-when-plotting-to-pdf