On Wed, Jan 14, 2015 at 5:16 PM, kcrisman <
kcri...@gmail.com> wrote:
>>
>> v = load("name")
>>
>
> Really? Note that this would have to be in the *same cell* as you saved it
> currently, I think. (Which I see as a problem, Jeroen does not.)
Often, people would do
v = save(DATA+"myobj")
and
v = load(DATA+"myobj")
Also, load supports grabbing objects from URL's e.g.
s = load("
http://wstein.org/tmp/surprise.sobj")
And this all works on the Sage command line for the last 8 years and
does work right *now* in the sage command line in Sage 6.5.beta5. A
change so that "load(...) in the notebook wants to load source files
and requires a second argument (globals) for it as well." is indeed a
major blocker regression.
/scratch/wstein/x/sage-6.5.beta5$ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.5.beta5, Release Date: 2015-01-05 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: s = load("
http://wstein.org/tmp/surprise.sobj")
Attempting to load remote file:
http://wstein.org/tmp/surprise.sobj
Loading: [.]
>
> Does
https://github.com/sagemath/sagenb/issues/107 have any relevant info?
>
>>
>> to load an object from name.sobj, but it no longer works since load(...)
>> in the notebook wants to load source files and requires a second argument
>> (globals) for it as well. Is it intentional and I missed something, or is it
>> a bug? (Which I would consider to be at least critical, if not a blocker...)
>> On the command line this construction still behaves as it should.
>>
>> Thank you!
>> Andrey
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-notebook" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sage-noteboo...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sage-notebook.
> For more options, visit
https://groups.google.com/d/optout.
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org