How can I replace .. using.
I tried something like:
names(dataset) <- gsub("[/./.]",".",names(dataset))
But this does not work, as I had hoped.
Try adding fixed = T
fixed = T
R> c <- "v.." [1] "v.." R> gsub("..", '.', c, fixed = T) [1] "v."
I think you have slashes in the wrong direction, and you need to double them:
gsub("\\.\\.",".",names(dataset))
Fixed display of comments.
Source: https://habr.com/ru/post/902976/More articles:simple Solr deployment with two redundant servers - search-engineusing only part of the array - c ++Moving from the first character of a function declaration to the ending brace in VIM - vimSSH key on Dreamhost - ssh-keysDisable keyboard shortcut in textbox - javascriptTimestamp for creating strings and last modified - sqlWhy can't I declare application events in vb.net visual studio 2010? - eventscentral image horizontally inside overflow: hidden div - cssUITextfield.text returns null - iosCocoa WebView does not load URL when loading application - xcodeAll Articles