Displaying 2 results from an estimated 2 matches for "defghi".
2010 Jul 13
1
StartsWith over vector of Strings?
Given vectors of strings of arbitrary length
content <- c("abc", "def")
searchset <- c("a", "abc", "abcdef", "d", "def", "defghi")
Is it possible to determine the content String set that matches the
searchset in the sense of 'startswith' ? This would be a vector of all
strings in content that start with the string of any of the strings in
the searchset. In the little example here, this would be:
result <- c...
2011 Oct 17
1
What does \Sexpr[results=rd]{} exactly mean in Rd?
...t;R.css">
</head><body>
<table width="100%" summary="page for abc"><tr><td>abc</td><td
align="right">R Documentation</td></tr></table>
<h2>abc</h2>
<h3>Details</h3>
<p>defghi</p>
</body></html>
> sessionInfo()
R version 2.13.2 (2011-09-30)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7]...