stringi Questions

2

In R, I have some rather unusually formatted strings in a data.frame column that I would like to split by commas (i.e., each element of the column is a string of individual values separated by comm...
Ectropion asked 23/9 at 13:29

1

Solved

I've been trying to resolve an issue in VS Code, where the R Language Server is unable to load, and produces the following error message: R Language Server (8931) started Error: package or namespac...
Caricaria asked 17/12, 2023 at 23:39

3

Solved

I would like to filter a dataframe using filter() and str_detect() matching for multiple patterns without multiple str_detect() function calls. In the example below I would like to filter the dataf...
Delinquency asked 26/6, 2017 at 11:56

7

I'm trying to install the 'yaml' and 'stringi' packages in R-Studio, and it keeps giving me these errors: > install.packages("stringi") Package which is only available in source form, and may n...
Syllabub asked 6/7, 2015 at 15:39

4

Solved

I'm trying to convert a character string to numeric and have encountered some unexpected behaviour with str_replace. Here's a minimum working example: library(stringr) x <- c("0", "NULL", "0") ...
Hungarian asked 17/12, 2015 at 15:10

6

Solved

We're bumbling through making some R code work in a production environment and as part of that we're installing some R packages as follows: # Default directories and mirrors WORKING_DIR <- "/sr...
Hogen asked 18/12, 2014 at 18:38

5

Solved

I am working on a remote server using RStudio. This server has no access to the Internet. I would like to install the package "stringi." I have looked at this stackoverflow article, but w...
Hemicellulose asked 11/8, 2015 at 12:50

5

Please help me to install stringr and stringi packages in R. The result is: install.packages("stringi") Installing package into ‘C:/Users/kozlovpy/Documents/R/win-library/3.2’ (as ‘lib’ is unspeci...
Barbabas asked 10/12, 2015 at 12:18

1

Solved

Am trying to install a package called stringi using the below command install.packages("stringi") Though it doesn't throw any error message but the installation is not over yet. I see lot...
Technic asked 28/9, 2020 at 4:57

2

Solved

I am trying to filter the Symbol column based on whether it's of the form \uxxxx This is easy visually, that is, some look like $, ¢, £, and others like \u058f, \u060b, \u07fe. But I cannot seem ...
Sceptre asked 19/3, 2020 at 1:28

4

Solved

I am trying to install stringi package after a recent update of R to newest version. However, I met this error: * installing *source* package ‘stringi’ ... ** package ‘stringi’ successfully unpac...
Lieutenancy asked 28/12, 2017 at 15:50

5

Solved

I have the following strings: strings <- c("ABBSDGNHNGA", "AABSDGDRY", "AGNAFG", "GGGDSRTYHG") I want to cut off the string, as soon as the number of occurances of A, G and N reach a certain...
Cram asked 27/12, 2018 at 19:53

1

I would like to create a new folder(newPack) in the parent folder(pathPos) of a given path(path) using R functions. path <- "/m/home/user/unix/R/3.5/stringi" newPack <- "stringr" pathPos &l...
Frostbite asked 19/12, 2018 at 16:41

1

Solved

What are the differences between all of these functions that seem very similar ?
Jacquard asked 2/11, 2018 at 12:3

6

Solved

I saw a version of this question posted, but still did not see the answer. I am trying to use ggplot2 but get the following errors (everything worked this morning using R3.0.2 'frisbee sailing' wit...
Lough asked 24/6, 2015 at 23:7

3

Solved

I am trying to scrape a webpage library(RCurl) webpage <- getURL("https://somewebpage.com") webpage <div class='CredibilityFacts'><span id='qZyoLu'><a class='answer_permalink' ...
Cheryllches asked 15/4, 2018 at 10:27

1

Solved

System: macOS Sierra 10.12.6 Xcode: 9.2 (2347) R: 3.4.0 RStudio: 1.1.383 I'm attempting to install the latest version of stringi (1.1.6). This isn't possible since the most recent update to Xcod...
Spittoon asked 19/2, 2018 at 13:3

2

Solved

I have data where the words as follows location<- c("xyz, sss, New Zealand", "USA", "Pris,France") id<- c(1,2,3) df<-data.frame(location,id) I would like to extract the country name ...
Penholder asked 30/6, 2015 at 21:27

1

Solved

I'm trying to invoke knit which tells me that it needs an updated version of rmarkdown which needs the package stringi. When installing stringi I get the following error: > install.packages("...
Oldtime asked 19/11, 2017 at 13:6

2

When I use library(Hmisc) I get the following error Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi' Error: package 'ggp...
Spirituous asked 22/6, 2015 at 14:48

2

Solved

I am trying to use the function stri_join, from the library stringi in a loop, but I am having difficulties. I would like to obtain "A_1.png", "A_2.png", "A_3.png", &q...
Loreleilorelie asked 6/11, 2016 at 14:38

2

Solved

Most stringr functions are just wrappers around corresponding stringi functions. str_replace_all is one of those. Yet my code does not work with stri_replace_all, the corresponding stringi fu...
Housewares asked 19/8, 2016 at 10:26

2

Solved

I need extract start year and end year from a vector with values of these nature. yr<- c("June 2013 – Present (2 years 9 months)", "January 2012 – June 2013 (1 year 6 months)","2006 – Present...
Bedard asked 29/2, 2016 at 21:49

2

I want to break next string into sentences: library(NLP) # NLP_0.1-7 string <- as.String("Mr. Brown comes. He says hello. i give him coffee.") I want to demonstrate two different ways. One c...
Mcmath asked 6/8, 2015 at 20:47

6

Solved

I have searched and was able to find this forum discussion for achieving the effect of overlapping matches. I also found the following SO question speaking of finding indexes to perform this task,...
Markson asked 12/9, 2014 at 2:56

© 2022 - 2024 — McMap. All rights reserved.