I would like to have to separate columns from this data frame one for price value the other one for currency using R regular expression. I have tried ...
I would like to have to separate columns from this data frame one for price value the other one for currency using R regular expression. I have tried ...
There is ori_string ,how to using regexp to remove all the character not in chinese and english? Thanks! the wished result is ...
I have a text from which I want to extract the first two paragraphs. The text consists of several paragraphs seperated by empty lines. The paragraphs ...
I have a vector of character. For each of these elements I am 100% sure there is a repetition that is always located at the start of the text. A simp ...
I am crazy about this question. In R language regex, how to match a pattern "_a (b)"? a and b both stand for a word, there is a space in front of (. ...
I've been trying to install an older version of stringi using renv and am getting the following error. I've had a few earlier errors using restore, bu ...
I have a text like this: I get an error if I perform this because I pressed Enter after how. How do I remove the hidden line break so as to perform ...
Context I have a character vector a. I want to extract the text between the last slash(/) and the .nc using the str_extract()function. I have tried ...
So, I keep getting this error: library(tidyverse) Warning: package ‘tidyverse’ was built under R version 4.1.3 Error: package or namespace load fa ...
I was working on a language parser and I wanted to count certain string elements (say "</i>") in a larger string. Since the string has been clea ...
edit I encounter this on R version 3.6.1, appearently in newer versions this issue does not exist and the functions do behave similar. Consider this ...
There are a lot of string replacement questions, but I could not find one that addressed this issue specifically. I have a too long and slow if else f ...
When I install package tidyverse from CRAN it takes forever (8mins 20 secs to be fair) to load package dependency stringi. This problem seems to be we ...
I have a dataframe with two character columns where I want to made the following changes library(stringr) Airport_ID <- c("3001","3002","3003","3 ...
I would like to extract various parts of a string using regex patterns and capturing groups. I am able to filter the string using str_match_all, but I ...
I am trying to install likert, which requires stringi. install.package("likert") fails to install stringi. install.package("stringi") from CRAN fail ...
I have been unable to install the R package stringi on my Macbook Pro (running MacOS Monterey) with the new M1 & arm64 architecture. There are a n ...
I have a text like this: Insanely good Insanely good music. Kanye West is GOAT. The sky is blue. I want a function that whatever is the first sequen ...
I am trying to create a df where I add a character into a string at a position defined by another column- but I only want the code to count letters an ...
I have two dataframes columns, one containing names with accents and the other don't. I want to match them but only exact matches are performed. For e ...