[Solved] Pass URL (GET) Parameters to LearnR

I would like to pass parameters to learnR via the URL hosting the learnR instance, such as https://mydomain.com/learnR/?&param1=testValue.

I found the solution. Create a new r chunk with the "server" context. This context will get session info, which contains client data and the URL. From there, you can get what ever parameters that are passed into the URL to access the learnR page.

```{r context="server"}
  query <- parseQueryString(session$clientData$url_search)
  param1<- query[['param1']])

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.