Offline mode for synapse R-client
Need the ability to work offline in the event one does not have an internet connection, or if Synapse server is down. In the event that one has all data downloaded and cached, one should be able to make R calls to getEntity() and the like without having to connect to synapse; perhaps with a warning notifying the user that they may not be using the most up-to-date data.
I'd like to understand this use case better. For example, since 'getEntity' wraps a web request, why would you want to call this method when you aren't connected to the web?
If the use case is instead one of a local (file based) cache of downloaded information, persisted between R sessions, can that not be done using the R feature of a saved 'workspace'?
Will cover as part of update to cacheing system
While I realize this is important I would rather focus on bug fixes, testing, and documentation until we are after the Congress.
I agree that offline mode is important and this has been on the to-do list for a long time. I'm currently in the process of a complete re-write of the R Synapse Client; I'll see if I can work this in.
Yeah, that'd be useful, i.e. if you have the entity cached, it'd pull from cache and throw a message such as "Could not access Synapse web services, using local cache", or something of that ilk.