Pre-installed R Packages

The R console, Built-in Apps and Shiny Apps come with a number of the most commonly used data science packages pre-installed. To get the best performance you should only ever install these specific packages manually if they explicitly require a different version to the one that is baked in.

Installing a different version of a pre-baked package

Should you require a specific package version other than what is pre-baked (see the list below), you will need to follow these installation instructions.

First, you need to check which packages are dependent on a package you want to update:

library(tools) 
dependsOnPkgs("modelr")

If the package was installed as a dependency of another package, unload the namespace of the parent package first, followed by the package you want to update:

unloadNamespace("tidyverse")
unloadNamespace("modelr")

Next, install the required package version:

devtools::install_version("modelr", "0.1.3")

Then, you can reload the package (the updated package should be loaded first followed by the parent):

library("modelr")
library("tidyverse")

Check the loaded package version:

packageVersion("modelr")

A new package version will be installed in the /home/workspace/files/R/Rversion folder from which the Apps and the R console will pull the updated package version by default.

Unfortunately, there are a couple of pre-installed packages that cannot be unloaded because they are needed for the underlying functionality of the R console (e.g. htmltools). In that case, you can use the system command to run an installation on a fresh R console behind the scenes:

system("Rscript -e \"devtools::install_version('htmltools', '0.5.1.1')\"")

Restart any R sessions or Apps to pull this newly installed package version.

If you encounter any issues installing a different package version to the one that is baked in, then please submit a Service Desk request.

List of installed R packages

The list of packages below includes both the pre-installed packages and their dependencies.

