On Oct 27, 2008, at 23:32 , William Stein wrote:
> > On Mon, Oct 27, 2008 at 7:26 PM, Jason Grout > <[EMAIL PROTECTED]> wrote: >> >> Justin C. Walker wrote: [snip] >> I believe that it will be uploaded/downloaded to the $DATA >> directory, so >> it could be attached with: >> >> attach $DATA/filename.sage >> >> I haven't tried, it, though. > > You can upload a file just like an image into a given worksheet, > and it appears in the data directory. Then I think you can do > > attach filename.sage > > (without the $DATA). I'm pretty sure that works in > recent versions of Sage. I did a little more poking today, based on helpful comments from William, Jason, and Timothy. Part of my problem is I can't read Japanese so well, so the going is slow :-} After a little probing, I think I understand the way it works. I have a couple of questions to clarify a few points: - I use the "Data" popup to get the file in question from the client (windows system) to the server (VMWare/Linux virtual system). The resulting webpage says that I can refer to the newly "uploaded" file by "DATA+foo", "foo" being the name of the file. When I subsequently did an "attach" from the notebook, I just typed "attach foo" and it worked. Question: When do I use "DATA+"? - To develop sage code (i.e., stuff in ".sage" files), there seems to be two ways to go: 1. Get an ssh client and ssh into the VMWare system, and use Linux editors. The 'attach' will keep reloading the modified file. 2. Use a windows editor, and repeatedly upload and save the file. The 'attach' will keep reloading the modified file. Question: Is this correct? Thanks as always. Justin -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds ----------- My wife 'n kids 'n dogs are gone, I can't get Jesus on the phone, But Ol' Milwaukee's Best is my best friend. ----------- --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---