- Created by Simon Alexander, last modified on Aug 01, 2024
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 15 Next »
Goal: Create an environment using the R language that includes the TidyVerse library.
General Process
[salexan5@mblog1 ~]$ conda create -n r_env r=4.3.1 salexan5@mblog1 ~]$ conda activate r_env (r_env) [salexan5@mblog1 ~]$ R --version R version 4.3.1 (2023-06-16) -- "Beagle Scouts" ... (r_env) [salexan5@mblog1 ~]$ conda search tidyverse ... (r_env) [salexan5@mblog1 ~]$ conda install r-tidyverse=2.0.0 (r_env) [salexan5@mblog1 ~]$ R > library(tidyverse) ── Attaching core tidyverse packages ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── tidyverse 2.0.0 ── ... > quit() Save workspace image? [y/n/c]: n (r_env) [salexan5@mblog1 ~]$ conda deactivate [salexan5@mblog1 ~]$
Create R Environment
[salexan5@mblog1 ~]$ conda create -n r_env r=4.3.1 Channels: - defaults Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: done ## Package Plan ## environment location: /project/arcc/salexan5/conda/envs/r_env added / updated specs: - r=4.3.1 ...
Notice we can include the R language package (previously defined in a separate conda install ...
in the creation line.
The environment install location has been updated to: environment location: /project/arcc/salexan5/conda/envs/r_env
as configured.
How to Activate
... Downloading and Extracting Packages: Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate r_env # # To deactivate an active environment, use # # $ conda deactivate
[salexan5@mblog1 ~]$ conda create -n r_env r=4.3.1 Channels: - defaults Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: done ## Package Plan ## environment location: /project/arcc/salexan5/conda/envs/r_env added / updated specs: - r=4.3.1 The following packages will be downloaded: package | build ---------------------------|----------------- _libgcc_mutex-0.1 | main 3 KB _openmp_mutex-5.1 | 1_gnu 21 KB _r-mutex-1.0.0 | anacondar_1 2 KB _sysroot_linux-64_curr_repodata_hack-3| haa98f57_10 12 KB binutils_impl_linux-64-2.38| h2a08ee3_1 5.2 MB binutils_linux-64-2.38.0 | hc2dff05_0 24 KB blas-1.0 | openblas 46 KB bwidget-1.9.16 | h9eba36c_0 219 KB bzip2-1.0.8 | h5eee18b_6 262 KB c-ares-1.19.1 | h5eee18b_0 118 KB ca-certificates-2024.3.11 | h06a4308_0 127 KB cairo-1.16.0 | hb05425b_5 1.2 MB curl-8.7.1 | hdbd6064_0 86 KB expat-2.6.2 | h6a678d5_0 177 KB fontconfig-2.14.1 | h4c34cd2_2 281 KB freetype-2.12.1 | h4a9f257_0 626 KB fribidi-1.0.10 | h7b6447c_0 103 KB gcc_impl_linux-64-11.2.0 | h1234567_1 22.2 MB gcc_linux-64-11.2.0 | h5c386dc_0 25 KB gfortran_impl_linux-64-11.2.0| h1234567_1 10.2 MB gfortran_linux-64-11.2.0 | hc2dff05_0 24 KB glib-2.78.4 | h6a678d5_0 508 KB glib-tools-2.78.4 | h6a678d5_0 115 KB graphite2-1.3.14 | h295c915_1 97 KB gxx_impl_linux-64-11.2.0 | h1234567_1 10.6 MB gxx_linux-64-11.2.0 | hc2dff05_0 24 KB harfbuzz-4.3.0 | hf52aaf7_2 1.3 MB icu-73.1 | h6a678d5_0 25.9 MB jpeg-9e | h5eee18b_1 262 KB kernel-headers_linux-64-3.10.0| h57e8cba_10 952 KB krb5-1.20.1 | h143b758_1 1.3 MB ld_impl_linux-64-2.38 | h1181459_1 654 KB lerc-3.0 | h295c915_0 196 KB libcurl-8.7.1 | h251f7ec_0 424 KB libdeflate-1.17 | h5eee18b_1 64 KB libedit-3.1.20230828 | h5eee18b_0 179 KB libev-4.33 | h7f8727e_1 111 KB libffi-3.4.4 | h6a678d5_1 141 KB libgcc-devel_linux-64-11.2.0| h1234567_1 2.5 MB libgcc-ng-11.2.0 | h1234567_1 5.3 MB libgfortran-ng-11.2.0 | h00389a5_1 20 KB libgfortran5-11.2.0 | h1234567_1 2.0 MB libglib-2.78.4 | hdc74915_0 1.5 MB libgomp-11.2.0 | h1234567_1 474 KB libiconv-1.16 | h5eee18b_3 759 KB libnghttp2-1.57.0 | h2d74bed_0 674 KB libopenblas-0.3.21 | h043d6bf_0 5.4 MB libpng-1.6.39 | h5eee18b_0 304 KB libssh2-1.11.0 | h251f7ec_0 282 KB libstdcxx-devel_linux-64-11.2.0| h1234567_1 14.6 MB libstdcxx-ng-11.2.0 | h1234567_1 4.7 MB libtiff-4.5.1 | h6a678d5_0 533 KB libuuid-1.41.5 | h5eee18b_0 27 KB libwebp-base-1.3.2 | h5eee18b_0 387 KB libxcb-1.15 | h7f8727e_0 505 KB libxml2-2.10.4 | hfdd30dd_2 754 KB lz4-c-1.9.4 | h6a678d5_1 156 KB make-4.2.1 | h1bed415_1 415 KB ncurses-6.4 | h6a678d5_0 914 KB openssl-3.0.14 | h5eee18b_0 5.2 MB pango-1.50.7 | h05da053_0 427 KB pcre2-10.42 | hebb0a14_1 1.3 MB pip-24.0 | py312h06a4308_0 3.3 MB pixman-0.40.0 | h7f8727e_1 373 KB python-3.12.4 | h5148396_1 34.8 MB r-4.3.1 | r43_0 4 KB r-base-4.3.1 | h1ae530e_0 23.9 MB r-boot-1.3_28.1 | r43h6115d3f_0 609 KB r-class-7.3_22 | r43h76d94ec_0 105 KB r-cluster-2.1.4 | r43h640688f_0 551 KB r-codetools-0.2_19 | r43h6115d3f_0 103 KB r-foreign-0.8_85 | r43h76d94ec_0 249 KB r-kernsmooth-2.23_22 | r43h640688f_0 94 KB r-lattice-0.22_5 | r43h76d94ec_0 1.3 MB r-mass-7.3_60 | r43h76d94ec_0 1.1 MB r-matrix-1.6_1.1 | r43h76d94ec_0 3.7 MB r-mgcv-1.9_0 | r43h76d94ec_0 3.1 MB r-nlme-3.1_163 | r43h640688f_0 2.2 MB r-nnet-7.3_19 | r43h76d94ec_0 129 KB r-recommended-4.3.1 | r43_0 4 KB r-rpart-4.1.21 | r43h76d94ec_0 683 KB r-spatial-7.3_17 | r43h76d94ec_0 149 KB r-survival-3.5_7 | r43h76d94ec_0 5.9 MB readline-8.2 | h5eee18b_0 357 KB setuptools-69.5.1 | py312h06a4308_0 1.3 MB sqlite-3.45.3 | h5eee18b_0 1.2 MB sysroot_linux-64-2.17 | h57e8cba_10 32.6 MB tk-8.6.14 | h39e8969_0 3.4 MB tktable-2.10 | h3d55465_1 96 KB tzdata-2024a | h04d1e81_0 116 KB wheel-0.43.0 | py312h06a4308_0 142 KB xz-5.4.6 | h5eee18b_1 643 KB zlib-1.2.13 | h5eee18b_1 111 KB zstd-1.5.5 | hc292b87_2 643 KB ------------------------------------------------------------ Total: 255.5 MB The following NEW packages will be INSTALLED: _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu _r-mutex pkgs/main/linux-64::_r-mutex-1.0.0-anacondar_1 _sysroot_linux-64~ pkgs/main/noarch::_sysroot_linux-64_curr_repodata_hack-3-haa98f57_10 binutils_impl_lin~ pkgs/main/linux-64::binutils_impl_linux-64-2.38-h2a08ee3_1 binutils_linux-64 pkgs/main/linux-64::binutils_linux-64-2.38.0-hc2dff05_0 blas pkgs/main/linux-64::blas-1.0-openblas bwidget pkgs/main/linux-64::bwidget-1.9.16-h9eba36c_0 bzip2 pkgs/main/linux-64::bzip2-1.0.8-h5eee18b_6 c-ares pkgs/main/linux-64::c-ares-1.19.1-h5eee18b_0 ca-certificates pkgs/main/linux-64::ca-certificates-2024.3.11-h06a4308_0 cairo pkgs/main/linux-64::cairo-1.16.0-hb05425b_5 curl pkgs/main/linux-64::curl-8.7.1-hdbd6064_0 expat pkgs/main/linux-64::expat-2.6.2-h6a678d5_0 fontconfig pkgs/main/linux-64::fontconfig-2.14.1-h4c34cd2_2 freetype pkgs/main/linux-64::freetype-2.12.1-h4a9f257_0 fribidi pkgs/main/linux-64::fribidi-1.0.10-h7b6447c_0 gcc_impl_linux-64 pkgs/main/linux-64::gcc_impl_linux-64-11.2.0-h1234567_1 gcc_linux-64 pkgs/main/linux-64::gcc_linux-64-11.2.0-h5c386dc_0 gfortran_impl_lin~ pkgs/main/linux-64::gfortran_impl_linux-64-11.2.0-h1234567_1 gfortran_linux-64 pkgs/main/linux-64::gfortran_linux-64-11.2.0-hc2dff05_0 glib pkgs/main/linux-64::glib-2.78.4-h6a678d5_0 glib-tools pkgs/main/linux-64::glib-tools-2.78.4-h6a678d5_0 graphite2 pkgs/main/linux-64::graphite2-1.3.14-h295c915_1 gxx_impl_linux-64 pkgs/main/linux-64::gxx_impl_linux-64-11.2.0-h1234567_1 gxx_linux-64 pkgs/main/linux-64::gxx_linux-64-11.2.0-hc2dff05_0 harfbuzz pkgs/main/linux-64::harfbuzz-4.3.0-hf52aaf7_2 icu pkgs/main/linux-64::icu-73.1-h6a678d5_0 jpeg pkgs/main/linux-64::jpeg-9e-h5eee18b_1 kernel-headers_li~ pkgs/main/noarch::kernel-headers_linux-64-3.10.0-h57e8cba_10 krb5 pkgs/main/linux-64::krb5-1.20.1-h143b758_1 ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1 lerc pkgs/main/linux-64::lerc-3.0-h295c915_0 libcurl pkgs/main/linux-64::libcurl-8.7.1-h251f7ec_0 libdeflate pkgs/main/linux-64::libdeflate-1.17-h5eee18b_1 libedit pkgs/main/linux-64::libedit-3.1.20230828-h5eee18b_0 libev pkgs/main/linux-64::libev-4.33-h7f8727e_1 libffi pkgs/main/linux-64::libffi-3.4.4-h6a678d5_1 libgcc-devel_linu~ pkgs/main/linux-64::libgcc-devel_linux-64-11.2.0-h1234567_1 libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 libgfortran-ng pkgs/main/linux-64::libgfortran-ng-11.2.0-h00389a5_1 libgfortran5 pkgs/main/linux-64::libgfortran5-11.2.0-h1234567_1 libglib pkgs/main/linux-64::libglib-2.78.4-hdc74915_0 libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 libiconv pkgs/main/linux-64::libiconv-1.16-h5eee18b_3 libnghttp2 pkgs/main/linux-64::libnghttp2-1.57.0-h2d74bed_0 libopenblas pkgs/main/linux-64::libopenblas-0.3.21-h043d6bf_0 libpng pkgs/main/linux-64::libpng-1.6.39-h5eee18b_0 libssh2 pkgs/main/linux-64::libssh2-1.11.0-h251f7ec_0 libstdcxx-devel_l~ pkgs/main/linux-64::libstdcxx-devel_linux-64-11.2.0-h1234567_1 libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 libtiff pkgs/main/linux-64::libtiff-4.5.1-h6a678d5_0 libuuid pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0 libwebp-base pkgs/main/linux-64::libwebp-base-1.3.2-h5eee18b_0 libxcb pkgs/main/linux-64::libxcb-1.15-h7f8727e_0 libxml2 pkgs/main/linux-64::libxml2-2.10.4-hfdd30dd_2 lz4-c pkgs/main/linux-64::lz4-c-1.9.4-h6a678d5_1 make pkgs/main/linux-64::make-4.2.1-h1bed415_1 ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0 openssl pkgs/main/linux-64::openssl-3.0.14-h5eee18b_0 pango pkgs/main/linux-64::pango-1.50.7-h05da053_0 pcre2 pkgs/main/linux-64::pcre2-10.42-hebb0a14_1 pip pkgs/main/linux-64::pip-24.0-py312h06a4308_0 pixman pkgs/main/linux-64::pixman-0.40.0-h7f8727e_1 python pkgs/main/linux-64::python-3.12.4-h5148396_1 r pkgs/r/linux-64::r-4.3.1-r43_0 r-base pkgs/r/linux-64::r-base-4.3.1-h1ae530e_0 r-boot pkgs/r/noarch::r-boot-1.3_28.1-r43h6115d3f_0 r-class pkgs/r/linux-64::r-class-7.3_22-r43h76d94ec_0 r-cluster pkgs/r/linux-64::r-cluster-2.1.4-r43h640688f_0 r-codetools pkgs/r/noarch::r-codetools-0.2_19-r43h6115d3f_0 r-foreign pkgs/r/linux-64::r-foreign-0.8_85-r43h76d94ec_0 r-kernsmooth pkgs/r/linux-64::r-kernsmooth-2.23_22-r43h640688f_0 r-lattice pkgs/r/linux-64::r-lattice-0.22_5-r43h76d94ec_0 r-mass pkgs/r/linux-64::r-mass-7.3_60-r43h76d94ec_0 r-matrix pkgs/r/linux-64::r-matrix-1.6_1.1-r43h76d94ec_0 r-mgcv pkgs/r/linux-64::r-mgcv-1.9_0-r43h76d94ec_0 r-nlme pkgs/r/linux-64::r-nlme-3.1_163-r43h640688f_0 r-nnet pkgs/r/linux-64::r-nnet-7.3_19-r43h76d94ec_0 r-recommended pkgs/r/linux-64::r-recommended-4.3.1-r43_0 r-rpart pkgs/r/linux-64::r-rpart-4.1.21-r43h76d94ec_0 r-spatial pkgs/r/linux-64::r-spatial-7.3_17-r43h76d94ec_0 r-survival pkgs/r/linux-64::r-survival-3.5_7-r43h76d94ec_0 readline pkgs/main/linux-64::readline-8.2-h5eee18b_0 setuptools pkgs/main/linux-64::setuptools-69.5.1-py312h06a4308_0 sqlite pkgs/main/linux-64::sqlite-3.45.3-h5eee18b_0 sysroot_linux-64 pkgs/main/noarch::sysroot_linux-64-2.17-h57e8cba_10 tk pkgs/main/linux-64::tk-8.6.14-h39e8969_0 tktable pkgs/main/linux-64::tktable-2.10-h3d55465_1 tzdata pkgs/main/noarch::tzdata-2024a-h04d1e81_0 wheel pkgs/main/linux-64::wheel-0.43.0-py312h06a4308_0 xz pkgs/main/linux-64::xz-5.4.6-h5eee18b_1 zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_1 zstd pkgs/main/linux-64::zstd-1.5.5-hc292b87_2 Downloading and Extracting Packages: Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate r_env # # To deactivate an active environment, use # # $ conda deactivate
Did Search Work?
(r_env) [salexan5@mblog1 ~]$ conda search tidyverse Loading channels: done No match found for: tidyverse. Search: *tidyverse* # Name Version Build Channel r-tidyverse 1.0.0 r3.3.1_0 pkgs/r ... r-tidyverse 1.3.1 r42h6115d3f_0 pkgs/r r-tidyverse 2.0.0 r43h6115d3f_0 pkgs/r
Conda R related packages typically are prefixed with r_
Conda Install TidyVerse
TidyVerse is made up of 10s of R libraries. These dependencies are all installed.
(r_env) [salexan5@mblog1 ~]$ conda install r-tidyverse=2.0.0 Channels: - defaults Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: done ## Package Plan ## environment location: /project/arcc/salexan5/conda/envs/r_env added / updated specs: - r-tidyverse=2.0.0 The following packages will be downloaded: package | build ---------------------------|----------------- pandoc-2.12 | h06a4308_3 10.5 MB r-askpass-1.2.0 | r43h76d94ec_0 29 KB r-backports-1.4.1 | r43h76d94ec_0 112 KB r-base64enc-0.1_3 | r43h76d94ec_4 46 KB r-bit-4.0.5 | r43h76d94ec_0 1.0 MB r-bit64-4.0.5 | r43h76d94ec_0 480 KB r-blob-1.2.4 | r43h6115d3f_0 52 KB r-broom-1.0.5 | r43h6115d3f_0 1.7 MB r-bslib-0.5.1 | r43h6115d3f_0 4.8 MB r-cachem-1.0.8 | r43h76d94ec_0 71 KB r-callr-3.7.3 | r43h6115d3f_0 403 KB r-cellranger-1.1.0 | r43h6115d3f_0 103 KB r-cli-3.6.1 | r43h884c59f_0 1.2 MB r-clipr-0.8.0 | r43h6115d3f_0 65 KB r-colorspace-2.1_0 | r43h76d94ec_0 2.4 MB r-conflicted-1.2.0 | r43h142f84f_0 61 KB r-cpp11-0.4.6 | r43h6115d3f_0 221 KB r-crayon-1.5.2 | r43h6115d3f_0 159 KB r-curl-5.1.0 | r43h76d94ec_0 430 KB r-data.table-1.14.8 | r43h76d94ec_0 1.8 MB r-dbi-1.1.3 | r43h6115d3f_0 697 KB r-dbplyr-2.3.4 | r43h6115d3f_0 1.0 MB r-digest-0.6.33 | r43h884c59f_0 190 KB r-dplyr-1.1.3 | r43h884c59f_0 1.3 MB r-dtplyr-1.3.1 | r43h6115d3f_0 344 KB r-ellipsis-0.3.2 | r43h76d94ec_0 40 KB r-evaluate-0.22 | r43h6115d3f_0 85 KB r-fansi-1.0.5 | r43h76d94ec_0 313 KB r-farver-2.1.1 | r43h884c59f_0 1.4 MB r-fastmap-1.1.1 | r43h884c59f_0 67 KB r-fontawesome-0.5.2 | r43h6115d3f_0 1.2 MB r-forcats-1.0.0 | r43h6115d3f_0 409 KB r-fs-1.6.3 | r43h884c59f_0 481 KB r-gargle-1.5.2 | r43h142f84f_0 689 KB r-generics-0.1.3 | r43h142f84f_0 81 KB r-ggplot2-3.4.4 | r43h6115d3f_0 3.9 MB r-glue-1.6.2 | r43h76d94ec_0 146 KB r-googledrive-2.1.1 | r43h6115d3f_0 1.1 MB r-googlesheets4-1.1.1 | r43h6115d3f_0 497 KB r-gtable-0.3.4 | r43h6115d3f_0 214 KB r-haven-2.5.3 | r43h884c59f_0 356 KB r-highr-0.10 | r43h6115d3f_0 54 KB r-hms-1.1.3 | r43h6115d3f_0 102 KB r-htmltools-0.5.6.1 | r43h76d94ec_0 347 KB r-httr-1.4.7 | r43h6115d3f_0 452 KB r-ids-1.0.1 | r43h142f84f_0 122 KB r-isoband-0.2.7 | r43h884c59f_0 1.5 MB r-jquerylib-0.1.4 | r43h6115d3f_0 296 KB r-jsonlite-1.8.7 | r43h76d94ec_0 618 KB r-knitr-1.44 | r43h6115d3f_0 1.2 MB r-labeling-0.4.3 | r43h6115d3f_0 64 KB r-lifecycle-1.0.3 | r43h142f84f_0 116 KB r-lubridate-1.9.3 | r43h76d94ec_0 950 KB r-magrittr-2.0.3 | r43h76d94ec_0 200 KB r-memoise-2.0.1 | r43h6115d3f_0 53 KB r-mime-0.12 | r43h76d94ec_0 49 KB r-modelr-0.1.11 | r43h6115d3f_0 211 KB r-munsell-0.5.0 | r43h6115d3f_0 236 KB r-openssl-2.1.1 | r43h76d94ec_0 619 KB r-pillar-1.9.0 | r43h6115d3f_0 591 KB r-pkgconfig-2.0.3 | r43h6115d3f_0 24 KB r-prettyunits-1.2.0 | r43h142f84f_0 158 KB r-processx-3.8.2 | r43h76d94ec_0 313 KB r-progress-1.2.2 | r43h142f84f_0 88 KB r-ps-1.7.5 | r43h76d94ec_0 301 KB r-purrr-1.0.2 | r43h76d94ec_0 469 KB r-r6-2.5.1 | r43h6115d3f_0 89 KB r-ragg-1.2.6 | r43h884c59f_0 427 KB r-rappdirs-0.3.3 | r43h76d94ec_0 50 KB r-rcolorbrewer-1.1_3 | r43h6115d3f_1 57 KB r-readr-2.1.4 | r43h884c59f_0 761 KB r-readxl-1.4.3 | r43h884c59f_0 724 KB r-rematch-2.0.0 | r43h6115d3f_0 22 KB r-rematch2-2.1.2 | r43h142f84f_0 51 KB r-reprex-2.0.2 | r43h6115d3f_0 488 KB r-rlang-1.1.1 | r43h884c59f_0 1.4 MB r-rmarkdown-2.25 | r43h6115d3f_0 1.9 MB r-rstudioapi-0.15.0 | r43h6115d3f_0 283 KB r-rvest-1.0.3 | r43h6115d3f_0 205 KB r-sass-0.4.7 | r43h884c59f_0 2.2 MB r-scales-1.2.1 | r43h6115d3f_0 577 KB r-selectr-0.4_2 | r43h6115d3f_0 404 KB r-stringi-1.7.12 | r43h884c59f_0 870 KB r-stringr-1.5.0 | r43h6115d3f_0 284 KB r-sys-3.4.2 | r43h76d94ec_0 46 KB r-systemfonts-1.0.5 | r43h884c59f_0 227 KB r-textshaping-0.3.7 | r43h884c59f_0 100 KB r-tibble-3.2.1 | r43h76d94ec_0 594 KB r-tidyr-1.3.0 | r43h884c59f_0 1.1 MB r-tidyselect-1.2.0 | r43h6115d3f_0 208 KB r-tidyverse-2.0.0 | r43h6115d3f_0 414 KB r-timechange-0.2.0 | r43h884c59f_0 175 KB r-tinytex-0.48 | r43h142f84f_0 138 KB r-tzdb-0.4.0 | r43h884c59f_0 514 KB r-utf8-1.2.4 | r43h76d94ec_0 138 KB r-uuid-1.1_1 | r43h76d94ec_0 50 KB r-vctrs-0.6.4 | r43h884c59f_0 1.2 MB r-viridislite-0.4.2 | r43h6115d3f_0 1.2 MB r-vroom-1.6.4 | r43h884c59f_0 838 KB r-withr-2.5.1 | r43h6115d3f_0 224 KB r-xfun-0.40 | r43h76d94ec_0 410 KB r-xml2-1.3.5 | r43h884c59f_0 223 KB r-yaml-2.3.7 | r43h76d94ec_0 111 KB ------------------------------------------------------------ Total: 67.5 MB The following NEW packages will be INSTALLED: pandoc pkgs/main/linux-64::pandoc-2.12-h06a4308_3 r-askpass pkgs/r/linux-64::r-askpass-1.2.0-r43h76d94ec_0 r-backports pkgs/r/linux-64::r-backports-1.4.1-r43h76d94ec_0 r-base64enc pkgs/r/linux-64::r-base64enc-0.1_3-r43h76d94ec_4 r-bit pkgs/r/linux-64::r-bit-4.0.5-r43h76d94ec_0 r-bit64 pkgs/r/linux-64::r-bit64-4.0.5-r43h76d94ec_0 r-blob pkgs/r/noarch::r-blob-1.2.4-r43h6115d3f_0 r-broom pkgs/r/noarch::r-broom-1.0.5-r43h6115d3f_0 r-bslib pkgs/r/noarch::r-bslib-0.5.1-r43h6115d3f_0 r-cachem pkgs/r/linux-64::r-cachem-1.0.8-r43h76d94ec_0 r-callr pkgs/r/noarch::r-callr-3.7.3-r43h6115d3f_0 r-cellranger pkgs/r/noarch::r-cellranger-1.1.0-r43h6115d3f_0 r-cli pkgs/r/linux-64::r-cli-3.6.1-r43h884c59f_0 r-clipr pkgs/r/noarch::r-clipr-0.8.0-r43h6115d3f_0 r-colorspace pkgs/r/linux-64::r-colorspace-2.1_0-r43h76d94ec_0 r-conflicted pkgs/r/noarch::r-conflicted-1.2.0-r43h142f84f_0 r-cpp11 pkgs/r/noarch::r-cpp11-0.4.6-r43h6115d3f_0 r-crayon pkgs/r/noarch::r-crayon-1.5.2-r43h6115d3f_0 r-curl pkgs/r/linux-64::r-curl-5.1.0-r43h76d94ec_0 r-data.table pkgs/r/linux-64::r-data.table-1.14.8-r43h76d94ec_0 r-dbi pkgs/r/noarch::r-dbi-1.1.3-r43h6115d3f_0 r-dbplyr pkgs/r/noarch::r-dbplyr-2.3.4-r43h6115d3f_0 r-digest pkgs/r/linux-64::r-digest-0.6.33-r43h884c59f_0 r-dplyr pkgs/r/linux-64::r-dplyr-1.1.3-r43h884c59f_0 r-dtplyr pkgs/r/noarch::r-dtplyr-1.3.1-r43h6115d3f_0 r-ellipsis pkgs/r/linux-64::r-ellipsis-0.3.2-r43h76d94ec_0 r-evaluate pkgs/r/noarch::r-evaluate-0.22-r43h6115d3f_0 r-fansi pkgs/r/linux-64::r-fansi-1.0.5-r43h76d94ec_0 r-farver pkgs/r/linux-64::r-farver-2.1.1-r43h884c59f_0 r-fastmap pkgs/r/linux-64::r-fastmap-1.1.1-r43h884c59f_0 r-fontawesome pkgs/r/noarch::r-fontawesome-0.5.2-r43h6115d3f_0 r-forcats pkgs/r/noarch::r-forcats-1.0.0-r43h6115d3f_0 r-fs pkgs/r/linux-64::r-fs-1.6.3-r43h884c59f_0 r-gargle pkgs/r/noarch::r-gargle-1.5.2-r43h142f84f_0 r-generics pkgs/r/noarch::r-generics-0.1.3-r43h142f84f_0 r-ggplot2 pkgs/r/noarch::r-ggplot2-3.4.4-r43h6115d3f_0 r-glue pkgs/r/linux-64::r-glue-1.6.2-r43h76d94ec_0 r-googledrive pkgs/r/noarch::r-googledrive-2.1.1-r43h6115d3f_0 r-googlesheets4 pkgs/r/noarch::r-googlesheets4-1.1.1-r43h6115d3f_0 r-gtable pkgs/r/noarch::r-gtable-0.3.4-r43h6115d3f_0 r-haven pkgs/r/linux-64::r-haven-2.5.3-r43h884c59f_0 r-highr pkgs/r/noarch::r-highr-0.10-r43h6115d3f_0 r-hms pkgs/r/noarch::r-hms-1.1.3-r43h6115d3f_0 r-htmltools pkgs/r/linux-64::r-htmltools-0.5.6.1-r43h76d94ec_0 r-httr pkgs/r/noarch::r-httr-1.4.7-r43h6115d3f_0 r-ids pkgs/r/noarch::r-ids-1.0.1-r43h142f84f_0 r-isoband pkgs/r/linux-64::r-isoband-0.2.7-r43h884c59f_0 r-jquerylib pkgs/r/noarch::r-jquerylib-0.1.4-r43h6115d3f_0 r-jsonlite pkgs/r/linux-64::r-jsonlite-1.8.7-r43h76d94ec_0 r-knitr pkgs/r/noarch::r-knitr-1.44-r43h6115d3f_0 r-labeling pkgs/r/noarch::r-labeling-0.4.3-r43h6115d3f_0 r-lifecycle pkgs/r/noarch::r-lifecycle-1.0.3-r43h142f84f_0 r-lubridate pkgs/r/linux-64::r-lubridate-1.9.3-r43h76d94ec_0 r-magrittr pkgs/r/linux-64::r-magrittr-2.0.3-r43h76d94ec_0 r-memoise pkgs/r/noarch::r-memoise-2.0.1-r43h6115d3f_0 r-mime pkgs/r/linux-64::r-mime-0.12-r43h76d94ec_0 r-modelr pkgs/r/noarch::r-modelr-0.1.11-r43h6115d3f_0 r-munsell pkgs/r/noarch::r-munsell-0.5.0-r43h6115d3f_0 r-openssl pkgs/r/linux-64::r-openssl-2.1.1-r43h76d94ec_0 r-pillar pkgs/r/noarch::r-pillar-1.9.0-r43h6115d3f_0 r-pkgconfig pkgs/r/noarch::r-pkgconfig-2.0.3-r43h6115d3f_0 r-prettyunits pkgs/r/noarch::r-prettyunits-1.2.0-r43h142f84f_0 r-processx pkgs/r/linux-64::r-processx-3.8.2-r43h76d94ec_0 r-progress pkgs/r/noarch::r-progress-1.2.2-r43h142f84f_0 r-ps pkgs/r/linux-64::r-ps-1.7.5-r43h76d94ec_0 r-purrr pkgs/r/linux-64::r-purrr-1.0.2-r43h76d94ec_0 r-r6 pkgs/r/noarch::r-r6-2.5.1-r43h6115d3f_0 r-ragg pkgs/r/linux-64::r-ragg-1.2.6-r43h884c59f_0 r-rappdirs pkgs/r/linux-64::r-rappdirs-0.3.3-r43h76d94ec_0 r-rcolorbrewer pkgs/r/noarch::r-rcolorbrewer-1.1_3-r43h6115d3f_1 r-readr pkgs/r/linux-64::r-readr-2.1.4-r43h884c59f_0 r-readxl pkgs/r/linux-64::r-readxl-1.4.3-r43h884c59f_0 r-rematch pkgs/r/noarch::r-rematch-2.0.0-r43h6115d3f_0 r-rematch2 pkgs/r/noarch::r-rematch2-2.1.2-r43h142f84f_0 r-reprex pkgs/r/noarch::r-reprex-2.0.2-r43h6115d3f_0 r-rlang pkgs/r/linux-64::r-rlang-1.1.1-r43h884c59f_0 r-rmarkdown pkgs/r/noarch::r-rmarkdown-2.25-r43h6115d3f_0 r-rstudioapi pkgs/r/noarch::r-rstudioapi-0.15.0-r43h6115d3f_0 r-rvest pkgs/r/noarch::r-rvest-1.0.3-r43h6115d3f_0 r-sass pkgs/r/linux-64::r-sass-0.4.7-r43h884c59f_0 r-scales pkgs/r/noarch::r-scales-1.2.1-r43h6115d3f_0 r-selectr pkgs/r/noarch::r-selectr-0.4_2-r43h6115d3f_0 r-stringi pkgs/r/linux-64::r-stringi-1.7.12-r43h884c59f_0 r-stringr pkgs/r/noarch::r-stringr-1.5.0-r43h6115d3f_0 r-sys pkgs/r/linux-64::r-sys-3.4.2-r43h76d94ec_0 r-systemfonts pkgs/r/linux-64::r-systemfonts-1.0.5-r43h884c59f_0 r-textshaping pkgs/r/linux-64::r-textshaping-0.3.7-r43h884c59f_0 r-tibble pkgs/r/linux-64::r-tibble-3.2.1-r43h76d94ec_0 r-tidyr pkgs/r/linux-64::r-tidyr-1.3.0-r43h884c59f_0 r-tidyselect pkgs/r/noarch::r-tidyselect-1.2.0-r43h6115d3f_0 r-tidyverse pkgs/r/noarch::r-tidyverse-2.0.0-r43h6115d3f_0 r-timechange pkgs/r/linux-64::r-timechange-0.2.0-r43h884c59f_0 r-tinytex pkgs/r/noarch::r-tinytex-0.48-r43h142f84f_0 r-tzdb pkgs/r/linux-64::r-tzdb-0.4.0-r43h884c59f_0 r-utf8 pkgs/r/linux-64::r-utf8-1.2.4-r43h76d94ec_0 r-uuid pkgs/r/linux-64::r-uuid-1.1_1-r43h76d94ec_0 r-vctrs pkgs/r/linux-64::r-vctrs-0.6.4-r43h884c59f_0 r-viridislite pkgs/r/noarch::r-viridislite-0.4.2-r43h6115d3f_0 r-vroom pkgs/r/linux-64::r-vroom-1.6.4-r43h884c59f_0 r-withr pkgs/r/noarch::r-withr-2.5.1-r43h6115d3f_0 r-xfun pkgs/r/linux-64::r-xfun-0.40-r43h76d94ec_0 r-xml2 pkgs/r/linux-64::r-xml2-1.3.5-r43h884c59f_0 r-yaml pkgs/r/linux-64::r-yaml-2.3.7-r43h76d94ec_0 Downloading and Extracting Packages: Preparing transaction: done Verifying transaction: done Executing transaction: done
How Large is this Environment?
Confirm where this R environment is located.
[salexan5@mblog1 ~]$ cat .conda/environments.txt /home/salexan5/.conda/envs/py_env /project/arcc/salexan5/conda/envs/r_env [salexan5@mblog2 ~a]$ cd /project/arcc/salexan5/conda [salexan5@mblog2 conda]$ du -d 1 -h 1.2G ./envs 526M ./pkgs 1.7G .
This R environment, and associated packages, is itself 1.7G - this is on top of the first example which still exists under the .conda
folder in home.
Using R Environment
[salexan5@mblog2 ~]$ salloc -A arcc -t 10:00 salloc: Granted job allocation 786989 salloc: Nodes mba30-001 are ready for job [salexan5@mba30-001 ~]$ module load miniconda3/24.3.0 [salexan5@mba30-001 ~]$ conda activate r_env (r_env) [salexan5@mba30-001 ~]$ Rscript r_test.R ── Attaching core tidyverse packages ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── tidyverse 2.0.0 ── ✔ dplyr 1.1.3 ✔ readr 2.1.4 ... (r_env) [salexan5@mba30-001 ~]$ conda deactivate [salexan5@mba30-001 ~]$ exit exit salloc: Relinquishing job allocation 786989
File: r_test.R
library(tidyverse)
Prev | Workshop Home | Next |
- No labels