Special character passwords containing backslash \
do not work out of the box due to how R and URLs handle them. Backslashes are special characters that mean escape in R. There are multiple ways to handle a backslash in your password, but they need to be handled when creating the initial connection to Robin Hood.
Here are 3 ways to deal with backslashes in passwords:
r"()"
will ignore escapes\
to have R read the backslash as a string%5C
as a backslash, and ignore a literal backslashlibrary(RobinHood) # If the true password is: abc\def # The following inputs will all work RH <- RobinHood("username", pwd = r"(abc\def)") RH <- RobinHood("username", pwd = "abc\\def") RH <- RobinHood("username", pwd = "abc%5Cdef")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.