# set HTTP user agentos_release <- readLines("/etc/os-release")name_line <- grep("^NAME=", os_release, value = TRUE)name <- sub('^NAME="(.*)"$', '\\1', name_line)version_line <- grep("^VERSION_ID=", os_release, value = TRUE)version <- sub('^VERSION_ID="(.*)"$', '\\1', version_line)
options(HTTPUserAgent = sprintf( "R/%s (%s %s) (%s)", getRversion(), name, version, paste(R.version["platform"], R.version["arch"], R.version["os"])))
# set repository URLoptions(repos = "cran.rpkgs.com")
# install packageinstall.packages("brew")
~/.Rprofile
or your project's .Rprofile
. Check the documentation in case of any issues.x86-64
can be used interchangeably with amd64
)options(repos = "cran.rpkgs.com/amd64/noble/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/amd64/noble/latest")
options(repos = "cran.rpkgs.com/amd64/jammy/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/amd64/jammy/latest")
options(repos = "cran.rpkgs.com/amd64/rhel8/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/amd64/rhel8/latest")
options(repos = "cran.rpkgs.com/amd64/rhel9/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/amd64/rhel9/latest")
options(repos = "cran.rpkgs.com/amd64/rhel10/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/amd64/rhel10/latest")
options(repos = "cran.rpkgs.com/amd64/alpine320/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/amd64/alpine320/latest")
options(repos = "cran.rpkgs.com/amd64/alpine321/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/amd64/alpine321/latest")
options(repos = "cran.rpkgs.com/arm64/alpine322/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/alpine322/latest")
aarch64
can be used interchangeably with arm64
)options(repos = "cran.rpkgs.com/arm64/noble/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/noble/latest")
options(repos = "cran.rpkgs.com/arm64/jammy/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/jammy/latest")
options(repos = "cran.rpkgs.com/arm64/rhel8/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/rhel8/latest")
options(repos = "cran.rpkgs.com/arm64/rhel9/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/rhel9/latest")
options(repos = "cran.rpkgs.com/arm64/rhel10/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/rhel10/latest")
options(repos = "cran.rpkgs.com/arm64/alpine320/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/alpine320/latest")
options(repos = "cran.rpkgs.com/arm64/alpine321/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/alpine321/latest")
options(repos = "cran.rpkgs.com/arm64/alpine322/latest")
~/.Rprofile
or your project's .Rprofile
.install.packages("brew", repos = "cran.rpkgs.com/arm64/alpine322/latest")