Dear Allin,
Thank you for the answer
The matter I only could output R plots
from Gretl foreign block using the on option:
save plot.svg and view it from Gretl via xdg-open
Gretl provides simply fantastic interface with R
but it requires some knowledge of R from an user
My aim is to provide students with R possibilities
without direct use and knowledge of R at all!
Just to install it!
Now I think the script I sent before is a piece of s**t
Now I can do such things
open beer.gdt
ind = (i>30000)
list X = q pb ind
Rmodel("ets(q)",X,"forecast")
Rmodel("lm(q~pb)",X,null,1)
Rmodel("glm(q~pb)",X,null,1)
Rmodel("auto.arima(q,xreg=pb)",X,"forecast",1)
Rmodel("arfima(q)",X,"forecast")
Rmodel("plm(q~pb,data=gretldata,model='within',index='ind')",X,"plm")
etc., etc
"forecst" end so on are package names to be installed for
concrete models, so null for glm's
And Rmodel() is just a few dozens of lines
In principle, almost all of me students use Windows,
where plots I need works easy,
but it's not proper if a GNU product can do less on Linux
Oleh
10 жовтня 2015, 02:15:14, від "Allin Cottrell" <cottrell(a)wfu.edu>:
On Fri, 9 Oct 2015, oleg_komashko(a)ukr.net wrote:
> Dear all,
> The User's guide says that
> shell_ok on/off are in the GUI
> for security issues.
> What are typical dangers?
Maybe not very likely, but for example
! rm -rf /
If a gretl user has root privileges that would trash the hard
drive. Or
! rm -rf ~/
even without root privileges would totally destroy the user's
filespace.
The shell is powerful! To date we have no evidence of malicious
gretl scripts being distributed, but we'd rather not wait for a
disaster to occur before imposing some default limitations.
Allin
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users