Message Boards Message Boards

0
|
3210 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Import, read, and get the content of a mx file?

Posted 2 years ago

I try to import/read/get the content of a mx file downloaded from here, and tried the following commands:

Get["/home/werner/allBCSkLGdat.mx"]
Import["/home/werner/allBCSkLGdat.mx"]

But nothing happened after I've evaluated the above commands successfully. Any hints for achieving the aim I described above will be highly appreciated.

Regards, HZ

Attachments:
POSTED BY: Hongyi Zhao
2 Replies
Posted 2 years ago

Great. The attached code snippet does the trick. BTW, the whole data set is very large. If I click the "show all" button, it will take a lot of time to expand the data in it.

Regards, HZ

Attachments:
POSTED BY: Hongyi Zhao
Posted 2 years ago

If the .mx file is well-formed, then the Get function will read in the definition of allBCSkLGdat (I'm assuming that DumpSave was used to create the file). You could try the following to see what was added to the Global namespace (after you execute the Get).

Names["Global`*"]

You could also try

Information[allBCSkLGdat]

(or try Information on whatever else was added to Global) to see its definitions.

But based on the README on the GitHub repo you linked to, I think your best bet would be to reach out using the email or WeChat contact info listed under Communications.

POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract