How to send a numeric vector? creating a new function

I currently try to implement some ROC curve analysis. For that to be non-disclosive but still useful I need to be able to supply a list of threshold values for which I will evaluate the characteristic. So I wonder if there’s already a way to send a numeric vector to the server that doesn’t involve eval’ing a string.

Looking forward to some guiding response :smiley: as that’s my first contact to R and DataSHIELD :see_no_evil:



would something like:

nvec <- 'c(1.0, 2.0, 3.0, 4.0, 5.0, 6.0)

ds.assign(toAssign = nvec, newobj ='a', datasource = conns)

which will create a variable “a” on the server(s) containing the numeric vector meet you needs?


well yes, that would work if I could select that vector myself but that might be the result of a few client operations itself. My currently best approach would be using deparse to get back a c(…) notion which I could send as text.