Displaying 20 results from an estimated 1000 matches similar to: "grDevices::bringToTop is documented but not available: A bug?"
2024 Nov 21
1
grDevices::bringToTop is documented but not available: A bug?
It's a Windows-only function.  It looks like revision r75103 moved it 
out of the Windows section of the help pages six years ago.  Some other 
help pages were similarly moved, e.g.
   - ?windows and ?windowsFonts, document the functions as being 
Windows-only.
   - ?msgWindow and ?windows.options have the same issue as ?bringToTop.
Maybe someone remembers the intention of that move...
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()
determines that it is running in an interactive
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'
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
2025 Jan 21
1
Creating a long list triggers billions of messages
I tried doing this on a cloud instance of R 4.4.2 but the terminal
exited and the cloud ejected my session shortly after setting the
breakpoint and running the program
Function "Rf_errorcall" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 2 (Rf_errorcall) pending.
(gdb) run
Starting program: /opt/R/4.4.2/lib/R/bin/exec/R -q -s -e
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
2025 Feb 12
1
Unexpected result after auto-attaching of the Matrix package
Why aren't you loading the package before you load the object that assumes the relevant methods for that object are available?
On February 11, 2025 4:51:48 AM PST, H B via R-help <r-help at r-project.org> wrote:
>Dear all,
>
>I just stumbled on this behavior - not sure if this is expected:
>
>R version 4.4.2 (2024-10-31) -- "Pile of Leaves"
>Copyright (C)
2007 Jun 05
2
biplot package
Dears,
I've been learning biplot (Gabriel, 1971) and I found the function 'biplot', inside of the package 'stats',
useful but, a bit limited.
So, I'm thinking to start a colaborative package to enhance this methods to other multivariate methods. In this
way, I would like to start it, making public a new function (biplot.pca, still in development, but running)
that make
2025 Feb 11
2
Unexpected result after auto-attaching of the Matrix package
Dear all,
I just stumbled on this behavior - not sure if this is expected:
R version 4.4.2 (2024-10-31) -- "Pile of Leaves"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu
 > library(Matrix)
 > sparseMatrix(i=1:10, j=1:10, x=rnorm(10)) |>
saveRDS("~/Downloads/sparsemat_test.rds")
 > q()
Save workspace image? [y/n/c]: n
2007 Feb 15
1
Graphical device questions!
Dear all,
I have posted these questions in r-help list but 
since I am getting no reply, I concluded that I 
must asked my question in the wrong list so here 
I am!
Here is my questions:
1- Under a WINDOWS installation of R-2.4.1,  can 
we change the naming of a new ploting device open 
by the command "windows()"?. Instead of the 
default name e.g.: "Device 2" I would like
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 command). 
It would be great
2025 Jan 21
1
Creating a long list triggers billions of messages
? Tue, 21 Jan 2025 16:51:34 +1100
Hugh Parsonage <hugh.parsonage at gmail.com> ?????:
> x <- vector("list", 2^31)
> 
> which triggers (presumably) billions of error messages like
> Error: long vectors are not supported yet ../include/Rinlinedfuns.h
I couldn't reproduce this with some released versions of R or a recent
R-devel. Would you mind sharing your
2011 Oct 31
2
assignment operator <- does not work in a function...
Dear Users,
I have a little problem with assignment operator. It's working from command prompt but does not work same as in the command prompt in the function. Am I missing or forgetting something? The function is (tried on both 2.13.1 and 2.13.2) as below using arules and arulseViz packages:
>kuralfonk
function()
{
        require(arules)
        require(arulesViz)
       
2008 Jan 18
1
Question about making active a previously opened graphic device
Hi,
 
I have opened 2 different graphic devices on screen with windows(3) and Windows(4) (I already have had an other graphic on screen opened in device 2).
 
Now device 3 is inactive and device 4 is active. How i can make device 3 active to plot in 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 -
2002 Oct 02
2
output from script
Hi,
perhaps the answer to my question is obvious and I didn?t find it because I?m new to R ...
The problem is as follows:
I read some data from file, do some commands which are well processed and finally make some graphics. OK
Then I put these commands together in a *.R file which I can process ...
Among these i. e. is
sum_input = summary(mydatatable)
sum_input
.....
plot(mydatatable)
What
2004 Apr 14
1
Passing a pointer to .C() in Win32
Hi,
Is there any way to pass an integer from R to C and have 
it cast as a pointer?  
# Win32 Example:
library(tcltk)
tt <- tktoplevel()
hWndString <- tclvalue(tkwm.frame(tt))
# I'll avoid posting code to this function:
source("http://bioinf.wehi.edu.au/folders/james/R/hexStringToDecimalInteger.R")
hWnd <- hexStringToDecimalInteger(hWndString)
system32 <-
2007 Jun 11
0
biplot package II
Dear all,
I've been learning biplot (Gabriel, 1971) and some days ago I sent for
this list a procedural function with invitation for a collaborative package.
Jari Oksanen made some suggestions and I agree with all.
So, I reworked the function under the object-oriented programming
(OOP/S3). I think it is now a good frame for more resources.
Below it is the function and a small script to
2025 Jan 21
1
[tcltk] binding two functions to one event
This is in the obscure corners of the tcltk interface, as I am sure you already realized...
I'm not even sure whether the "+" in bind .... +script is syntactically an operator or part of the command.
However, it is usually not right to define named functions on the Tcl side and mix them with the ones R/Tcl interface generate.
So I am thinking that if
2025 Jan 20
1
[tcltk] binding two functions to one event
Here is some tcl/tk code I am trying to emulate in R.
Paste the following into wish
### begin tcl code
toplevel .wtop
proc evresp1 { data } { puts "evresp1 $data" }
proc evresp2 { data } { puts "evresp2 $data" }
bind all <<EVENT>> "evresp1 %d"
bind all <<EVENT>> "+evresp2 %d"
### end tcl code
Now paste
event generate .wtop