For R, try to use the compile subsystem = 1, can work.
See "Command subsystem " under http://www.scintilla.org/SciTEDoc.html
for more info.
Scite is very good for sintax parsing, you are right, just because it
was built to demonstrate scintilla capabilities. But you can do a lot of
things using properties files, running batch files with arguments or
other more complex scripts (Scite itself can handle LUA scripts natively).
I can re-enable Scite java support in Gusek, sure, but I need to do it
carefully. I remember when i've released first version of Gusek, Andrew
have pointed some things like "be more simple" - and I think that is a
good idea =) If Gusek needs to support a lot of languages, like Scite,
will be better just help Scite to support GLPK files... =)
Hugs,
Luiz
At 22-12-2009 23:30, Noli Sicad wrote:
Just for the record.
This statement (below) for r.properties is working for GUSEK / SciTE
for R-package. Text output is OK. But still no graph output in window
or terminal but the output graph file (e.g. *.ps, gif) will be
generated in the R default directory.
~~~~~~~~~
#To compile model
command.compile.subsystem.$(file.patterns.r)=0
command.compile.$(file.patterns.r)=$(r.winpath)Rscript --vanilla
--slave "$(FilePath)"
~~~~~~~~~
Noli
On 12/23/09, Noli Sicad<[email protected]> wrote:
Hi Luiz,
It seems that gnuplot.exe and wgnuplot does work here. We need to use
pgnuplot.exe and wgnuplot_pipes.exe.
I've tried, but can't see a better way to call gnuplot, even with
pgnuplot or wgnuplot_pipes.
If you do, please tell me to put in next Gusek release.
I use the pgnuplot.exe and wgnuplot.exe. I think it does matter what
you use as long you put the pause statement in the gnuplot script
batch file.
pause -1 "Hit return to continue"
Yah, you'll need the pauses... =)
The "demo" folder under gnuplot package show some other useful samples.
Yes, demos in demo folder are useful. I am trying to run them and find
suitable example to my needs.
I am trying to activate R.properties in GUSEK but the compile and go
statements are hard to figure out. Not working. It seems r package in
SciTE is only good for parsing syntax.
~~~~~~~~~~~~~
#To compile model
command.compile.subsystem.$(file.patterns.r)=0
command.compile.$(file.patterns.r)=$(r.winpath)R CMD BATCH --vanilla
--slave "$(FilePath)"
#Rterm.exe --slave --args %*< "$(FilePath)"
#To run model
command.go.subsystem.$(file.patterns.r)=1
command.go.$(file.patterns.r)=$(r.winpath)R CMD BATCH --vanilla
--slave "$(FilePath)"
~~~~~~~~~~~~~
The above is not working, no output / graph is created.
Luiz, I think there are some people using GLPK Java binding in this
group. Probably you can activate Java in GUSEK as well in the your
next GUSEK release, just a though.
Thanks, Noli
On 12/22/09, Luiz M. M. Bettoni<[email protected]> wrote:
At 21/12/2009 21:30, Noli Sicad wrote:
Hi Luiz,
Thank you very much for fixing gnuplot.properties and sending
scite.properties files.
You're welcome =)
I'm happy to see that Gusek was helping.
It seems that gnuplot.exe and wgnuplot does work here. We need to use
pgnuplot.exe and wgnuplot_pipes.exe.
I've tried, but can't see a better way to call gnuplot, even with
pgnuplot or wgnuplot_pipes.
If you do, please tell me to put in next Gusek release.
To avoid pauses in compile mode one can use pre-process to filter them
(like 'find /v "pause" mifile.dem> myfile.nopause'), but it can be a
disaster to users if it filters unwanted content (like a var named
pause_interval). Unfortunately, gnuplot has no command line switch like
"-nopause" to use in batch process... Dealing with gnuplot show me how
glpsol has a wonderful implementation! =)
Find the solution: We need to put this statement below inside the
gnuplot script batch file
pause -1 "Hit return to continue"
Yah, you'll need the pauses... =)
The "demo" folder under gnuplot package show some other useful samples.
Hugs!
Luiz
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk