In a rshiny app, I have to read and write to a URL.
I'm basically trying to imitate the functionality of the bookmarkbutton(), because the bookmarkbutton doesn't work with our current app design that we have.
I'm having trouble figuring out how to handle lists/vectors. For example I need to convert
Any help/resources is appreciated. I tried using utils:URLdecode and utils::URLencode but I haven't been able to get it to work when reassigning that back to a shiny element that takes a list/vector.
One approach to this would to first clean up your string up until the elements are only separated by the comma. Then split the string using comma as a separating element. The key here is that to filter out unnecessary characters, you need 'Regex' to match the pattern of what you want to match in your string, and what to replace it with (in this case we replace with empty character "" to simply remove them).