Skip to content
Snippets Groups Projects
Commit cb830766 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Don't include useless/misleading "NULL" when dumping data from R .rdb files.

parent 0092be09
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,8 @@ import binascii ...@@ -33,7 +33,8 @@ import binascii
HEADER = binascii.a2b_hex("580a000000020003") HEADER = binascii.a2b_hex("580a000000020003")
DUMP_RDB = r""" DUMP_RDB = r"""
lazyLoad(commandArgs(TRUE)); hideOutput = lazyLoad(commandArgs(TRUE));
for (obj in ls(all.names = TRUE, sorted = TRUE)) { for (obj in ls(all.names = TRUE, sorted = TRUE)) {
print(obj); print(obj);
for (line in deparse(get(obj))) for (line in deparse(get(obj)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment