Reading compressed edge list

122 views
Skip to first unread message

Mike Lacy

unread,
Mar 1, 2015, 3:26:46 PM3/1/15
to nwcom...@googlegroups.com
I tried Example 2 from -nwimport-, type(compressed)

The data, which I saved in a plain text csv file, is:

. type "c:/temp/compedge.csv"
peter
,thomas,mathilde,tim
thomas
,susan
susan
geoff
,john,michael



I then tried:
.
 nwimport c:/temp/compedge.csv, type(compressed)

Loading networks from file "c:/temp/compedge.csv" failed
r
(6750);



Is this a problem in my usage of the -nwimport- command?

Regards, Mike
Mike Lacy

Thomas Grund

unread,
Mar 1, 2015, 4:13:29 PM3/1/15
to nwcom...@googlegroups.com
Hi Mike,

thanks for spotting this "bug". It should work now when you update to version 1.1.10.

. adoupdate

Alternatively, a little workaround is to add a top line like this to your .csv:

v1, v2, v3, v4

Best,
Thomas

Mike Lacy

unread,
Mar 2, 2015, 1:21:12 PM3/2/15
to nwcom...@googlegroups.com
Yes, that works, thanks. - Mike
Reply all
Reply to author
Forward
0 new messages