Get proxyId within R

Hi,
I noticed that the latest version introduce a more user-friendly URL. That’s great, but is it possible to add the proxyId in the environment variable, accessible from R? In previous versions, I split the URL, but I can’t anymore with the new version.
Best

It is not possible to modify the environment once the container starts.
Do you have a suggestion to get the proxyId within R? Or a workaround to be able to control the container from within R?

Hi @KZARCA,

Yes, using expressions, you can insert the proxy id as an environment variable, e.g.:

proxy:
  specs:
  - id: 01_hello
    container-env:
      PROXY_ID: "#{proxy.id}"
2 Likes

That’s great !
Thank you