'How to control PDF "Initial view" settings in R?

When using the pdf function in R, how can we control the Initial view settings of the produced document? I mean: navigation tab (page only, bookmarks, etc.), page layout (singe page, single page continuous, etc.) and magnification (actual size, fit page, etc.), as shown here in Acrobat:

document properties

I read the documentation of the pdf function but did not find anything about this. If this function does not allow controlling these settings, is it possible to do it in a different way? (e.g. modifying these settings programmatically after the document has been generated).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source