I installed the new R version 4.1.0 on my (normal) Macbook, and
everything seemed to work fine until one of the packages depended on
the 'rlang' package and I got the following error:
> library(rlang)
Error: package or namespace load failed for ‘rlang’ in
dyn.load(file, DLLpath = DLLpa
Hi,
You might try a different CRAN mirror to see if perhaps the rlang binary
that you are getting is corrupted.
Looking at CRAN for the package, the results for rlang on what is
supposed to be R release on macOS:
https://cran.r-project.org/web/checks/check_results_rlang.html
shows a head
I seem to remember a discussion not too long ago that the very latest version
fo XQuartz did not install all the libraries needed by R, and to install the
previous on instead (I hav XQuartz 2.7.11, the latest is 2.8.1). Is this
still the case?
Thanks,
-Roy
> On May 24, 2021, at 10:36 PM, Si
On 25/05/2021 10:44 a.m., Roy Mendelssohn - NOAA Federal via R-SIG-Mac
wrote:
I seem to remember a discussion not too long ago that the very latest version
fo XQuartz did not install all the libraries needed by R, and to install the
previous on instead (I hav XQuartz 2.7.11, the latest is 2.8.
Thanks. That is what I want to know.
-Roy
> On May 25, 2021, at 8:20 AM, Duncan Murdoch wrote:
>
> On 25/05/2021 10:44 a.m., Roy Mendelssohn - NOAA Federal via R-SIG-Mac wrote:
>> I seem to remember a discussion not too long ago that the very latest
>> version fo XQuartz did not install all t
I just upgraded from XQuartz 2.7.11 to the current 2.8.1, and then rebooted the
Mac M1.
tcltk now loads and gives warnings:
R version 4.1.0 Patched (2021-05-23 r80364) -- "Camp Pontanezen"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (64-bit)
R
This error:
Error: package or namespace load failed for ‘rlang’ in
get(Info[i, 1], envir = env): lazy-load database
'/Users/hwb/Library/R/4.0/library/rlang/R/rlang.rdb' is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
Following this tip I had to remove and reinstall one after the other
the following packages:
rvest, rlang, magrittr, xml2, stringi, ellipsis,
fansi, utf8, vctrs, tibble, Rcpp, lbfgs, and GauPro
each time restarting R to make sure. Then the application worked again.
Does this mean I would
Hans,
you seem to be using old library from 4.0 (see the 4.0 in the path). Make sure
you remove old packages and use a clean library for 4.1 since you cannot mix
packages from R 4.0.x and R 4.1.0. I would best recommend removing (or
re-naming) ~/Library/R before installation to make sure you
Roy,
that discussion was on Intel Mac when XQuartz was in beta and thus breaking. In
the meantime there is now stable XQuartz 2.8.1 and you can use either version
on Intel (we do build agains 2.7.1 for compatibility). But there is no XQuartz
2.7.x for M1 so you can only use the latest version
When R4.0 came out, someone on R-Bloggers post a very nice to automate
updating your packages from R3.6. I just used it to do my update from R4.0 to
R4.1 - it works perfectly. I would include the script here, but since I don't
have the exact reference I don't like posting someone else's scri
Okay was able to find the link -
https://www.r-bloggers.com/2020/04/updating-to-4-0-0-on-macos/
Also would suggest installing RSwitch (https://rud.is/rswitch/) so you can
keep both versions and switch between the until you ar certain all the kinks
are gone.
-Roy
> On May 25, 2021, at 1:28 P
Hi,
This is in reply to Simon's request that I post on this topic separately
from Hans' prior thread on rlang related problems.
In the course of looking at a few CRAN packages for that thread,
including my own, I noted on the CRAN checks page for each package, that
the results logs indicate
Marc,
thanks, now it makes sense to me. Yes, the checks results don't seem to be
synced and it is also missing the arm64 checks. I'll investigate.
Thanks,
Simon
> On May 26, 2021, at 8:35 AM, Marc Schwartz wrote:
>
> Hi,
>
> This is in reply to Simon's request that I post on this topic se
There are many of these. Some of these "solutions" copy the actual installed
packages and then run "update.packages"... which is a very bad idea. Other
solutions identify the names of the packages and install fresh (good idea) but
they will hiccup when you install from non-standard sources. So s
Simon,
Thanks!
Marc
Simon Urbanek wrote on 5/25/21 4:47 PM:
Marc,
thanks, now it makes sense to me. Yes, the checks results don't seem to be
synced and it is also missing the arm64 checks. I'll investigate.
Thanks,
Simon
On May 26, 2021, at 8:35 AM, Marc Schwartz wrote:
Hi,
This is i
Hans,
you have to re-install *all* packages whenever you upgrade R. R only guarantees
compatibility between patch versions (i.e. upgrading from R 4.0.0 to 4.0.1 does
not require re-install, but from R 4.0.0 to R 4.1.0 does). That was always the
case on all platforms, it's not new.
Note that
Rich,
I think tcltk attempts to find the location of the libraries via otool from
Xcode tools so it can tell you to install the missing libraries if you didn't
(otherwise it would just crash). I agree that it may be worthwhile to just
silence the warning when you are missing xcrun, since XCod
1. I don't understand the issue well enough to file a bug.
I do have Xcode. Why wasn't it found?
I just clicked on Xcode.app and it wants to install more stuff.
I clicked "install" and it did something with a green bar movimg to the right
and then welcomed me to Xcode 12.5 (12E262).
It wants me t
19 matches
Mail list logo