On Jun 29, 2012, at 11:03 PM, Walter Carlip wrote: > Okay, using the init.sage file with "gap._eval_using_file_cutoff = 100000" > seems to work now. Thanks. > > Have a new question, which should perhaps go somewhere else, but I'll try > asking here. When I execute > the gap command "SaveWorkspace("MyWorkspace");" in a sage notebook, I get the > reply "true". But > where does this workspace get stored? If I give a full path, I can find the > file, but can't find it otherwise.
It's in a temporary directory, e.g. for me it was /private/var/folders/dc/dcWBTFsQGHan33Mnxx-plE+++TI/-Tmp-/tmpLQ2ceA I found this out by running str := ""; strStream := OutputTextString(str,true); Process( DirectoryCurrent(),"/bin/sh", InputTextNone(),strStream, ["-c","echo $PWD"] ); CloseStream(strStream); str; since I couldn't figure out how to get DirectoryCurrent() to give me the full path to the directory. -Ivan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org