repoPrefix | R Documentation |
Get the path to the repo directory containing the package files.
repoPrefix(type, Rversion)
type |
character, indicating the type of package to download and
install. See |
Rversion |
Version of R (only used if
|
The file path to the package files directory.
A repository has two main folders, one for source packages, and the other
for binary packages. Inside the binary package folder, bin
, you will find
subfolders for Windows as well as the various OSX binaries.
+- Root
...+- src/contrib
......+- PACKAGES
..+- bin
.......+- windows/contrib/version
..........+- PACKAGES
.......+- macosx/contrib/version
..........+- PACKAGES
.......+- macosx/mavericks/contrib/version
..........+- PACKAGES
.......+- macosx/leopard/contrib/version
..........+- PACKAGES
Not all versions of R are compatible with with all package types (e.g.,
mac.binary.el-capitan
is only valid for R > 3.4.0).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.