Write a table splayed to a directory

rsave x     rsave[x]

Where x is a table name as a symbol atom, saves the table, in binary format, splayed to a directory of the same name. The table must be fully enumerated and not keyed.

File path

If the file

Limits

The usual and more general way of doing this is to use set, which allows the target directory to be specified.

q)\l sp.q
q)rsave `sp           / save splayed table
`:sp/
q)\ls sp
,"p"
"qty"
,"s"

q)`:sp/ set sp        / equivalent to rsave `sp
`:sp/