Re: [R] How to create an executable file from R GUI?

2016-02-22 Thread simon0098--- via R-help
Thanks all, I solved this problem using a batch file. Note that my problem was that my GUI disappeared quickly that I solve it using function "gtkMain()" after calling my GUI  function. So, R GUI works with batch file :) The only problem that I had is that one of the buttons in my GUI is used to

Re: [R] How to create an executable file from R GUI?

2016-02-22 Thread Adrian Dușa
It doesn't look like HTML because it is not HTML at all, it is actually SVG. I found that creating exact locations for checkboxes, radios and text, using raw HTML, is a pain, therefore I created my own library of functions which combines SVG and Javascript. The graphs are also SVG, although I am

Re: [R] How to create an executable file from R GUI?

2016-02-22 Thread Dmitri Popavenko
That is a very nice interface, indeed! What kind of HTML you used for this interface, it is looking different from the normal. On Sun, Feb 21, 2016 at 11:37 AM, Adrian Dușa wrote: > Oh, thanks Peter, good example for Mac, but indeed not working on Windows. > For a

Re: [R] How to create an executable file from R GUI?

2016-02-21 Thread Adrian Dușa
Adriana, > >> My GUI file is a function returning a window. This function is named > >> buildGui(). How should I create this batch file using the piece of code > >> you've written? > >> > >> -- > >> * From: * Adrian Dușa <dusa

Re: [R] How to create an executable file from R GUI?

2016-02-20 Thread Zahra Samadi via R-help
Peter, I didn't understand your codes :) But I really seek Windows solution. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] How to create an executable file from R GUI?

2016-02-20 Thread peter dalgaard
should I create this batch file using the piece of code >> you've written? >> >> -- >> * From: * Adrian Dușa <dusa.adr...@unibuc.ro>; >> * To: * Greg Snow <538...@gmail.com>; >> * Cc: * simon0...@yahoo.com <simon0...@yaho

Re: [R] How to create an executable file from R GUI?

2016-02-20 Thread Adrian Dușa
I don't know about RGtk2, never tried it, but I assume it is similar to Tcl/Tk situation: you need to open an R console to make it work. My approach works, only because I am using the package shiny, and R's web server can be started via a script in the terminal. I might be wrong of course, but I

Re: [R] How to create an executable file from R GUI?

2016-02-20 Thread simon0098--- via R-help
I tried Shiny using this link: oddhypothesis.blogspot.co.uk/2014/04/deploying-self-contained-r-apps-to.html But I got the following error in R portable: Fatal error: unable to open base package I checked for base package but R 3.2.3 ( latest version) doesn't have updates for this package! So I

Re: [R] How to create an executable file from R GUI?

2016-02-20 Thread Zahra Samadi
My function returns a RGtk2 window. It's not important if my GUI opens in a browser, I just want to have a file that when clicked, my GUI opens. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] How to create an executable file from R GUI?

2016-02-19 Thread Adrian Dușa
gt; you've written? > > -- > * From: * Adrian Dușa <dusa.adr...@unibuc.ro>; > * To: * Greg Snow <538...@gmail.com>; > * Cc: * simon0...@yahoo.com <simon0...@yahoo.com>; r-help@r-project.org < > r-help@r-project.org>; > * Subject: * Re: [

Re: [R] How to create an executable file from R GUI?

2016-02-19 Thread Zahra Samadi
Adriana, My GUI file is a function returning a window. This function is named buildGui(). How should I create this batch file using the piece of code you've written? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] How to create an executable file from R GUI?

2016-02-18 Thread Adrian Dușa
Simon, Greg, That is the very reason why I've given up on Tck/Tk, in favor of shiny. The user interface opens up in a webpage, without opening the normal R console (it only opens a Terminal window). To exemplify, package QCAGUI has a function called runGUI(), and on Windows it's a simple matter

Re: [R] How to create an executable file from R GUI?

2016-02-18 Thread Zahra Samadi
OK. I should add that I want to have a shortcut on my desktop. My operating system is Windoes. I just need that when users click on this shortcut, my GUI appears without opening R environment since my users are completely unfamiliar with programming. [[alternative HTML version

Re: [R] How to create an executable file from R GUI?

2016-02-18 Thread Greg Snow
To give a full answer we need some more detail from you. For example what operating system are you on? what do you mean by "users click on it"? and at what point do you want them to click (after running R, when looking at the desktop, etc.) But to help get you started you may want to look at the

[R] How to create an executable file from R GUI?

2016-02-18 Thread simon0098--- via R-help
Hi, I've created a GUI using RGtk2 package. How can I make an executable file from my R script so that users click on it and the GUI appears for them? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To