Very late to this chat but thought I'd recommend my own way of saving J
nouns to file: http://code.jsoftware.com/wiki/Scripts/File_J_Variables .

On Tue, Dec 15, 2015 at 7:59 PM, chris burke <[email protected]> wrote:

> Your work is in script files, which are saved automatically as you use the
> system (at least in JQt).
>
> You run the scripts by loading them, or by running one or more lines from
> them, see the various Run commands in the Edit|Run menu. There is no need
> to first copy from Edit to Term.
>
> Any output is displayed in the Term (or Terminal) window. You can also
> enter commands directly in that window, but most of the time you are likely
> to run commands from a script that is open in Edit.
>
> Data can be stored in script files, or jfiles, sql, csv, or various other
> formats.
>
> On 15 December 2015 at 14:00, 'Rodney Nicholson' via Chat <
> [email protected]> wrote:
>
> > Hi folks:
> > Many thanks for the help so far.  I seem to be making considerable
> > progress toward my modest objective of writing some straightforward code
> to
> > manipulate data in two-dimensional arrays.  And I see written somewhere
> > that:
> >
> > "GettingHelp,...........  A great manyexperienced J users monitor
> messages
> > sent to the Forum and are willing toanswer your questions on J, from the
> > trivial to the profound."
> > Well here is a question which must rank among the most trivial ever
> > asked(!):
> > The documentation says it is not necessary to save your work, it is
> > automatically saved.  My question is:  When I open a new session, where
> > should I look to find my data (and programs?)?  I have created small
> tables
> > of numerical data in both the execution window and in script files.
> When I
> > open a new session, if I ask for the data I had created in the previous
> > session there is, of course, no response from the script file, and the
> > execution window seems to start out blank.  If I copy the array name from
> > the script to the execution window and hit ENTER it tells me:  "I value
> > error: xxx"
> > Similarly with short experimental functions (verbs) I have written:  each
> > time I want to run a 'program', do I have to transfer the coding of it,
> and
> > any subroutines, from the script file to the execution file?  Or is
> there a
> > way to preserve the programs so they are ready to be used again in the
> > execution window in a new session?  Certainly moving functions from the
> > script file to the execution window would not be arduous.  But it would
> not
> > be 'user-friendly' not to have easy access to the data arrays.
> >
> > Also, as an aside, the execution file is called "Term".  Is that the
> > abbrevation of a longer word?
> >
> > I want to create some largish two-dimensional numerical arrays each of
> > which will take several hours to assemble, and then manipulate these data
> > multiple times over future sessions.  So where/how do such variables get
> > stored/retrieved so I do not have to assemble them each time I want to
> > manipulate them again after starting a new session?
> >
> > Thank you.
> > Rodney Nicholson.
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 

Devon McCormick, CFA

Quantitative Consultant
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to