[R] How to open an URL using RGtk2

2007-07-18 Thread d. sarthi maheshwari
Hi I am working on R 2.5.0 on window. I am trying to provide a Hyper-link to the user as a result, I have tried using gtkLinkButton to exercise the facility, however, i am not able to perform the required task, i.e. when I clicked on the LinkButton actually nothing happened. I have gone through t

[R] Running R function as a Batch process

2007-05-16 Thread d. sarthi maheshwari
Hi, I am struggling with using R CMD BATCH command. Kindly suggest solution to the following problem. I have a function named CinC with accept two input parameters. This can be shown as: CinC <- function(start, end) where start and end both are character strings. Please suggest me how can I ru

[R] Accessing R applications from Web

2007-04-19 Thread d. sarthi maheshwari
Hi I am trying to provide web interface to my R application. My requirements are simple and can be written down as follows : 1) User must provide all the input parameters on web interface. 2) Based on the input values, R will do some computations. 3) Project the numerical results as well as plots

[R] Creating new directory/folder from R script on run time.

2007-03-23 Thread d. sarthi maheshwari
Hi, Please correct me if this request does not belong to this discussion forum. Kindly suggest me if there is a way to create a new folder from R on runtime? for e.g. >From one of my R script I want to store the PDF result file in a perticular folder let say c:\tt for that initially i am creati

[R] R difftime function: How can we fix the difftime unit?

2007-03-21 Thread d. sarthi maheshwari
Hi, I am trying to take difference of two time objects. I want to fix the result's unit to minutes. How can I do that? Here is an example: > difftime(x, y) Time difference of 2.030720 hours > difftime(x, z) Time difference of 30.34672 mins where x = '2007-03-05 08:32:58' y = '2007-03-

[R] gtk button: how to create signal handler?

2007-03-13 Thread d. sarthi maheshwari
Hi Kindly correct me if I am posting a wrong query in the forum. I am trying to handle my "button:clicked" event. But not able to proceed further. Please help. Following is my code: library(RGtk2) win <- gtkWindowNew(type = NULL, show = TRUE) butt <- gtkButtonNewWithLabel("Submit", show = TRUE

[R] Any support for RRD graphs/tools in R?

2007-03-12 Thread d. sarthi maheshwari
Hi I am working in windows and using R-2.4.0. Is there any method which can help me to generate RRD graphs from R? -- Thanks & Regards Sarthi M. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.c

[R] plot(): I want to display dates on X-axis.

2007-03-04 Thread d. sarthi maheshwari
Hi, I want to display dates on my x-axis of the plot. I was trying to use plot() command for the same and passing the values in following manner: The variable "dat" is a data frame. The first column has numeric values and second column has date. e.g. dat [,1]

[R] R (Input from Keyboard): How do I remove error?

2007-03-01 Thread d. sarthi maheshwari
Hi, I am trying to read some value from keyboard in one of my R program. I want to do manipulation on data based on this value. But I am facing a problem which is described below with the help of an example: My code is similar to: : : cat("\n","Enter value:: ","\n") y<-scan(n=1) a <- b*y cat("\n

[R] Splom plot:how to plot with different symbols?

2007-02-20 Thread d. sarthi maheshwari
Hi, Kindly let me know if I posted a wrong question in the forum. I want to draw a splom plot with different symbols in plot. My command is as follows: splom(~ log10(splomData[2:3]), groups = programs, data = splomData, panel = panel.superpose, key = list(title = paste(splomLoop,"Programs of Hog

[R] Is this a correct forum to discuss basic R problem?

2007-02-14 Thread d. sarthi maheshwari
Hi Sorry if this is a wrong post in the forum. Please suggest if this is a correct forum to discuss R related basic problem. I wanted to perform the following task by using R: e.g. input data.frame x y a10 b20 a10 a