similar to: Saving with tkgetSaveFile

Displaying 20 results from an estimated 6000 matches similar to: "Saving with tkgetSaveFile"

2003 Sep 18
1
Save object R with tkgetSaveFile
HI, my question is about the function tkgetSavefile not save any file, for example the next script run OK but not save the file who i like to save, how i cant to save and object R with tkgetSaveFile, how i use the function save(objet, file="foo.R") with tkgetSaveFile ?What is the error?. I'm work with R 1.7.1 library(tcltk) x<-1 filetypes <- list("{Texto {.txt}} {Word
2003 Nov 26
5
multiple peaks in data frame
Hello, it wanted to know how I can extract of a dates frame the values peaks according to an interval that I establish. For example if dates are: 1 23 2 4 3 56 4 7 5 99 6 33 extract the date i wanted to divide into intervals of 2 an d to take alone the numbers 23, 56 and 99 of those 3 intervals. Thanks Ruben
2004 Jul 15
5
formula
Hi, i 'dont understand how to take a general formula, view this: x<-1:5 y<-c(0,1,1.7,2,2.1.4) dummy<-data.frame(x=x,y=y) formula<-"y~A*log(x)/log(2)" formu<-as.formula(formula) fm<-lm(formu,data=dummy) Error in eval(expr, envir, enclos) : Object "A" not found but A is the parameter of fitting, why is this?Thanks Ruben
2003 Sep 01
2
Axis color
Hello, my question is if I have two axes in a graphics as I can put him a different color al axis and to the number of the scale. ? Thanks. Ruben
2004 Jul 13
2
help with as.function
HI, sorry but i don't understand how to make a function with as.function() formula<-"2+3*x" formu<-as.symbol(formula) > formu 2+3*x formul<-as.function(alist(x=,formu)) curve(formul,1,5,col="blue") Error in xy.coords(x, y, xlabel, ylabel, log) : x and y lengths differ > typeof(formul) [1] "closure" and not plot the curve function, Why?
2004 Jul 15
2
formula and lm
Hi, don' t understand why the function fomula have this error, i enclose the parameter "a" with the function I() Thank Ruben x<-1:5 y<-c( 2 ,4 , 6 , 8 ,11) formu<-y~I(a*x) form<-formula(formu) dummy<-data.frame(x=x,y=y) fm<-lm(form,data=dummy) Error in unique(c("AsIs", oldClass(x))) : Object "a" not found
2003 Sep 12
1
save object interactively
Hello, it wanted to know as I can keep to save a object of R in interactive form, in which I can put the name of the file in a window of I talk, and not to have to create it, a badly serious example: x<-c(1,2,3,4) > nbre<-"x.Rdata" > f<-file.choose() Error in file.choose() : file choice cancelled > f Error: Object "f" not found > file.create(nbre) [1]
2005 Jan 08
1
coordinates of mouse position
HI, I need known the position of mouse, but i not know how obtain the parameter %X used in tcl. the script in Tcl is: set w .probe catch {destroy $w} toplevel $w proc Captura_Datos { ancho alto } { puts "El ancho es $ancho" puts "El alto es $alto" } bind $w <Configure> "Captura_Datos %X %Y" In R w<-tktoplevel() f<-function(a,b)^` print(a) print(b)
2003 Aug 29
1
Six axis y with axis function?
Hi, I am trying to plot a time serie of six colum of data sets on one plot but with using a different y-axis ranges for each - preferably with one shown on each side of the graph. I'm trying with axis function but not good luck i will for each they plot with our proper scale and range for example time A B C...etc 08:00:01 1000 15 2 08:00:02 2200 17 5 08:00:03 2500 19
2004 Jun 30
1
help with tclVar
Hi, I can' t load a variable tcltk declared with tclVar, why is this?, the exmple above explain me ,Thanks Ruben a<-tclVar(init="") > f<-function(){ + a<<-"pipo" + } > f() > a [1] "pipo" > tclvalue(a) Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] can't
2003 Nov 01
2
c code in R
Hi, my question is How i cant to execute c code within R for example name of program probe.c (in workpath of R) #include<stdio.h> void main(){ int x; scanf("%d\n",&x) printf("%d\n",x) } and in R i make .c("probe.c") i'm obtain no load table simbol, but i compile the program with Borland C 5.0 and obtain the .obj archive (probe.obj and the .exe).I have
2004 May 26
1
time
Hi, i need select data from data frame, for example: x is a data frame with values in jump to 5 seconds 12:10:00 51 //one minute 12:10:05 63 12:10:10 75 12:10:15 88 .. 12:10:59 45 12:11:00 46 //another minute 12:11:05 11 .. Have a command what to select the data minute to minute, for example in the example above i need the maximun values minute to minute 1?? minute-->88 2?? minute--> 46
2003 Aug 15
1
menubutton don´t work
Why the variable archOp does not take the value that be chosen in the menubutton?, therefore always remains as a white one, I intend to charge the direccion of open files in a vector and then to elect with the menubutton with which to work but not functions thanks.Ruben library(tcltk) arch<-tclVar(init=" ") archOp<-tclVar(init=" ") vectPath<-c()
2004 Apr 02
1
convert excell file to text with RODBC package
Hi, i can convert excell to list in R with package RODBC ()but i don't understand 2 mistake 1) Don't read the last row of the table excell 2) Don' t take the hours My excell file call prueba4.xls and have the following rows: where prueba4.xls was make in excell (office xp) and have one spreadsheet call "Hoja1", you see each rows of she: D??a Hora col1 col2 col3 col4 col5
2006 Aug 25
0
tktoplevel & tkgetSaveFile options
Dear list, Previously I posted these question to R-SIG-GUI. Perhaps here is a better place. 1. Is there some option for mantaining the tktoplevel window always on top? 2. Is there some option to eliminate the border icons maximize, minimize and close of a tktoplevel window? 3. Is possible to avoid the warning message (or changing its contents) in tkgetSaveFile when the file to save already
2007 Dec 29
3
tcltk again
Hello, the admonition of Prof. Ripley to search the documentation to solve my problem helped, today I read a lot more on Tcl/Tk than before ;-) But now I'm stuck again. With the help of my script some functions are plotted on the display, then I ask if the user wants to save it as pdf. In windows I use winDialog and it works. But I can't succeed in Linux. In short:
2004 Mar 29
2
how transform excell file to text file in R
Hello, it want to know if there is a library that transform a file in excell (*. xls) to text file(*.txt, *,prn, *.csv). Thanks
2003 Sep 09
1
charge a vector with variables and to use as variable in a checkbutton?
hello, how i cant to charge in form dynamic a checkbutton, try to do it with a vector be charged automaticamente but not works, for example library(tcltk) tt<-tktoplevel() f<-tkframe(tt) tkpack(f) i<-2 if (i==1) {b1<-tkcheckbutton (f,text="b1",variable="b1",relief="raised");tkpack(b1);print(tclvalue ("b1"))}else if (i==2) {b1<-tkcheckbutton
2008 Dec 29
3
Join empty queue property
I want the callers don't join in a queue when the agents are busy. I suposse it is easy but i can't get the solution for this. Can you suggest me something? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081229/3545ab8c/attachment.htm
2005 Jan 26
2
I need Help everyone I just bough my Xten Eyebeam
Hello Everyone I just bough my Xten Eyebeam but i don figure out how to make the video works i only see a black screen where de remote video suposse to appear, Any help regarding this matter will be very preciated Thank You