I am trying to fix a problem in DataSHIELD v6.0, which is the release that will use DSI for the first time and hence allows the use of DSLite.
If I have understood correctly, DSLite works by having its own environment in R, thus allowing you to run the client and server on the same instance of R. Basically the environments keep the server and client side separate.
Previously @yannick has written:
I think I need to understand more about this. In the *SLMADS2 group of functions, a model formula is created with this
envir = parent.frame() parameter. Subsequently offset and weight vectors are created, also with this parameter set. However, when the glm command is called, it cannot find the offset and weight vectors, I think because they are not in the same environment as the formula. glm uses the formula’s environment by default.
So, I wonder how do I create the offset and weight vectors in the same environment as the formula?