Comments (10)
Try doing this directly from the terminal maybe?
- Start
R
- Run
install.packages("stringi")
?
(I just installed stringi this way after the update to R 4.3.0)
from stringi.
The code snippet earlier was straight from the terminal, I tried it both in dataspell and just in the terminal and got the same errors
from stringi.
Just did a dummy-check and tried it again in the terminal. This is what I got
I'm led to believe this might be a dependency issue, but as far as I know I have everything I need installed (at least what was stated in the documentation)
from stringi.
I guess you should either update ICU on your system (I don't know which system are you on, so can't give you more details) or use install.packages("stringi", configure.args="--disable-pkg-config")
. HTH
from stringi.
So using the --disable-pkg-config
was able to get it installed, but I'm still having issues with other libraries, so I want to make sure that it isn't the same issue.
I'm currently running Pop_os! 22.04, and it seems I have ICU version 72.1 currently on my system. I'm trying to find out how to update that, but things are almost looking like its a "just use R version 4.2 for now" angle.
from stringi.
It's a Ubuntu flavour, so maybe sudo apt install libicu-dev
?
from stringi.
Yup, states it's already installed on the latest version (version 70.1-2). It appears that they don't have the updated version on the apt repository.
I think for now I'm going to look into downgrading to 4.2. I somewhat plan to refresh my system with a fresh OS install after my semester ends, so I'll try it again then.
from stringi.
Just to confirm I have a similar error when I try to import packages that depends on stringi:
[jmaric@padobran mlr3-supek]$ apptainer run image.sif test.R
Error: package or namespace load failed for ‘batchtools’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/jmaric/Rlibs/stringi/libs/stringi.so':
libicui18n.so.60: cannot open shared object file: No such file or directory
In addition: Warning message:
package ‘batchtools’ was built under R version 4.3.1
Execution halted
Linux info:
NAME="Rocky Linux"
VERSION="8.8 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.8 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8"
from stringi.
Could you try installing stringi via install.packages("stringi", configure.args="--disable-pkg-config")
as per https://stringi.gagolewski.com/install.html ?
from stringi.
It seems thare were some problems with R libpaths. I have created R lib path for the user and inside container. I have deleted one T lib path and now works. Seems it is not directly connected with stringi, at least in my case.
from stringi.
Related Issues (20)
- stri_detect_regex gives non-intuitive error (U_ILLEGAL_ARGUMENT_ERROR) with strings longer than 858993457 characters HOT 1
- `stri_(any|all)_(regex|fixed)` HOT 1
- stri_split_boundaries() returns slightly different tokens when the ICU rules are supplied HOT 3
- [Feature] Convert String to Code Points HOT 2
- [Feature] Extract Non-ASCII Characters HOT 3
- install issue, no internet HOT 2
- Behavior of `stri_sub()` when `from = 0` HOT 2
- Cannot install stringi on linux (CENTOS 7) machine HOT 1
- installation of package 'stringi' had non-zero exit status HOT 2
- Fails to build with clang on Windows HOT 2
- Calling stringi C functions without Rcpp HOT 2
- Installation fails on Apple Silicon M1
- Possibly unintentional breakage on 32 bit Windows and R 3.6 HOT 7
- PKG_CPPFLAGS should take precendence over CPPFLAGS in configure
- stringi needs compilation HOT 1
- Feature request: allow counting blank space at end of last line in `stri_wrap()`
- Feature request: stri_replace_*_regex pattern is a column name, replacement a $1 HOT 6
- Compilation errors on R-devel HOT 3
- Compilation failed after loading my .Rprofile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stringi.