if (FALSE) ### Assumes you can use two independent R sessions
## In main R session
ask_dY(x=123)
## In another R session
ask_dX() # returns 123
tell_dY(y=456)
## Then ask_dY in main R session returns with value '456'
Run the code above in your browser using DataLab