Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4043 > unrolled thread
| Started by | barry brunson <mathisfun@mac.com> |
|---|---|
| First post | 2011-07-29 08:45 +0000 |
| Last post | 2011-07-29 12:04 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
CompressedData in Buttons barry brunson <mathisfun@mac.com> - 2011-07-29 08:45 +0000
Re: CompressedData in Buttons A Retey <awnl@gmx-topmail.de> - 2011-07-29 12:04 +0000
| From | barry brunson <mathisfun@mac.com> |
|---|---|
| Date | 2011-07-29 08:45 +0000 |
| Subject | CompressedData in Buttons |
| Message-ID | <j0trvu$d59$1@smc.vnet.net> |
Sorry if this is really obvious. I have some Buttons that display various data, e.g., area, population, density, etc. of U.S. states, and would like to update the data. I have only the buttons, not the Input code that produced them long ago. Using Show Expression on the button reveals that, instead of being in List form, much of the data appears as "CompressedData[ ... (gibberish) ...]. How can I recover the original, uncompressed, data so that I can revise it? I found nothing in the Documentation Center or Virtual Book, and none of the 74 hits on wolfram.com appear to shed any relevant light. Thanks.
[toc] | [next] | [standalone]
| From | A Retey <awnl@gmx-topmail.de> |
|---|---|
| Date | 2011-07-29 12:04 +0000 |
| Message-ID | <j0u7kq$fbk$1@smc.vnet.net> |
| In reply to | #4043 |
Hi, > I have some Buttons that display various data, e.g., area, > population, density, etc. of U.S. states, and would like to update > the data. I have only the buttons, not the Input code that produced > them long ago. Using Show Expression on the button reveals that, > instead of being in List form, much of the data appears as > "CompressedData[ ... (gibberish) ...]. > > How can I recover the original, uncompressed, data so that I can > revise it? I found nothing in the Documentation Center or Virtual > Book, and none of the 74 hits on wolfram.com appear to shed any > relevant light. I think you will just need to apply Uncompress to the "glibberish", which should be a string. If you have the CompressedData[..] as an expression, you can convert the compressed part with: CompressedData["..."] /. Verbatim[CompressedData][s_String] :> Uncompress[s] hth, albert
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web