Re: [R] how to make this sequence: 1,2,3,4,5,4,3,2,1

2010-03-05 Thread j verzani
kensuguro gmail.com> writes: > > > so basically, it's impossible to do with just seq() and rep().. Doesn't seem > like a good question for chapter 1... > > Also, problem 1.13 is even more crazy.. it asks you to build the fibonacci > sequence. Now I'm a programmer, and so went way ahead in t

Re: [R] rpad ?

2010-03-23 Thread j verzani
sjaffe riskspan.com> writes: > > > Sharpie wrote: > > > > You could try Sage: > > > > http://www.sagemath.org > > > > Yes, I've tried Sage (briefly) and it is very interesting. But what I'm > looking for here is a client-server system that allows multiple users to > access the results o

Re: [R] how to put ggobi display into a GUI window setup by gWidgets

2009-11-29 Thread j verzani
jerry83 yahoo.com> writes: > > > Hi, > > I want to put a ggobi display into a GUI window setup by gWidgets, but error > occur said it is not a S4 object. > > Does anyone have any idea about how to put it in or maybe it can not be put > into a widget at all? > > Thanks A LOT! To embed a GT

Re: [R] how to put ggobi display into a GUI window setup by gWidgets

2009-11-30 Thread j verzani
jerry83 yahoo.com> writes: Jerry, see below: > > > Hi John, > > Thanks A LOT for your reply and the code. What I want to do is to include the ggobi display window to the widget > window setup by me. I tried add before but it said can not do it for GGobiScatterplotDisplay. Do you have > any i

Re: [R] How to set up a function for "Central Limit Theorem"

2009-03-23 Thread j verzani
Greg Snow imail.org> writes: > > There is also the clt.examp function in the TeachingDemos package. > An interactive demo can also be found at http://www.math.csi.cuny.edu/gWidgetsWWW/ex-clt.html>http://www.math.csi.cuny.edu/gWidgetsWWW/ex-clt.html. __

Re: [R] r online

2009-03-24 Thread j verzani
Dirk Eddelbuettel debian.org> writes: > > > On 24 March 2009 at 12:06, Thomas Steiner wrote: > | Hi, > | I'd like to execute simple commands and functions in R through a > | website, is there any service like this somewhere? > | I only found http://www.osvisions.com/r-online/ but it does not wo

Re: [R] gWidgets: loading problem

2010-01-15 Thread j verzani
Walther, Alexander googlemail.com> writes: > > Dear list, > > i try to set up a GUI with gWidgets. For this project, RGtk2 is > required. By loading the package, i encounter the following error prompt: > > ---C Symbolname "S_gtk_icon_factory_new" not in DLL for package "RGtk2"- -- > This sou

Re: [R] Using tcltk or other graphical widgets to view zoo time series objects

2010-01-28 Thread j verzani
Research ath.forthnet.gr> writes: > > Dear all, > > I am looking at the R-help entry below: > > http://finzi.psych.upenn.edu/R/Rhelp02/archive/26640.html > > I have a more complicatedt problem. I have a zoo time series frame with > 100+ sequences. > > I want to cycle through them back and f

Re: [R] SimpleR and UsingR

2010-02-06 Thread j verzani
Uwe Dippel uniten.edu.my> writes: > > Having found the online version of SimpleR, I wanted to to download the > respective data: > "The data sets for these notes are available from the CSI math > department (http://www.math.csi.cuny.edu/Statistics/R/simpleR) > and must be installed prior to th

Re: [R] R for web browser

2010-05-04 Thread j verzani
Lanna Jin gmail.com> writes: > > > Hi Everyone, > > Does anyone know of any projects for running an interactive R session within > a web browser? > I'm looking for something similar to the one on the Ruby website > (http://tryruby.org), except for R. > > Thanks for your responses in advance!

Re: [R] GUI commands to call for a protein from protein data bank

2010-05-18 Thread j verzani
Amitoj S. Chopra gmail.com> writes: > > > What I am trying to do is use GUI function, traitr, and to call for a pdb > file and save it and then display it. I want to call for it by taking it > from the user and then displaying it on the screen. I am having problems > with that. The line pdb <-

Re: [R] GUI commands to call for a protein from protein data bank

2010-05-19 Thread j verzani
Amitoj S. Chopra gmail.com> writes: > > > Thank you it worked perfectly. I just needed to close the window that was > the problem. Do you know how to close the window automatically and why does > that matter? Thanks! > > Amitoj Not sure why this makes a difference, but if it does great. A

Re: [R] R GUI using traitr to display multiple data

2010-05-20 Thread j verzani
Amitoj S. Chopra gmail.com> writes: > > > Hello to everyone. > > I am constructing a GUI table using traitr with multiple buttons that > respond to different codes. Such as I am doing titration of a protein, and I > want the script to run and then the end to be displayed in a window. The > win

Re: [R] gWidgets - gtable returning multiple values

