removing nan and inf from a matrix
by Logan Kelly
Hello,
I need to take the log difference of a matrix, i.e. log(M[2 rows(M):,]/M[1:rows(M)-1,]). Unfortunately, M has elements equal to zero. I need to replace the nan's and inf's with 0's. This almost works
M = isnan(M) ? 0 : M
but does not remove inf's. Any sugestions?
8 years, 4 months
Computing an index for unique combinations of discrete variables
by Giuseppe Vittucci
Hi,
I have firm level data and two categorical variables (region and
sector).
I need to define another variable which is an index identifying the
unique combinations region-sector each firm belongs to, so I can use it
in computing cluster-robust s.e.
One way to do this is to use the command "values" for region and sector
and then use a nested loop, but this seems quite time-consuming...
Is there a simpler way in gretl to do it?
BTW, it could be useful to allow one to use the option "cluster" also
with the FE estimator.
Since the robust s.e. used in FE is the Arellano estimator and this is a
s.e. clusterized over cross-sectional units and thus it can be
considered a specification of the cluster-robust estimator, it seems
quite natural to allow one to identify clusters different from the
units.
Something like:
panel y 0 x --robust=cvar
or
panel y 0 x --cluster=cvar
where the default behavior
panel y 0 x --robust
is to clusterize over cross-sectional units.
Bye
Giuseppe
10 years, 4 months
ADF-GLS
by Stefano Fachin
thanks Allin, this answers precisely my question. And, by the way:
thanks again and again to you and Jack for this great tool. The more I
use it the more I am astonished - it's one of the best I ever used, and
on top of it, for free... unbelievable :-)
Stefano
> We use James MacKinnon's (1996) "urcval" apparatus to obtain p-values for
> our unit root tests, and this apparatus does not cover the case of ADF-GLS
> with a trend (not even asymptotically). So we fall back to the critical
> values given by Elliott, Rothenberg and Stock (1996).
>
> When the gretl code in question was written we were not aware of a
> (manageable) way of generating p-values for ADF-GLS with trend. I haven't
> researched the matter since, but if you know of a method we should now be
> using, please speak up.
>
> Allin Cottrell
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 28 Jan 2014 09:52:49 -0500 (EST)
> From: Allin Cottrell <cottrell(a)wfu.edu>
> Subject: Re: [Gretl-users] on kernel density
> To: Gretl list <gretl-users(a)lists.wfu.edu>
> Message-ID: <alpine.LNX.2.03.1401280946140.676(a)wfu.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Tue, 28 Jan 2014, Leandro Zipitria wrote:
>
>> Thanks Ricardo,
>>
>> I have reversed the axes:
>>
>> <hansl>
>> matrix d_1 = kdensity(Water)
>> matrix d[,1] = d_1[,2]
>> matrix d[,2] = d_1[,1]
>> <hansl>
>>
>> Now its ok. I think that the orders in the commmand kdensity are reversed,
>> or the gnuplot command use the information in the matrix that Gretl create
>> in reverse form (column 1 in the x axes and column 2 y axes, when it should
>> be otherwise).
> The matrix itself is fine, the columns being x, f(x). The thing is that
> gnuplot expects the y-axis variable(s) to be given first, then x (this is
> in the help for the "gnuplot" command).
>
> Maybe if you use "gnuplot" on a two-column matrix without giving a list
> for the column order we should assume the matrix is in x, y order and
> therefore reverse the columns for gnuplot's benefit? I'm not sure if that
> would break any build-in uses of gnuplot in gretl.
>
> Allin Cottrell
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 28 Jan 2014 13:01:26 -0200
> From: Leandro Zipitria <leandro.zipitria(a)gmail.com>
> Subject: Re: [Gretl-users] on kernel density
> To: Gretl list <gretl-users(a)lists.wfu.edu>
> Message-ID:
> <CAPLauuAULLAYRvCPnyG5gqVMfG5+BVGoLZFbWmJkBrP37R1Jsg(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear Allin,
>
> my fault, my command was
> gnuplot --matrix=d --with-lines
>
> instead of:
> gnuplot 2 1 --matrix=d --with-lines
>
> Now I realize that with the 2 1 Gretl rearrange the plot in the right wat.
>
> Just one final question, is there any option to add a title to a plot using
> the gnuplot command?
>
> Thanks
> Leandro
>
>
>
> 2014-01-28 Allin Cottrell <cottrell(a)wfu.edu>
>
>> On Tue, 28 Jan 2014, Leandro Zipitria wrote:
>>
>>> Thanks Ricardo,
>>>
>>> I have reversed the axes:
>>>
>>> <hansl>
>>> matrix d_1 = kdensity(Water)
>>> matrix d[,1] = d_1[,2]
>>> matrix d[,2] = d_1[,1]
>>> <hansl>
>>>
>>> Now its ok. I think that the orders in the commmand kdensity are
>> reversed,
>>> or the gnuplot command use the information in the matrix that Gretl
>> create
>>> in reverse form (column 1 in the x axes and column 2 y axes, when it
>> should
>>> be otherwise).
>> The matrix itself is fine, the columns being x, f(x). The thing is that
>> gnuplot expects the y-axis variable(s) to be given first, then x (this is
>> in the help for the "gnuplot" command).
>>
>> Maybe if you use "gnuplot" on a two-column matrix without giving a list
>> for the column order we should assume the matrix is in x, y order and
>> therefore reverse the columns for gnuplot's benefit? I'm not sure if that
>> would break any build-in uses of gnuplot in gretl.
>>
>> Allin Cottrell
>> _______________________________________________
>> Gretl-users mailing list
>> Gretl-users(a)lists.wfu.edu
>> http://lists.wfu.edu/mailman/listinfo/gretl-users
>>
>
10 years, 8 months
R & Gretl: Accented file names problem
by Henrique
Dear Gretl Developers,
I think I found a problem with accented path or directory names using R and Gretl. Look at the simple code:
<hansl>
nulldata 1
# Works fine when the directory has
# no accented filename ("Teste")
foreign=R
nome_da_serie <- file("C:/Users/henrique/Documents/gretl/Teste/Nome.txt")
nome_da_serie <- readLines(nome_da_serie, n = 1)
nome_da_serie
end foreign
# Doesn't work when the directory
# has accented filename ("Téstê")
# Gretl freezes
foreign=R
nome_da_serie <- file("C:/Users/henrique/Documents/gretl/Téstê/Nome.txt")
nome_da_serie <- readLines(nome_da_serie, n = 1)
nome_da_serie
end foreign
# Doesn't work when the file
# doesn't exist ("Name.txt")
# Gretl freezes
foreign=R
nome_da_serie <- file("C:/Users/henrique/Documents/gretl/Teste/Name.txt")
nome_da_serie <- readLines(nome_da_serie, n = 1)
nome_da_serie
end foreign
</hansl>
Using the commands directly on R works fine.
Best regards,
Henrique
Enviado via iPhone
10 years, 8 months
on kernel density
by Leandro Zipitria
Dear Gretl users,
I am trying to run a kernel approximation to a series of data (attached),
using the command kdensity as show in the manual.
Specifically, the inp is as follows:
matrix d = kdensity(Water)
gnuplot --matrix=d --with-lines --output=pruba.eps
But, once run the output says that the second column has non finite values.
Maybe is because values are integers, but I have checked on Stata (sorry, a
friend of mine, I do not use it), and the kernel density flows without
problems.
Is this a problem of the data, or I am doing something wrong?
Best
Leandro
10 years, 8 months
ADF-GLS
by Stefano Fachin
Hi everybody,
I'd be grateful if anybody could answer this very reasonable question a
referee put to me: why only the ADF-GLS test with constant have
p-values, while those with trend do not? the manual does not explain it,
and I am getting curious...
thanks,
Stefano
--
_________________________________________________________________________
Stefano Fachin
Professore Ordinario di Statistica Economica
Dip. di Scienze Statistiche
Università di Roma "La Sapienza"
P.le A. Moro 5 - 00185 Roma - Italia
Tel. +39-06-49910834
fax +39-06-49910072
URL http://w3.uniroma1.it/fachin/
10 years, 8 months
Baysian VAR
by logan.j.kelly
Hello,
Has anyone developed a package or code for estimating a Baysian VAR in Gretl? Is that included in the SVAR package?
Logan
10 years, 8 months
Re: [Gretl-users] Gretl-users Digest, Vol 84, Issue 14
by cociuba mihai
the problem is that I have GTK 3 installed but Gretl doesn't seem to see it
when running the configure command.
log attached
Mihai
On Fri, Jan 24, 2014 at 7:52 PM, <gretl-users-request(a)lists.wfu.edu> wrote:
> Send Gretl-users mailing list submissions to
> gretl-users(a)lists.wfu.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.wfu.edu/mailman/listinfo/gretl-users
> or, via email, send a message with subject or body 'help' to
> gretl-users-request(a)lists.wfu.edu
>
> You can reach the person managing the list at
> gretl-users-owner(a)lists.wfu.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gretl-users digest..."
>
>
> Today's Topics:
>
> 1. Re: anybody running gretl on tablets? (Allin Cottrell)
> 2. Re: anybody running gretl on tablets? (cociuba mihai)
> 3. Re: anybody running gretl on tablets? (H?lio Guilherme)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 24 Jan 2014 12:05:59 -0500 (EST)
> From: Allin Cottrell <cottrell(a)wfu.edu>
> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> To: Gretl list <gretl-users(a)lists.wfu.edu>
> Message-ID: <alpine.LNX.2.03.1401241202530.591(a)wfu.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Fri, 24 Jan 2014, Allin Cottrell wrote:
>
> >>> If gretl is built against current GTK 3 it can be run in a browser
> using
> >>> GDK_BACKEND=broadway (you can try this on your own computer, and find
> >>> gretl at http://localhost:8080). I'm not sure how this plays out in a
> real
> >>> networking context, but it may be worth exploring.
> >
> > There's not a great deal of info out there, but see
> >
> > https://developer.gnome.org/gtk3/stable/gtk-broadway.html
> > https://developer.gnome.org/gtk3/stable/broadwayd.html
> >
> > These deal with running a GTK 3 app in a browser on your own machine --
> > amusing, cool but not very useful. What I don't yet understand is how
> this
> > might translate to serving an application such as gretl to people on
> other
> > machines, as a "web app".
>
> Ah, here's something relevant. This example relies on Red Hat's openshift:
>
> http://blogs.gnome.org/alexl/2013/03/19/broadway-on-openshift/
> http://blogs.gnome.org/alexl/2013/04/03/more-gtk-in-the-cloud/
>
> Allin
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 24 Jan 2014 19:49:40 +0200
> From: cociuba mihai <cociuba(a)gmail.com>
> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> To: gretl-users(a)lists.wfu.edu
> Message-ID:
> <
> CADSiGnWNSbkpbqEzreHSsy1NjGWqcFng4Jte+7OG+ucO6AvOFA(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear Allin,
> I am trying your solution but it seems that Gretl is build using gtk2
> Configuration:
>
> Installation path: /usr/local
> Use readline library: yes
> Use gnuplot for graphs: yes
> Use LaTeX for typesetting output: yes
> Use libgsf for zip/unzip: no
> MPFR support: yes
> sse2 support for RNG: yes
> OpenMP support: no
> AVX support for arithmetic: no
> Build with GTK version: 2.0
> Build gretl documentation: yes
> Use Lucida fonts: no
> Build message catalogs: yes
> X-12-ARIMA support: yes
> TRAMO/SEATS support: yes
> libR support: yes
> ODBC support: no
> Experimental audio support: no
> Use xdg-utils in installation: if DESTDIR not set
> but in terminal the gtk3 seems to be installed
> *dpkg -s libgtk-3-0|grep '^Version' | cut -d' ' -f2-*
> *3.8.6-0ubuntu3.1+broadway2 *
> how can I force Gretl to builld againt GTK3.
> I tested with gedit and it works perfectly.
>
> Mihai
>
>
> On Fri, Jan 24, 2014 at 7:00 PM, <gretl-users-request(a)lists.wfu.edu>
> wrote:
>
> > Send Gretl-users mailing list submissions to
> > gretl-users(a)lists.wfu.edu
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.wfu.edu/mailman/listinfo/gretl-users
> > or, via email, send a message with subject or body 'help' to
> > gretl-users-request(a)lists.wfu.edu
> >
> > You can reach the person managing the list at
> > gretl-users-owner(a)lists.wfu.edu
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Gretl-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: anybody running gretl on tablets? (Sven Schreiber)
> > 2. Re: anybody running gretl on tablets? (Allin Cottrell)
> > 3. Re: anybody running gretl on tablets? (Sven Schreiber)
> > 4. Re: anybody running gretl on tablets? (Allin Cottrell)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Fri, 24 Jan 2014 15:43:51 +0100
> > From: Sven Schreiber <svetosch(a)gmx.net>
> > Subject: Re: [Gretl-users] anybody running gretl on tablets?
> > To: gretl-users(a)lists.wfu.edu
> > Message-ID: <52E27C27.50406(a)gmx.net>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Am 24.01.2014 15:30, schrieb cociuba mihai:
> > > (Disclaimer - not an expert on programming :) )
> > >
> > > I've given RStudio as an example because is not platform dependent,
> > > you can connect to the server from any web browser (tablet/phone,
> > > android/windows/ios).
> >
> > Well, gretl's graphical interface built on "gtk" is also
> > platform-independent, that's why there is gretl for Windows and on Mac.
> > But you're right that web technologies are much more widespread, and of
> > course the difference is especially visible on tablets and smartphones.
> >
> > >
> > > This would be a big leap forward for gretl in terms of user
> > > friendliness and capabilities.
> >
> > I don't really see this as a big advantage over the status quo, but I
> > agree that in theory it would be nice to be able to use a web browser as
> > a frontend. Somebody would have to develop this stuff, however, and IMO
> > it would be a lot of work... Also, if RStudio does this kind of thing
> > already, well that's great -- why not use that then?
> >
> > -sven
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Fri, 24 Jan 2014 10:34:30 -0500 (EST)
> > From: Allin Cottrell <cottrell(a)wfu.edu>
> > Subject: Re: [Gretl-users] anybody running gretl on tablets?
> > To: Gretl list <gretl-users(a)lists.wfu.edu>
> > Message-ID: <alpine.LNX.2.03.1401240941450.591(a)wfu.edu>
> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> >
> > On Fri, 24 Jan 2014, cociuba mihai wrote:
> >
> > > I'm using R on my tablet by connecting to an online server with RStudio
> > > server http://www.rstudio.com/ide/server/ and I'm wondering if a
> > similar
> > > solution would be feasible for gretl?
> >
> > If gretl is built against current GTK 3 it can be run in a browser using
> > GDK_BACKEND=broadway (you can try this on your own computer, and find
> > gretl at http://localhost:8080). I'm not sure how this plays out in a
> real
> > networking context, but it may be worth exploring.
> >
> > Allin
> >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Fri, 24 Jan 2014 16:38:21 +0100
> > From: Sven Schreiber <svetosch(a)gmx.net>
> > Subject: Re: [Gretl-users] anybody running gretl on tablets?
> > To: gretl-users(a)lists.wfu.edu
> > Message-ID: <52E288ED.7050109(a)gmx.net>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Am 24.01.2014 16:34, schrieb Allin Cottrell:
> > > On Fri, 24 Jan 2014, cociuba mihai wrote:
> > >
> > >> I'm using R on my tablet by connecting to an online server with
> RStudio
> > >> server http://www.rstudio.com/ide/server/ and I'm wondering if a
> > similar
> > >> solution would be feasible for gretl?
> > >
> > > If gretl is built against current GTK 3 it can be run in a browser
> using
> > > GDK_BACKEND=broadway (you can try this on your own computer, and find
> > > gretl at http://localhost:8080). I'm not sure how this plays out in a
> > real
> > > networking context, but it may be worth exploring.
> > >
> > >
> >
> > aha? This sounds very interesting indeed! Dou you have a preferred link
> > to some docs about this GTK feature? (googling these things usually
> > turns up a lot of obsolete stuff)
> >
> > thanks,
> > sven
> >
> >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Fri, 24 Jan 2014 11:37:50 -0500 (EST)
> > From: Allin Cottrell <cottrell(a)wfu.edu>
> > Subject: Re: [Gretl-users] anybody running gretl on tablets?
> > To: Gretl list <gretl-users(a)lists.wfu.edu>
> > Message-ID: <alpine.LNX.2.03.1401241131520.591(a)wfu.edu>
> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> >
> > On Fri, 24 Jan 2014, Sven Schreiber wrote:
> >
> > > Am 24.01.2014 16:34, schrieb Allin Cottrell:
> > >> On Fri, 24 Jan 2014, cociuba mihai wrote:
> > >>
> > >>> I'm using R on my tablet by connecting to an online server with
> RStudio
> > >>> server http://www.rstudio.com/ide/server/ and I'm wondering if a
> > similar
> > >>> solution would be feasible for gretl?
> > >>
> > >> If gretl is built against current GTK 3 it can be run in a browser
> using
> > >> GDK_BACKEND=broadway (you can try this on your own computer, and find
> > >> gretl at http://localhost:8080). I'm not sure how this plays out in a
> > real
> > >> networking context, but it may be worth exploring.
> > >
> > > aha? This sounds very interesting indeed! Dou you have a preferred link
> > > to some docs about this GTK feature? (googling these things usually
> > > turns up a lot of obsolete stuff)
> >
> > There's not a great deal of info out there, but see
> >
> > https://developer.gnome.org/gtk3/stable/gtk-broadway.html
> > https://developer.gnome.org/gtk3/stable/broadwayd.html
> >
> > These deal with running a GTK 3 app in a browser on your own machine --
> > amusing, cool but not very useful. What I don't yet understand is how
> this
> > might translate to serving an application such as gretl to people on
> other
> > machines, as a "web app".
> >
> > Allin
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Gretl-users mailing list
> > Gretl-users(a)lists.wfu.edu
> > http://lists.wfu.edu/mailman/listinfo/gretl-users
> >
> > End of Gretl-users Digest, Vol 84, Issue 13
> > *******************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.wfu.edu/pipermail/gretl-users/attachments/20140124/9973c309/...
>
> ------------------------------
>
> Message: 3
> Date: Fri, 24 Jan 2014 17:52:20 +0000
> From: H?lio Guilherme <helioxentric(a)gmail.com>
> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> To: Gretl list <gretl-users(a)lists.wfu.edu>
> Message-ID:
> <CABNCgGS7ixSGcwo-UQM-kg2Q-RJbpMshp607JqD0CGU69-=
> nuA(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> ./configure --help
>
> ;)
>
>
> On Fri, Jan 24, 2014 at 5:49 PM, cociuba mihai <cociuba(a)gmail.com> wrote:
>
> > Dear Allin,
> > I am trying your solution but it seems that Gretl is build using gtk2
> > Configuration:
> >
> > Installation path: /usr/local
> > Use readline library: yes
> > Use gnuplot for graphs: yes
> > Use LaTeX for typesetting output: yes
> > Use libgsf for zip/unzip: no
> > MPFR support: yes
> > sse2 support for RNG: yes
> > OpenMP support: no
> > AVX support for arithmetic: no
> > Build with GTK version: 2.0
> > Build gretl documentation: yes
> > Use Lucida fonts: no
> > Build message catalogs: yes
> > X-12-ARIMA support: yes
> > TRAMO/SEATS support: yes
> > libR support: yes
> > ODBC support: no
> > Experimental audio support: no
> > Use xdg-utils in installation: if DESTDIR not set
> > but in terminal the gtk3 seems to be installed
> > *dpkg -s libgtk-3-0|grep '^Version' | cut -d' ' -f2-*
> > *3.8.6-0ubuntu3.1+broadway2 *
> > how can I force Gretl to builld againt GTK3.
> > I tested with gedit and it works perfectly.
> >
> > Mihai
> >
> >
> > On Fri, Jan 24, 2014 at 7:00 PM, <gretl-users-request(a)lists.wfu.edu
> >wrote:
> >
> >> Send Gretl-users mailing list submissions to
> >> gretl-users(a)lists.wfu.edu
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >> http://lists.wfu.edu/mailman/listinfo/gretl-users
> >> or, via email, send a message with subject or body 'help' to
> >> gretl-users-request(a)lists.wfu.edu
> >>
> >> You can reach the person managing the list at
> >> gretl-users-owner(a)lists.wfu.edu
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of Gretl-users digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >> 1. Re: anybody running gretl on tablets? (Sven Schreiber)
> >> 2. Re: anybody running gretl on tablets? (Allin Cottrell)
> >> 3. Re: anybody running gretl on tablets? (Sven Schreiber)
> >> 4. Re: anybody running gretl on tablets? (Allin Cottrell)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Fri, 24 Jan 2014 15:43:51 +0100
> >> From: Sven Schreiber <svetosch(a)gmx.net>
> >> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> >> To: gretl-users(a)lists.wfu.edu
> >> Message-ID: <52E27C27.50406(a)gmx.net>
> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>
> >>
> >> Am 24.01.2014 15:30, schrieb cociuba mihai:
> >> > (Disclaimer - not an expert on programming :) )
> >> >
> >> > I've given RStudio as an example because is not platform dependent,
> >> > you can connect to the server from any web browser (tablet/phone,
> >> > android/windows/ios).
> >>
> >> Well, gretl's graphical interface built on "gtk" is also
> >> platform-independent, that's why there is gretl for Windows and on Mac.
> >> But you're right that web technologies are much more widespread, and of
> >> course the difference is especially visible on tablets and smartphones.
> >>
> >> >
> >> > This would be a big leap forward for gretl in terms of user
> >> > friendliness and capabilities.
> >>
> >> I don't really see this as a big advantage over the status quo, but I
> >> agree that in theory it would be nice to be able to use a web browser as
> >> a frontend. Somebody would have to develop this stuff, however, and IMO
> >> it would be a lot of work... Also, if RStudio does this kind of thing
> >> already, well that's great -- why not use that then?
> >>
> >> -sven
> >>
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 2
> >> Date: Fri, 24 Jan 2014 10:34:30 -0500 (EST)
> >> From: Allin Cottrell <cottrell(a)wfu.edu>
> >> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> >> To: Gretl list <gretl-users(a)lists.wfu.edu>
> >> Message-ID: <alpine.LNX.2.03.1401240941450.591(a)wfu.edu>
> >> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> >>
> >>
> >> On Fri, 24 Jan 2014, cociuba mihai wrote:
> >>
> >> > I'm using R on my tablet by connecting to an online server with
> RStudio
> >> > server http://www.rstudio.com/ide/server/ and I'm wondering if a
> >> similar
> >> > solution would be feasible for gretl?
> >>
> >> If gretl is built against current GTK 3 it can be run in a browser using
> >> GDK_BACKEND=broadway (you can try this on your own computer, and find
> >> gretl at http://localhost:8080). I'm not sure how this plays out in a
> >> real
> >> networking context, but it may be worth exploring.
> >>
> >> Allin
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 3
> >> Date: Fri, 24 Jan 2014 16:38:21 +0100
> >> From: Sven Schreiber <svetosch(a)gmx.net>
> >> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> >> To: gretl-users(a)lists.wfu.edu
> >> Message-ID: <52E288ED.7050109(a)gmx.net>
> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>
> >>
> >> Am 24.01.2014 16:34, schrieb Allin Cottrell:
> >> > On Fri, 24 Jan 2014, cociuba mihai wrote:
> >> >
> >> >> I'm using R on my tablet by connecting to an online server with
> RStudio
> >> >> server http://www.rstudio.com/ide/server/ and I'm wondering if a
> >> similar
> >> >> solution would be feasible for gretl?
> >> >
> >> > If gretl is built against current GTK 3 it can be run in a browser
> using
> >> > GDK_BACKEND=broadway (you can try this on your own computer, and find
> >> > gretl at http://localhost:8080). I'm not sure how this plays out in a
> >> real
> >> > networking context, but it may be worth exploring.
> >> >
> >> >
> >>
> >> aha? This sounds very interesting indeed! Dou you have a preferred link
> >> to some docs about this GTK feature? (googling these things usually
> >> turns up a lot of obsolete stuff)
> >>
> >> thanks,
> >> sven
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 4
> >> Date: Fri, 24 Jan 2014 11:37:50 -0500 (EST)
> >> From: Allin Cottrell <cottrell(a)wfu.edu>
> >> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> >> To: Gretl list <gretl-users(a)lists.wfu.edu>
> >> Message-ID: <alpine.LNX.2.03.1401241131520.591(a)wfu.edu>
> >> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> >>
> >>
> >> On Fri, 24 Jan 2014, Sven Schreiber wrote:
> >>
> >> > Am 24.01.2014 16:34, schrieb Allin Cottrell:
> >> >> On Fri, 24 Jan 2014, cociuba mihai wrote:
> >> >>
> >> >>> I'm using R on my tablet by connecting to an online server with
> >> RStudio
> >> >>> server http://www.rstudio.com/ide/server/ and I'm wondering if a
> >> similar
> >> >>> solution would be feasible for gretl?
> >> >>
> >> >> If gretl is built against current GTK 3 it can be run in a browser
> >> using
> >> >> GDK_BACKEND=broadway (you can try this on your own computer, and find
> >> >> gretl at http://localhost:8080). I'm not sure how this plays out in
> a
> >> real
> >> >> networking context, but it may be worth exploring.
> >> >
> >> > aha? This sounds very interesting indeed! Dou you have a preferred
> link
> >> > to some docs about this GTK feature? (googling these things usually
> >> > turns up a lot of obsolete stuff)
> >>
> >> There's not a great deal of info out there, but see
> >>
> >> https://developer.gnome.org/gtk3/stable/gtk-broadway.html
> >> https://developer.gnome.org/gtk3/stable/broadwayd.html
> >>
> >> These deal with running a GTK 3 app in a browser on your own machine --
> >> amusing, cool but not very useful. What I don't yet understand is how
> this
> >> might translate to serving an application such as gretl to people on
> other
> >> machines, as a "web app".
> >>
> >> Allin
> >>
> >>
> >> ------------------------------
> >>
> >>
> >> _______________________________________________
> >> Gretl-users mailing list
> >> Gretl-users(a)lists.wfu.edu
> >> http://lists.wfu.edu/mailman/listinfo/gretl-users
> >>
> >> End of Gretl-users Digest, Vol 84, Issue 13
> >> *******************************************
> >>
> >
> >
> > _______________________________________________
> > Gretl-users mailing list
> > Gretl-users(a)lists.wfu.edu
> > http://lists.wfu.edu/mailman/listinfo/gretl-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.wfu.edu/pipermail/gretl-users/attachments/20140124/7f787010/...
>
> ------------------------------
>
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>
> End of Gretl-users Digest, Vol 84, Issue 14
> *******************************************
>
10 years, 8 months
Re: [Gretl-users] anybody running gretl on tablets?
by cociuba mihai
Dear Allin,
I am trying your solution but it seems that Gretl is build using gtk2
Configuration:
Installation path: /usr/local
Use readline library: yes
Use gnuplot for graphs: yes
Use LaTeX for typesetting output: yes
Use libgsf for zip/unzip: no
MPFR support: yes
sse2 support for RNG: yes
OpenMP support: no
AVX support for arithmetic: no
Build with GTK version: 2.0
Build gretl documentation: yes
Use Lucida fonts: no
Build message catalogs: yes
X-12-ARIMA support: yes
TRAMO/SEATS support: yes
libR support: yes
ODBC support: no
Experimental audio support: no
Use xdg-utils in installation: if DESTDIR not set
but in terminal the gtk3 seems to be installed
*dpkg -s libgtk-3-0|grep '^Version' | cut -d' ' -f2-*
*3.8.6-0ubuntu3.1+broadway2 *
how can I force Gretl to builld againt GTK3.
I tested with gedit and it works perfectly.
Mihai
On Fri, Jan 24, 2014 at 7:00 PM, <gretl-users-request(a)lists.wfu.edu> wrote:
> Send Gretl-users mailing list submissions to
> gretl-users(a)lists.wfu.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.wfu.edu/mailman/listinfo/gretl-users
> or, via email, send a message with subject or body 'help' to
> gretl-users-request(a)lists.wfu.edu
>
> You can reach the person managing the list at
> gretl-users-owner(a)lists.wfu.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gretl-users digest..."
>
>
> Today's Topics:
>
> 1. Re: anybody running gretl on tablets? (Sven Schreiber)
> 2. Re: anybody running gretl on tablets? (Allin Cottrell)
> 3. Re: anybody running gretl on tablets? (Sven Schreiber)
> 4. Re: anybody running gretl on tablets? (Allin Cottrell)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 24 Jan 2014 15:43:51 +0100
> From: Sven Schreiber <svetosch(a)gmx.net>
> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> To: gretl-users(a)lists.wfu.edu
> Message-ID: <52E27C27.50406(a)gmx.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Am 24.01.2014 15:30, schrieb cociuba mihai:
> > (Disclaimer - not an expert on programming :) )
> >
> > I've given RStudio as an example because is not platform dependent,
> > you can connect to the server from any web browser (tablet/phone,
> > android/windows/ios).
>
> Well, gretl's graphical interface built on "gtk" is also
> platform-independent, that's why there is gretl for Windows and on Mac.
> But you're right that web technologies are much more widespread, and of
> course the difference is especially visible on tablets and smartphones.
>
> >
> > This would be a big leap forward for gretl in terms of user
> > friendliness and capabilities.
>
> I don't really see this as a big advantage over the status quo, but I
> agree that in theory it would be nice to be able to use a web browser as
> a frontend. Somebody would have to develop this stuff, however, and IMO
> it would be a lot of work... Also, if RStudio does this kind of thing
> already, well that's great -- why not use that then?
>
> -sven
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 24 Jan 2014 10:34:30 -0500 (EST)
> From: Allin Cottrell <cottrell(a)wfu.edu>
> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> To: Gretl list <gretl-users(a)lists.wfu.edu>
> Message-ID: <alpine.LNX.2.03.1401240941450.591(a)wfu.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Fri, 24 Jan 2014, cociuba mihai wrote:
>
> > I'm using R on my tablet by connecting to an online server with RStudio
> > server http://www.rstudio.com/ide/server/ and I'm wondering if a
> similar
> > solution would be feasible for gretl?
>
> If gretl is built against current GTK 3 it can be run in a browser using
> GDK_BACKEND=broadway (you can try this on your own computer, and find
> gretl at http://localhost:8080). I'm not sure how this plays out in a real
> networking context, but it may be worth exploring.
>
> Allin
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 24 Jan 2014 16:38:21 +0100
> From: Sven Schreiber <svetosch(a)gmx.net>
> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> To: gretl-users(a)lists.wfu.edu
> Message-ID: <52E288ED.7050109(a)gmx.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Am 24.01.2014 16:34, schrieb Allin Cottrell:
> > On Fri, 24 Jan 2014, cociuba mihai wrote:
> >
> >> I'm using R on my tablet by connecting to an online server with RStudio
> >> server http://www.rstudio.com/ide/server/ and I'm wondering if a
> similar
> >> solution would be feasible for gretl?
> >
> > If gretl is built against current GTK 3 it can be run in a browser using
> > GDK_BACKEND=broadway (you can try this on your own computer, and find
> > gretl at http://localhost:8080). I'm not sure how this plays out in a
> real
> > networking context, but it may be worth exploring.
> >
> >
>
> aha? This sounds very interesting indeed! Dou you have a preferred link
> to some docs about this GTK feature? (googling these things usually
> turns up a lot of obsolete stuff)
>
> thanks,
> sven
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 24 Jan 2014 11:37:50 -0500 (EST)
> From: Allin Cottrell <cottrell(a)wfu.edu>
> Subject: Re: [Gretl-users] anybody running gretl on tablets?
> To: Gretl list <gretl-users(a)lists.wfu.edu>
> Message-ID: <alpine.LNX.2.03.1401241131520.591(a)wfu.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Fri, 24 Jan 2014, Sven Schreiber wrote:
>
> > Am 24.01.2014 16:34, schrieb Allin Cottrell:
> >> On Fri, 24 Jan 2014, cociuba mihai wrote:
> >>
> >>> I'm using R on my tablet by connecting to an online server with RStudio
> >>> server http://www.rstudio.com/ide/server/ and I'm wondering if a
> similar
> >>> solution would be feasible for gretl?
> >>
> >> If gretl is built against current GTK 3 it can be run in a browser using
> >> GDK_BACKEND=broadway (you can try this on your own computer, and find
> >> gretl at http://localhost:8080). I'm not sure how this plays out in a
> real
> >> networking context, but it may be worth exploring.
> >
> > aha? This sounds very interesting indeed! Dou you have a preferred link
> > to some docs about this GTK feature? (googling these things usually
> > turns up a lot of obsolete stuff)
>
> There's not a great deal of info out there, but see
>
> https://developer.gnome.org/gtk3/stable/gtk-broadway.html
> https://developer.gnome.org/gtk3/stable/broadwayd.html
>
> These deal with running a GTK 3 app in a browser on your own machine --
> amusing, cool but not very useful. What I don't yet understand is how this
> might translate to serving an application such as gretl to people on other
> machines, as a "web app".
>
> Allin
>
>
> ------------------------------
>
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>
> End of Gretl-users Digest, Vol 84, Issue 13
> *******************************************
>
10 years, 8 months