att / rcloud

Collaborative data analysis and visualization
http://rcloud.social
MIT License
429 stars 141 forks source link

rcs.list(list=TRUE) ? #2017

Open gordonwoodhull opened 8 years ago

gordonwoodhull commented 8 years ago

I just got bitten by this, again.

We have rcs.get(list=TRUE), but rcs.list takes the first element (interprets its argument as a scalar) and silently throws the rest away.

Could we check for this in the same way as for rcs.get, rejecting length(key) > 1 if list=FALSE but doing

unlist(lapply(key, rcs.list))

if list=TRUE?

gordonwoodhull commented 8 years ago

This is a question for our roving R expert @s-u.