Have you tried: 2!:5 'HOME'
and 2!:5 'HOMEPATH' One or both of those may give you an idea what your HOME environment location is. I had to manually install gnuplot using the instructions in JHS link->jhelp->gnuplot: Windows gnuplot install: Follow www.gnuplot.info download links, download gp444win32.zip, and unzip in your home folder. -- On 12/5/2011 9:35, Linda Alvord wrote: > load'~addons/ide/jhs/gnuplot.ijs' > ~home/gnuplot/binary/share/gnuplot/4.4/js/canvastext.js not found > > I know the file is in the right place. However, it isn't home I guess, > because it can't find it. I don't have a folder called home that I can find > > Also I have Desktop > Owner > User > > I was afraid of what might happen to change to > > Desktop > User > Owner > > This was it wanter at first, so I created a new folder > > Deskto > Owner > User > > Now I have in user > > Owner-Shortcut > > If I activate User and do a search for gnuplot.exe it can't find anything, > so maybe that is the problem. > > I feel as though I am homeless. > > Linda > > > Linda > > > > > > -----Original Message----- > From: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] On Behalf Of Linda Alvord > Sent: Monday, December 05, 2011 7:49 AM > To: 'Programming forum' > Subject: Re: [Jprogramming] JHS plot and addon problems in both JHS and GTK > > Where are the instructions to do the following? > > Please add ~Demos pointing to ~addons/demos if that shortcut is un-available > in your installation, other than that, the help section in jhelp should > already give very clear procedures of how to use plot in jhs. > > All of a sudden > > ~home/gnuplot/binary/share/gnuplot/4.4/js/canvastext.js not found > > All of this seems right but 'home' shows up which I have never seen and do > not know what the means. > > -----Original Message----- > From: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] On Behalf Of bill lam > Sent: Monday, December 05, 2011 12:57 AM > To: programming@jsoftware.com > Subject: Re: [Jprogramming] JHS plot and addon problems in both JHS and GTK > > ~Demos should be added by users themselves, but in order to help noob, that > shortcut was included in standard installation. > > Please add ~Demos pointing to ~addons/demos if that shortcut is > un-available in your installation, other than that, the help section in > jhelp should already give very clear procedures of how to use plot in jhs. > > Вск, 04 Дек 2011, Don Guinn писал(а): >> Plot looking really good. >> >> A few problems I ran into. First, the demos use several definitions that >> are created when J6 plot is loaded but not in J7. They are: sin, cos, step >> and range. >> >> Second, for some reason I don't have ~Demos defined. I defined ~Demos to be >> 'c:/j701/addons/graphics' but the load still failed. For some reason >> plotdemos.ijs is in 'c:/js01/addons/graphics/plot/demo', not where the load >> expects it to be. In addition, I have a directory in bin called '~Demos' >> which contains a gtk directory. I probably need to start over from scratch >> reloading all of J; however, the name '~Demos' bothers me. The first letter >> being capitalized makes me think that it should be defined in >> UserFolders_j_. But things supplied as part of J should be in >> SystemFolders_j_ and there should be no assumptions as to the contents of >> UserFolders_j_. >> >> >> On Sun, Dec 4, 2011 at 12:49 AM, bill lam<bbill....@gmail.com> wrote: >> >>> I guess your version of jhs was out-dated. The related message inside >>> current jhelp reads, >>> >>> Use JAL to be sure following required addons are installed: >>> <pre class="jcode"> >>> graphics/plot >>> graphics/afm >>> demos/plot >>> general/misc >>> math/misc >>> </pre> >>> >>> Learn about plot with the following examples. Detailed info at the wiki. >>> <pre class="jcode"> >>> require 'plot numeric trig' >>> plot 10?10 >>> load '~Demos/plot/plotdemos.ijs' NB. more than 50 demos >>> plotdemos 0 >>> plotdef 'show';200 100 >>> plotdemos 1 >>> plotdef 'show';600 300 NB. jhsshow width height >>> plotdemos 3 >>> plotdef 'link';600 450 NB. jhslink >>> plotdemos 10 >>> plotdef 'link';400 200 >>> plotdemos 25 >>> plotdef 'none';600 300 NB. create ~temp/plot.html without show or link >>> plotdef 30 >>> plotdef 'show';600 300 NB. jhsshow >>> plotdemos 54 >>> </pre> >>> >>> Вск, 04 Дек 2011, Fraser Jackson писал(а): >>>> Note 'How do we load addons?' >>>> >>>> The instructions for plotting in JHS say >>>> >>>> Install JAL graphics/plot graphics/afm and demos/plot >>>> >>>> Does this mean install them and load them? >>>> >>>> It then suggests you learn from >>>> >>>> load '~addons/ide/jhs/jplotdemo.ijs' jplot >>>> >>>> What does this mean since it is clearly not a J sentence. >>>> >>>> When I attempt this a possible sentence from the line I get the message >>>> >>>> load '~addons/ide/jhs/jplotdemo.ijs' >>>> not found: c:/users/fraser/j701/addons/ide/jhs/jplotdemo.ijs >>>> |file name error: script >>>> | 0!:0 y[4!:55<'y' >>>> >>>> >>>> That file does not exist on my system. >>>> >>>> JVERSION >>>> Engine: j701/2011-01-10/11:25 >>>> Library: 7.01.051 >>>> Platform: Win 32 >>>> Installer: j701a_win.exe >>>> InstallPath: c:/users/fraser/j701 >>>> >>>> >>>> There seems to be a more general problem loading addons. >>>> >>>> load 'general/misc' >>>> not found: C:\Users\Fraser\j701/general/misc/misc >>>> |file name error: script >>>> | 0!:0 y[4!:55<'y' >>>> >>>> I would like to get into helping test the graphics, but I need clear >>>> instructions as to how to start, and a working addon system. >>>> >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >>> -- >>> regards, >>> ==================================================== >>> GPG key 1024D/4434BAB3 2008-08-24 >>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm