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...
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...
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...
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")
...
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...
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...
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...
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 ...
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...
5
Solved
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...
1
Solved
What are the differences between all of these functions that seem very similar ?
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...
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'
...
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...
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("...
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...
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...
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...
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...
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
1 Next >
© 2022 - 2024 — McMap. All rights reserved.