string_to_var | R Documentation |
Spaces are replaced with '_' and other non valid characters are encoded as '.' + two bit
hexadecimal representation.
Variables which start with an underscore or a dot are prepended with the letter 'X'.
The result is sent to make.names
in order to deal with reserved words.
string_to_var(str)
str |
string |
Note that strings starting with 'X.' would not be translated back correctly using var_to_string
,
i.e. string_to_var(var_to_string("X.saba"))
would result ".saba".
a syntactically valid variable name
string_to_var("a & b")
string_to_var("saba and savta")
string_to_var("/home/mydir")
string_to_var("www.google.com")
string_to_var("my_variable + 3")
string_to_var(".hidden variable")
string_to_var("NULL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.