Description Usage Arguments Details Value Author(s) Examples
urlEncode all the strings in a character vector
1 | aps.urlEncode(vec)
|
vec |
Vector to encode. Will be coerced to character. |
The urlEncode function supplied by RApache has a few behaviors I don't expect.
First, it requires only character arguments, so urlEncode(1)
throws
an exception. Second, it dies on the empty string.
This function is a wrapper for RApache's urlEncode
that handles all
these cases. It might later be replaced with another implementation, but
the interface will stay. (The "aps" stands for AnalysisPageServer
.)
charvec of same length, with encoded strings
Brad Friedman - Regular
1 2 3 | aps.urlEncode(1)
aps.urlEncode("")
aps.urlEncode("foo/bar")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.