<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: upgraded R package rlang to 0.4.11 on DBR 8.3 SC, but sessionInfo() still shows rlang as 0.4.9 in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/upgraded-r-package-rlang-to-0-4-11-on-dbr-8-3-sc-but-sessioninfo/m-p/14273#M8793</link>
    <description>&lt;P&gt;@Jim Huang​&amp;nbsp;: Could you please try to restart the session and try to run tidyverse. Looks like the older version of rlang loaded in session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error : package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):&lt;/P&gt;&lt;P&gt;namespace ‘rlang’ 0.4.9 is already loaded, but &amp;gt;= 0.4.10 is required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restarting the session might help to load new library installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if that helps!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Oct 2021 06:51:23 GMT</pubDate>
    <dc:creator>Sivaprasad1</dc:creator>
    <dc:date>2021-10-07T06:51:23Z</dc:date>
    <item>
      <title>upgraded R package rlang to 0.4.11 on DBR 8.3 SC, but sessionInfo() still shows rlang as 0.4.9</title>
      <link>https://community.databricks.com/t5/data-engineering/upgraded-r-package-rlang-to-0-4-11-on-dbr-8-3-sc-but-sessioninfo/m-p/14271#M8791</link>
      <description>&lt;P&gt;I am using Azure Databricks Runtime (DBR) 8.3 ML with Python notebook and R cells together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use "tidyverse" and one of the dependency is rlang &amp;gt;= 0.4.10 and the base DBR 8.3 ML provides rlang @ 0.4.9.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully upgraded the R package to rlang 0.4.11 but sessionInfo() still shows rlang 0.4.9.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my command sequences:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# Initial starting environment
&amp;nbsp;
%r
sessionInfo()
&amp;nbsp;
---=== OUTPUT ===---
R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS
&amp;nbsp;
Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
&amp;nbsp;
locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
 [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
 [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
[10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   
&amp;nbsp;
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     
&amp;nbsp;
loaded via a namespace (and not attached):
[1] SparkR_3.1.2   compiler_4.0.4 Rserve_1.8-7  
&amp;nbsp;
---------------------------------------------------------------------------------------------
&amp;nbsp;
%r
install.packages("rlang")
&amp;nbsp;
---=== OUTPUT ===---
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./lib/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c capture.c -o capture.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./lib/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c export.c -o export.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./lib/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c internal.c -o internal.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./lib/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c lib.c -o lib.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./lib/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c version.c -o version.o
gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o rlang.so capture.o export.o internal.o lib.o version.o -L/usr/lib/R/lib -lR
installing to /databricks/spark/R/lib/00LOCK-rlang/00new/rlang/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rlang)
Installing package into ‘/databricks/spark/R/lib’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/rlang_0.4.11.tar.gz'
Content type 'application/x-gzip' length 861727 bytes (841 KB)
==================================================
downloaded 841 KB
&amp;nbsp;
&amp;nbsp;
The downloaded source packages are in
	‘/tmp/RtmpKRCZ1F/downloaded_packages’
&amp;nbsp;
---------------------------------------------------------------------------------------------
&amp;nbsp;
%r
installed.packages()
&amp;nbsp;
---=== OUTPUT ===---
              Package         LibPath                         Version 
&amp;lt;listing truncated to get to the point&amp;gt;
rlang         "rlang"         "/databricks/spark/R/lib"       "0.4.11" 
&amp;lt;listing truncated to get to the point&amp;gt;
&amp;nbsp;
&amp;nbsp;
---------------------------------------------------------------------------------------------
&amp;nbsp;
%r
library(SparkR)
library(tidyverse)
&amp;nbsp;
---=== OUTPUT ===---
&amp;nbsp;
Error : package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace ‘rlang’ 0.4.9 is already loaded, but &amp;gt;= 0.4.10 is required
Some(&amp;lt;code style = 'font-size:10p'&amp;gt; Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): &amp;lt;/code&amp;gt;)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace ‘rlang’ 0.4.9 is already loaded, but &amp;gt;= 0.4.10 is required
&amp;nbsp;
&amp;nbsp;
---------------------------------------------------------------------------------------------
&amp;nbsp;
%r
sessionInfo()
&amp;nbsp;
---=== OUTPUT ===---
R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS
&amp;nbsp;
Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
&amp;nbsp;
locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
 [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
 [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
[10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   
&amp;nbsp;
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     
&amp;nbsp;
other attached packages:
[1] SparkR_3.1.2
&amp;nbsp;
loaded via a namespace (and not attached):
[1] compiler_4.0.4     hwriter_1.3.2      tools_4.0.4        htmltools_0.5.0   
[5] TeachingDemos_2.10 Rserve_1.8-7       digest_0.6.27      rlang_0.4.9       
[9] hwriterPlus_1.0-3 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone ran into this issue and provide some clue as to how to update the rlang package to be &amp;gt;- 0.4.10 so "tidyverse" can load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 06:11:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upgraded-r-package-rlang-to-0-4-11-on-dbr-8-3-sc-but-sessioninfo/m-p/14271#M8791</guid>
      <dc:creator>dataslicer</dc:creator>
      <dc:date>2021-09-28T06:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: upgraded R package rlang to 0.4.11 on DBR 8.3 SC, but sessionInfo() still shows rlang as 0.4.9</title>
      <link>https://community.databricks.com/t5/data-engineering/upgraded-r-package-rlang-to-0-4-11-on-dbr-8-3-sc-but-sessioninfo/m-p/14273#M8793</link>
      <description>&lt;P&gt;@Jim Huang​&amp;nbsp;: Could you please try to restart the session and try to run tidyverse. Looks like the older version of rlang loaded in session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error : package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):&lt;/P&gt;&lt;P&gt;namespace ‘rlang’ 0.4.9 is already loaded, but &amp;gt;= 0.4.10 is required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restarting the session might help to load new library installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if that helps!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 06:51:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upgraded-r-package-rlang-to-0-4-11-on-dbr-8-3-sc-but-sessioninfo/m-p/14273#M8793</guid>
      <dc:creator>Sivaprasad1</dc:creator>
      <dc:date>2021-10-07T06:51:23Z</dc:date>
    </item>
  </channel>
</rss>