2012-06-16 Thread j verzani
michaelyb gmail.com> writes: > > To whoever is looking for the same thing as I was, > I found a solution, or > sort of. > Here is the code: > > flavors<-c("vanilla", "chocolate", "strawberry") > > w <- gwindow("checkbox example") > gp <- ggroup(container=w) > glabel("Favorite flavors:",con

Re: [R] Tk grid problem

2012-07-16 Thread j verzani
vincent guyader gmail.com> writes: > > Hi everybody, > > I have a problem with the grid function in tk. > I juste try to put 4 buttons like this: > > --- > ||| > || C| > | A|| > ||| > -- D| > ||

Re: [R] how to view/edit large matrix/array in R?

2011-12-06 Thread j verzani
Michael gmail.com> writes: > > head, tail and fix commands don't really work well if I have large > matrix/array for which I would like to be able to scroll up and dow, left > and right ... > > Could anybody please help me? > > Thanks > > [[alternative HTML version deleted]] > > You

Re: [R] gWidgets: how to remove that is box drawn when moving the mouse with pressed button

2011-12-18 Thread j verzani
Mark Heckmann gmx.de> writes: > > Hi, > > how can I omit the box drawn from the starting position to the > current position of the mouse when clicking and it over a GTK > graphics object? I have seen that in the 'playwith' package the box > changes to an arrow when using the 'pan' button. Bu

Re: [R] An R interface to Model Building

2012-01-03 Thread j verzani
Brett Magill sbcglobal.net> writes: > > Hello all, > > To anyone who is interested, I'm trying to learn a bit more about > developing applications in R with user interfaces. I've been playing > around with gWidgets to develop a model building interface. > > I'd appreciate any comments, sugge

Re: [R] (no subject)

2012-03-08 Thread j verzani
Mark Heckmann gmx.de> writes: > > When using a gtkDrawingArea as a Cairo device I very often > encounter the error: "figure margins too large" > Even for the below "getting started" example from > http://www.ggobi.org/rgtk2/ this is the case. This can be avoided with the following: lib

Re: [R] Singleton pattern

2012-03-16 Thread j verzani
David Cassany transmuralbiotech.com> writes: > > Hi all, > > I know it may not have much sense thinking about a Singleton Pattern in an > R application which doesn't use any OOP facilities, however I'm curious to > know if anybody faced the same issue. I've been googling but using > "singleton

Re: [R] how to adjust gui window size

2012-03-22 Thread j verzani
mrzung gmail.com> writes: > > hi, i'm trying to make gui function by "aDialog" FUN. > What i want to do is adjusting the window size. > > my function is , > > aa<- aDialog(items=list( > ps=numericItem(), > number=numericItem(), > term=numericItem() > ), > OK_handler=function(.) { # . is refere

Re: [R] gWidgetstcltk gtext problem

2012-04-01 Thread j verzani
mrzung gmail.com> writes: > > hi, what I want to do is put a function result(output) into gtext area. > short example is following, > > require("gWidgetstcltk") > options(guiToolkit = "tcltk") > > win<-gwindow() > input<-gedit("",con=win) > run<-gbutton("run",con=win,handler=function(h,...){ >

Re: [R] How to close gwindow by automatially

2012-04-04 Thread j verzani
mrzung gmail.com> writes: > > Hi, all > > I am using gWidgets for making gui, and in trouble with closing gwindow. > > I want to close gwindow "A" by automatically when I click a button in > gwindow "A" that loads another gwindow "B" . > > for example. > > A<-gwindow(visible=FALSE) > open<-g

Re: [R] set tkscale by tkentry

2012-05-24 Thread j verzani
Greg Snow <538280 gmail.com> writes: > > I believe that what is happening is that when you try to edit the > entry widget any intermediate values get sent to the slider widget > which then checks to see if they are in the allowable range and if it > is not then it sets the value to either the mi

Re: [R] gslider-gwidgets

2012-05-29 Thread j verzani
karthicklakshman gmail.com> writes: > > Hello R lovers, > > For my GUI, I am using gslider of Gwidgets. I need to add the "to=" value > dynamically ie., maximum value from a data frame column(something like > to=max(df[,3])). But I am getting error message like > You update the items to sel

Re: [R] Need suggestions about GUI

2008-01-21 Thread j verzani
ronggui gmail.com> writes: > Thanks. > > gWidgets is quite good. However, I want to get the selection text chunk as > well as the index, but the index arguments does not work for gtext. > > > obj<-gtext(cont=T) > > svalue(obj,drop=T) > [1] "cde" > > svalue(obj,drop=T,index=T) > [1] "cde" >

Re: [R] Need suggestions about GUI

2008-01-23 Thread j verzani
ronggui gmail.com> writes: > > There is a problem with font<- . > > g<-gtext(con=T) > > enter some text, and select a chunk of text. > > font(g) <- c("color"="red") > > Now I would like to change the color back into "black". But font(g) <- > c("color"="black") does not work. > > Thanks >