Package list4.1.14.0.23.6.33.5.3
arrow5.0.0.21.0.1n/an/a
askpass1.11.11.11.1
assertthat0.2.10.2.10.2.10.2.1
backports1.2.11.1.101.1.71.1.4
base4.1.14.0.23.6.33.5.3
base64enc0.1-30.1-30.1-30.1-3
BHn/a1.72.0-31.72.0-31.69.0-1
BiocManager1.30.161.30.151.30.151.30.0
BiocVersion3.13.13.12.03.10.11.30.4
bit4.0.44.0.41.1-15.21.1-14
bit644.0.54.0.50.9-70.9-7
bitopsn/an/a1.0-61.0-6
blob1.2.21.2.11.2.11.1.1
boot1.3-281.3-251.3-241.3-20
brew1.0-61.0-61.0-61.0-6
brio1.1.2n/an/an/a
broom0.7.90.7.10.5.60.5.2
cachem1.0.6n/an/an/a
callr3.7.03.4.43.4.33.2.0
caToolsn/an/a1.18.01.17.1.2
cellranger1.1.01.1.01.1.01.1.0
class7.3-197.3-177.3-157.3-15
cli3.0.12.0.22.0.21.1.0
clipr0.7.10.7.00.7.00.6.0
clisymbolsn/an/a1.2.01.2.0
cluster2.1.22.1.02.1.02.0.7-1
codetools0.2-180.2-160.2-160.2-16
colorspace2.0-21.4-11.4-11.4-1
commonmark1.71.71.71.7
compiler4.1.14.0.23.6.33.5.3
covrn/a3.5.13.5.03.2.1
cpp110.4.00.2.2n/an/a
crayon1.4.11.3.41.3.41.3.4
credentials1.3.11.3.0n/an/a
crosstalkn/a1.1.0.11.1.0.1n/a
curl4.3.24.34.33.3
cyclocompn/an/a1.1.0n/a
DAAGn/an/an/an/a
data.table1.14.21.13.01.12.81.12.2
datasets4.1.14.0.23.6.33.5.3
DBI1.1.11.1.01.1.01.0.0
dbplyr2.1.12.1.12.1.11.4.0
desc1.4.01.2.01.2.01.2.0
devtools2.4.22.3.22.3.02.0.2
diffobj0.3.4n/an/an/a
digest0.6.280.6.250.6.250.6.18
docopt0.7.10.7.10.6.10.6.1
dplyr1.0.71.0.61.0.60.8.0.1
DTn/a0.150.13n/a
dtplyr1.1.01.0.11.0.10.0.3
ellipsis0.3.20.3.20.3.20.3.2
evaluate0.140.140.140.13
fansi0.5.00.4.10.4.10.4.0
farver2.1.02.0.32.0.3n/a
fastmap1.1.01.0.11.0.1n/a
feathern/an/a0.3.50.3.3
foghornn/an/a1.2.11.1.0
fontawesome0.2.2n/an/an/a
forcats0.5.10.5.00.5.00.4.0
foreign0.8-810.8-800.8-750.8-71
formatRn/an/a1.71.6
fs1.5.01.5.01.4.11.2.7
fst0.9.40.9.4n/an/a
gargle1.2.0n/a0.5.1n/a
generics0.1.00.0.20.0.20.0.2
gert1.4.10.3n/an/a
ggplot23.3.53.3.33.3.33.3.3
ggvis0.4.70.4.70.4.70.4.7
gh1.3.01.1.01.1.01.0.1
git2rn/a0.27.10.27.10.25.2
gitcreds0.1.1n/an/an/a
glue1.4.21.4.21.4.01.3.1
gmailrn/an/a1.0.00.7.1
googledrive2.0.0n/an/an/a
googlesheets41.0.0n/an/an/a
graphics4.1.14.0.23.6.33.5.3
grDevices4.1.14.0.23.6.33.5.3
grid4.1.14.0.23.6.33.5.3
gtable0.3.00.3.00.3.00.3.0
haven2.4.32.3.12.2.02.1.0
hflights0.10.10.10.1
highlightn/an/a0.5.00.4.7.2
highr0.90.80.80.8
hms1.1.10.5.30.5.30.4.2
htmltools0.5.20.5.00.4.00.3.6
htmlwidgets1.5.41.5.21.5.11.3
httpuv1.6.31.5.41.5.21.5.1
httr1.4.21.4.21.4.11.4.0
hunspelln/an/a33
ids1.0.1n/an/an/a
igraphn/an/an/a1.2.4.1
ini0.3.10.3.10.3.10.3.1
IRdisplay1110.7.0
IRkernel1.21.1.11.21.0.0
isoband0.2.50.2.20.2.10.2.4
jquerylib0.1.4n/an/an/a
jsonlite1.7.21.7.11.6.11.6
KernSmooth2.23-202.23-172.23-162.23-15
knitr1.361.331.331.22
labeling0.4.20.30.30.3
Lahman9.0-08.0-07.0-16.0-0
later1.3.01.1.0.11.0.00.8.0
lattice0.20-450.20-410.20-380.20-38
lazyevaln/a0.2.20.2.20.2.2
lifecycle1.0.11.0.01.0.01.0.0
lintrn/an/a2.0.11.0.3
littler0.3.130.3.110.3.90.3.7
lubridate1.7.101.7.91.7.81.7.4
magrittr2.0.11.51.51.5
markdownn/a1.11.10.9
MASS7.3-547.3-51.67.3-51.57.3-51.1
Matrix1.3-41.2-181.2-181.2-15
memoise2.0.01.1.01.1.01.1.0
methods4.1.14.0.23.6.33.5.3
mgcv1.8-371.8-311.8-311.8-27
microbenchmark1.4-71.4-71.4-71.4-7
mime0.120.90.90.6
mockery0.4.20.4.20.4.20.4.1.1
modelr0.1.80.1.80.1.70.1.4
munsell0.5.00.5.00.5.00.5.0
nlme3.1-1533.1-1483.1-1443.1-137
nnet7.3-167.3-147.3-127.3-12
nycflights131.0.21.0.11.0.11.0.0
openssl1.4.51.4.31.4.11.3
parallel4.1.14.0.23.6.33.5.3
parsedaten/an/a1.2.01.1.3
pbdZMQ0.3-50.3-30.3-50.3-3
pillar1.6.31.6.11.6.11.6.1
pingrn/an/a2.0.01.1.2
PivotalRn/an/an/a0.1.18.3.1
pkgbuild1.2.01.1.01.0.81.0.3
pkgconfig2.0.32.0.32.0.32.0.2
pkgdownn/an/a1.5.11.3.0
pkgload1.2.21.1.01.0.21.0.2
plogr0.2.00.2.00.2.00.2.0
plyrn/an/a1.8.61.8.4
praise1.0.01.0.01.0.01.0.0
prettyunits1.1.11.1.11.1.11.0.2
processx3.5.23.4.43.4.23.3.0
profvis0.3.70.3.70.3.70.3.5
progress1.2.21.2.21.2.21.2.0
promises1.2.0.11.1.11.1.01.0.1
ps1.6.01.3.41.3.31.3.0
purrr0.3.40.3.40.3.40.3.2
R62.5.12.4.12.4.12.4.0
rappdirs0.3.3n/a0.3.10.3.1
rcmdcheck1.4.01.3.31.3.31.3.2
RColorBrewer1.1-21.1-21.1-21.1-2
Rcpp1.0.71.0.51.0.41.0.1
RCurln/an/an/a1.95-4.12
readr2.0.21.4.01.3.11.3.1
readxl1.3.11.3.11.3.11.3.1
rematch1.0.11.0.11.0.11.0.1
rematch22.1.22.1.22.1.22.0.1
remotes2.4.12.2.02.1.12.0.4
repr1.1.31.1.31.1.31.0.0
reprex2.0.10.3.00.3.00.2.1
reshape2n/an/a1.4.41.4.3
rexn/a1.2.01.2.01.1.2
Rhtslib1.24.01.22.01.18.1n/a
rhubn/an/a1.1.11.1.1
rlang0.4.110.4.110.4.110.4.11
RMariaDB1.1.21.0.10n/an/a
rmarkdown2.112.42.11.12
RMySQLn/an/a0.10.200.10.17
roxygen27.1.27.1.17.1.06.1.1
rpart4.1-154.1-154.1-154.1-13
RPostgres1.4.11.2.1n/an/a
RPostgreSQL0.70.6-20.6-20.6-2
rprojroot2.0.21.3-21.3-21.3-2
rsconnectn/an/an/a0.8.13
RSQLite2.2.82.2.12.2.02.1.1
rstudioapi0.130.110.110.1
rversions2.1.12.0.22.0.11.1.0
rvest1.0.10.3.60.3.50.3.3
sass0.4.0n/an/an/a
scales1.1.11.1.11.1.11.0.0
selectr0.4-20.4-20.4-20.4-1
sessioninfo1.1.11.1.11.1.11.1.1
shiny1.7.11.5.01.4.0.21.3.2
sourcetools0.1.70.1.70.1.70.1.7
sp1.4-51.4-51.4-51.4-5
spatial7.3-147.3-127.3-117.3-11
spellingn/an/a2.12.1
splines4.1.14.0.23.6.33.5.3
stats4.1.14.0.23.6.33.5.3
stats44.1.14.0.23.6.33.5.3
stringdistn/an/an/a0.9.5.1
stringi1.7.51.5.31.4.61.4.3
stringr1.4.01.4.01.4.01.4.0
survival3.2-133.1-123.1-82.43-3
sys3.43.43.33.2
tcltk4.1.14.0.23.6.33.5.3
testitn/an/a0.110.9
testthat3.1.02.3.22.3.22.1.1
tibble3.1.53.1.23.1.23.1.2
tidyr1.1.41.1.21.0.30.8.3
tidyselect1.1.11.1.01.1.00.2.5
tidyverse1.3.11.3.01.3.01.2.1
tinytex0.340.260.210.12
tools4.1.14.0.23.6.33.5.3
tzdb0.1.2n/an/an/a
usethis2.0.11.6.31.6.11.5.0
utf81.2.21.1.41.1.41.1.4
utils4.1.14.0.23.6.33.5.3
uuid0.1-40.1-40.1-40.1-2
vctrs0.3.80.3.80.3.80.3.8
viridisLite0.4.00.3.00.3.00.3.0
vroom1.5.51.3.2n/an/a
waldo0.3.1n/an/an/a
whisker0.40.40.40.3-2
whoamin/an/a1.3.01.3.0
withr2.4.22.3.02.2.02.1.2
xaputils1111
xfun0.260.230.230.6
XMLn/an/a3.99-0.33.98-1.19
xml21.3.21.3.21.3.21.2.0
lparsedatan/an/a1.0.3n/a
xopen1.0.01.0.01.0.01.0.0
xtable1.8-41.8-41.8-41.8-4
yaml2.2.12.2.12.2.12.2.0
zip2.2.0n/an/an/a
zlibbioc1.38.01.36.01.32.0n/a

Please note that rgdal has recently been retired so has been removed from our list of preinstalled packages.

Updated on September 21, 2023

Was this article helpful?