Displaying 20 results from an estimated 800 matches similar to: "tcltk again"
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello,
I have the TCl/Tk command
"tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R
script. Now I want to perform some operation in relation to the user's
choice, something like
"if (okpressed) xxx else yyy"
What values does this command give and how are they used?
Thank you, Richard
--
Richard M?ller -
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
2008 Nov 08
1
Get Information
I am a new commer in R. I am using the library tcltk, i need few information about it.
so that, i wrote the following programme to save the file, but when i save the file, i do not find the file save, please help me, in order to continue my projet.
this is the programme:
tt <- tktoplevel()
txt <- tktext(tt)
tkwm.title(tt,"Saisi des modalités") #intitule la fenêtre
tkgrid(txt)
2012 Jul 02
3
carpet plots
Hi all,
I wonder why there is so little software for carpet plots (german:
Rasterdiagramm) (Three dimensional plot (x, y, z), the 3rd dimension
(z) symbolized by colourgradients). Besides from one or the other non
free software I only found an OpenOffice macro, a combination of
Gnuplot and Excel (an Excel macro calling gnuplot)
(http://www.johannes-hopf.de/2009/12/carpet-plot-version-1-3/9 and
2002 Nov 07
3
Rcmd? Where?
Hello,
I got R 1.6.0 for windows and I need Rcmd, which was not included. Where can I
get it? (I have to start R and give the name of the file with the R-commands
on the command line, so that R is invoked together with its command-file
"todo.R". Do I really need Rcmd for that? To write "Rterm todo.R" did not
work.)
Richard
--
Richard M?ller - Am Spring 9 - D-58802
2006 Sep 05
2
winDialog UNIX equivalent?
Hi all,
I'm using winDialog and winDialogString in scripts running on a XP-machine. Since we're using some Linux-machines (Suse 10.0 and 10.1 on x86) I'm interested in equivalents of the above functions usable under Linux-OS. Are there any?
Thanks, Richard
--
Richard Müller - Am Spring 9 - D-58802 Balve-Eisborn
www.oeko-sorpe.de
[[alternative HTML version deleted]]
2010 Feb 10
6
prompts and running means
G'day, I am new user to R, and have been thrown in the deep end with a
something my company want me to write.
my code is as follows:
kenttemp=read.csv("mnowak.11.1.csv")
rows=nrow(kenttemp)-5
kent=kenttemp[1:rows,] #have to remove the last 5 lines of the
graph as they interfere with rest of data
max(kent[,16],na.rm=TRUE)->ymax
ymax=ymax+200 #This is to get
2012 Jul 11
1
Using data stored in a file for a heatmap
Hi all,
I just try to get familiar with levelplot() for generating heatmaps. I
have x, y, z-data stored in a file: e.g.:
"file.csv":
0 0 0.1
0 1 0.5
0 2 0.4
1 0 0.3
1 1 0.4
1 2 0.6
...
I can use scan() for generating the matrix for R:
inp <- scan("file.csv", list(0, 0, 0))
How can I feed inp into levelplot()?
Thanks a lot for your help
Richard
--
Richard M?ller . Am
2012 Sep 08
1
Thanks for helping - back to the community?
DeaR R-fellows,
I got a lot of help from you concerning the generation of heat maps,
so I was able to write and work with a script for this purpose at
last. Some visitors of our Ecological Station asked about the
generation of the graphs and so I decided to write down a small
description.
Is it adviseable to publish the link to the article in an R-wiki
(which?) so I can give back a little to the
2012 Aug 20
1
Colour gradients and colour fill between points
Hello,
Can somebody help me on a colour question?
I have a levelplot made with the following syntax:
library(lattice)
inp <- read.csv("hoenne1", header = TRUE)
levelplot(z~x*y, data = inp, region = TRUE, pretty = TRUE, col.regions
= terrain.colours)
The file "hoenne1" contains the data. I'll give a short example:
x,y,z
0,0,1
0,1,1
0,2,1
1,0,2
1,2,2
0,2,2
1,2,3
2,2,2
2002 Nov 10
1
graphics window closes after invoking
Hi,
I hope this is my last stupid question for this project. I run (WinXP) Rcmd*
BATCH ToDo.R and want the produced graph to be seen on the display. But after
a part of a second the graphics window is closed again. I suppose, because
Rcmd does not work interactive, there will be no command like "wait for key
pressed" or similar. Is there a possibility to let the window open as long
2002 Nov 03
1
continuous lines?
Good evening,
I can't manage to plot continous lines (x-y representation of measured data):
The spreadsheet where the data come from has continuous x-data (0,1,2,3,4,
...), but not every x-datum has a corresponding y-datum. At these "gaps" the
graph is not displayed. I want to display the measured data with points,
joined by a line ("type=b"), even if there are gaps. Is
2002 Nov 17
1
position of windows-dialogue
Hello all,
to interrupt a BATCH program I inserted, as adviced in this list, a windows
dialogue box (winDialog("ok")). The graphic display opens on the right part
of the screen, which is OK. The Windows dialoge opens in the center of the
screen and hides a part of the graphics window. Is it possible to determine
the coordinates where the Windows dialogue box opens? I'd like to
2007 Jan 31
1
can't find mailing list commands
Sorry for inconvenience - but since I can't find any hints on this list at
stat.ethz.ch, I'll ask here: How do I unsubscribe from this list?
Thanks for answering - Richard
--
Richard M?ller - Am Spring 9 - D-58802 Balve-Eisborn
www.oeko-sorpe.de
2004 Jul 05
1
Behaviour of R with win98 and XP?
Dear list,
I encounter a strange problem: I hav R (1.6.1) installed on a notebook with
winXP-Prof and a similar installation (same path names etc.) on a desktop
computer with W98.
I use rcmd BATCH filename to display graphs from the data stored in filename.
With R on my notebook everything works fine. I have the same data, the same
filenames, the same paths on th w98-computer. Here I see just a
2008 Jan 02
2
how to ignore or omit somethings while reading the data table
hello respected ppl...
am a engg. student...i was trying to use R in statistical calculations
now the problem is..i imported a huge tsv file onto R...it has a column
which gives cost...and it has "$" with each numerical value in this
column...it is something like this..$.05,$.1,$.075...and so on..
R is reading it as "character vector"...
i tried using all the arguments but
2012 Aug 23
1
Origin of coordinate system
Dear R-community,
In graphical representations of findings concerning bodies of standing
water (lakes e.g.) in x-y-plots you often make use of a somewhat
different definition of coordinates in a cartesian system:
the origin is top-left, the x-axis (depth of the water body) from top
to bottom and the f(x)-axis from left to right, so you can project the
graphical representation of data in your
2013 Feb 05
2
duplicate data
Hello,
I have a long list of x-, y- and z-data and try to generate a heatmap.
Obviously there are several data with identical x- and y-values. I get
the following error message:
Error in interp.old(x, y, z, xo = xo, yo = yo, ncp = 0, extrap = extrap, :
duplicate data points: need to set 'duplicate = ..'
Unfortunately there seems no help screen on "duplicate". I'd prefer
2004 Jul 07
7
Importing an Excel file
Hello, R users,
I am a very beginner of R and tried read.csv to import an excel file after
saving an excel file as csv. But it added alternating rows of fictitious NA
values after row number 16. When I applied read.delim, there were trailing
several commas at the end of each row after row number 16 instead of NA
values. Appreciate your help.
Kyong
[[alternative HTML version deleted]]
2003 Sep 19
1
Saving with tkgetSaveFile
HI, i'm trying to save a data frame with the next script:
x<-c(1,2,3)#suposse here the data frame
a<-tkgetSaveFile()
a<-tkgetSaveFile()
save(x,file=as.character(a))
but i obtain the next warning message:
Warning messages:
1: the condition has length > 1 and only the first element will be used in:
if (file == "") stop("`file' must be non-empty string")
2: