I have a problem where I want to supply the input-data in the form of an array, but when using the array as data it's only saved as one entry, not multiple
For example
var member = [1, 3, 5, 7]
let r = new R('./commands/memberSize.R')
r.data(member)
only returns the whole array as one entry, as seen when using
print(input[[1]])
in the R-Script since it's results in [1, 3, 5, 7] beeing printed, not 1
I have a problem where I want to supply the input-data in the form of an array, but when using the array as data it's only saved as one entry, not multiple
For example
only returns the whole array as one entry, as seen when using
print(input[[1]])in the R-Script since it's results in
[1, 3, 5, 7]beeing printed, not1