Displaying 2 results from an estimated 2 matches for "x_x_x".
Did you mean:
___x
2000 Feb 15
1
html help: dev.x_x_x (PR#440)
(don't use "xxx" in subject; it will bounce. MM - your list maintainer)
platform i686-unknown-linux
arch i686
os linux
system i686, linux
status Patched
major 0
minor 99.0
year 2000
month February
day 9
language R
When using R html search engine/keywords, a search for "device"
gave a page that includes
dev.xxx
This is a link to
2006 May 06
2
regular expression change in R version 2.3.0?
...ion 2.3.0 (2006-04-24)
gregexpr("[a]{1,}", as.character(x), perl=T)
[[1]]
[1] 2 3 4 5 7 8 9 10
attr(,"match.length")
[1] 4 3 2 1 4 3 2 1
# gsub gives expected output in Versions 2.2.0 & 2.3.0
gsub("[a]{1,}", "_", as.character(x), perl=T)
[1] "x_x_x"
Thanks in advance for your help.
Thomas
--
Thomas Girke, Ph.D.
1008 Noel T. Keen Hall
Center for Plant Cell Biology (CEPCEB)
University of California
Riverside, CA 92521
E-mail: thomas.girke at ucr.edu
Ph: 951-827-2469
Fax: 951-827-4437