search for: bringtotop

Displaying 20 results from an estimated 27 matches for "bringtotop".

2008 Aug 19
1
Enhancement request for bringToTop()
Currently (R-2.7.1 on Windows) bringToTop(stay=TRUE) when run before a device is opened, gives the error message > bringToTop(stay=TRUE) Error in bringToTop(stay = TRUE) : can only bring windows devices to the front > In the same circumstances, a call to par() opens a device. My request is to modify bringToTop(). If bringToTop(...
2003 Jul 18
1
bringToTop() when some windows been closed (PR#3512)
Full_Name: Henrik Bengtsson Version: R v1.7.1 OS: WinXP Pro Submission from: (NULL) (130.235.2.229) bringToTop() does not work if some windows has been closed. Example: graphics.off() x11() # opens Figure 2 x11() # opens Figure 3 dev.set(2) dev.off() # closes Figure 2 bringToTop(3) # Gives an error # Error in bringToTop(as.integer(which)) : invalid value of `which' x11() #...
2006 Aug 03
2
bringToTop without focus?
Hi all who know R on Windows, Quick question: Is there a way to do "bringToTop(stay=TRUE)" without giving "focus"? I would like to pop a graph window but I would like to preserve focus in the window which I was in before. Thanks for any lead, Chris
2001 Jan 19
2
bringToTop() fails (PR#818)
windows() plot(1,1) windows() plot(1:2,1:2) dev.list() # we have devices 2 and 3 # device 3 is active and in front bringToTop(2) # does not work bringToTop(3) # does not work also Regards Jens Oehlschlaegel --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = x86 os = Win32 system = x86, Win32 status = major = 1 minor = 2.1 year = 2001 month = 01 day = 15 language = R W...
2001 Oct 08
2
Rcmd
Hola! I have problems running Rcmd check (windows 98, R1.3.0) It ckoks on an example running a function which calla bringToTop(). This makes an error because Rcmd check runs the examples with the postscript device, and bringToTop does not make sense with that device. Howevere, my function is for interactive use, and needs bringToTop. How can this be used in examples and still have the possibility to use the automatic err...
2007 Jun 05
2
biplot package
...plot.pca(x, n.values=3, rgl.use=F, spheres=F, center=T, scale=T, weight='va') biplot.pca(x, n.values=3, rgl.use=F, center=T, scale=T, weight='va', var.red=.5) #??????????????? # 3D with rgl package #??????????????? x = iris[1:4] #x = stackloss x = LifeCycleSavings; x clear3d() rgl.bringtotop(stay=T) biplot.pca(x, n.values=3, spheres=F) rgl.bringtotop(stay=T) biplot.pca(x, n.values=3, spheres=F, simple.axes=F, box=T, aspect3d=c(1, 1, 2)) rgl.bringtotop(stay=T) biplot.pca(x, n.values=3, spheres=F, col.obj=3, col.var=4, var.red=.5) rgl.bringtotop(stay=T) biplot.pca(x, n.values=3, center=...
2007 Feb 15
1
Graphical device questions!
...ing of a new ploting device open by the command "windows()"?. Instead of the default name e.g.: "Device 2" I would like to use something like "Density plot" or whatever! 2- Under a MAC OS X installation of R-2.4.1, using quartz devices, is there a way to perform bringToTop operation like the one available under WINDOWS using bringToTop function. Thank you very much for your time. Cheers S?bastien -- Dans le Ssu Ma Fa on lit: "Celui qui place la vie au dessus de toute chose sera paralys? par l'irr?solution"
2007 Jun 11
0
biplot package II
...weight='va') biplot.s(pc, lambda.end=3, weight='va', var.factor=.5) #=============================================================================== # 3d with rgl package #=============================================================================== x = gabriel.1971 clear3d() rgl.bringtotop(stay=T) biplot.s(x, lambda.end=3, rgl.use=T) rgl.bringtotop(stay=T) biplot.s(x, lambda.end=3, rgl.use=T, box=T, aspect3d=c(1.5, 1.5, 1)) rgl.bringtotop(stay=T) biplot.s(x, lambda.end=3, rgl.use=T, col.obj=3, col.var=4, var.factor=.5) rgl.bringtotop(stay=T) biplot.s(x, lambda.end=3, rgl.use=T, spher...
2010 Nov 11
3
User input after opening graphing device
If I run the following: > windows() > > bringToTop(-1) > > interactive() [1] TRUE > > run <- readline(prompt = "Continue (Yes = 1, No = 2):") Continue (Yes = 1, No = 2): > dummy <- 1 > run [1] "" it does not allow user input though the session is interactive (it jumps right over the readline comm...
2011 Oct 31
2
assignment operator <- does not work in a function...
...tion() { require(arules) require(arulesViz) veri<-read.transactions("c:/RVerileri/BitirmeVeri.csv",sep=";",col=1) #This statement does not add "veri" object to working area #itemFrequencyPlot(veri,type="absolute") #bringToTop(-1) summary(veri) #But this statement gives the right answer itemFrequency(veri,type="absolute") #And this statement does nothing, even the graph window does not open. } Thanks for your tips and corrections, Levent. [[alternative HTML version deleted]]
2008 Jan 18
1
Question about making active a previously opened graphic device
...3 and after make device 4 active to have a different plot in it?? For what i am doing it is important to first open the graphic devices - because on each i apply a certain layout ..... after which i would like to "jump" between devices when plotting graphics. I looked at help and "bringToTop(which = 3)" just change the focus of the windows but does not make that device active, so everything is still plotted in device 4. Thanks for any help, Monica _________________________________________________________________ [[elided trailing spam]] [[alternative HTML version deleted]]
2010 Mar 11
1
console window always on top
In R on Windows (ver 7) I have somehow set the preferences for the R console window to be always on top. I'm sure at the time I did this it seemed like a good idea, but in practice it is not. Unfortunately, I cannot remember where the setting is changed, and thus it is stuck this way. Does anyone know how to modify this setting? Thanks, -Robert Robert M. Flight, Ph.D. Bioinformatics and
2002 Oct 02
2
output from script
...ens: If in the script the command above comes before a plot command the plot is shown in a graphics window but not the output of the command in the console window. I therefore thought that I should define an active window and changes the order ... sum_input = summary(mydatatable) plot(mydatatable) bringToTop(-1) sum_input I see the plot, but not the output of sum_input Of course, if I input the command from the keyboard, I get an output. What happens? Many thanks in advance for any help. Wolfgang ------------------------------------------------------------------- Dr. Wolfgang Grond Kompetenzz...
2004 Apr 14
1
Passing a pointer to .C() in Win32
...e like pointers but they are read-only. You can't do this (below), right? mode(hWnd) <- "environment" WHY WOULD I WANT TO DO ANYTHING LIKE THIS ABOVE? I know that I can use tkfocus for Tk windows, but I have other applications in mind. In Win32, when I run RGui with MDI, the bringToTop in tcltk's .onLoad brings the console to the top, but doesn't focus it, i.e. after library(tcltk), I can't type into the console until I click on it. Now if I had RConsole->handle from the GraphApp code for RGui, maybe I could try something like SetForegroundWindow... For more i...
2008 Apr 07
3
rgl_0.70.553.tar.gz install
Hi, I am an R beginner and wish to create some 3d plots. I have managed to install the rgl library and save 3d plots, but only as an R file. I wish to use rgl.snapshot so I can create a ".png" file and the plot can be used in LaTex. The function rgl.snapshot does not work (i get an error "failed" message). Having looked at previous posts, I believe that the problem can sorted
2004 Jan 15
5
Lattices: Cloud: Background
Hi, There's probably some simple way of doing this, but I'm just not seeing it - How do I get the background to be white instead of grey when I have a cloud plot (using the lattices package)? par(bg="white") isn't working. I'm assuming par commands won't work on lattice plots. What should I use instead? Thanks, Adrienne [[alternative HTML version deleted]]
2001 Oct 23
0
problems with postscript device
...<- range(c(hmean$breaks, hmeds$breaks)) ymax <- max(c(hmean$density, hmeds$density)) screen(1) plot(hmean, freq = FALSE, col = "red", xlim = xlims, ylim = c(0, ymax), xlab = paste("Sampling dist. of mean of ", xname), main = "") bringToTop() if (norm) { n <- length(x) mu <- mean(x) sd <- sqrt(var(x)/n) ps <- seq(xlims[1], xlims[2], len = 100) lines(ps, dnorm(ps, mu, sd), col = "darkgreen") } lines(CImean, rep(ymax/2, 3)) points(CImean[2], ymax/2, cex = 2, c...
2002 Aug 22
1
window "placement"
Using Thomas Baier's DCOM server I can do the following (in Windows 2000): I create a slider in Excel, and the sliders On_Change event triggers a call to R. This call redraws an R graph, and so I have animated R graphics controlled by Excel's slider. The problem is that Excel needs focus so i can grab the slider, and therefore it partially covers R's graph window. Is there a way to
2008 Jan 18
0
FW: Question about making active a previously opened graphic device - SOLVED
...ce 3 and after make device 4 active to have a different plot in it?? For what i am doing it is important to first open the graphic devices - because on each i apply a certain layout ..... after which i would like to "jump" between devices when plotting graphics. I looked at help and "bringToTop(which = 3)" just change the focus of the windows but does not make that device active, so everything is still plotted in device 4. Thanks for any help, Monica Shed those extra pounds with MSN and The Biggest Loser!! Learn more. _______________________________________________________________...
2011 Nov 16
1
activate console
Hello, After I plot something how do I reactivate the console (and not the plot window) so I don't have to click on the console each time to go to the next command? Example that does not work: fun = function(x){ plot(x); dev.set(dev.prev())} fun(1:4) ...and another that does not work: fun = function(x){ plot(x); dev.set(NULL)} fun(1:4) Again, by 'not work' I mean I can't seem