this is surely not an issue with Bioconductor.  however, you can do
something like

z = getOptions("device")
if (is.function(z)) z() # starts x11 on my mac running from commandline

2009/5/18 "M. Gonzalo Claros Díaz" <claros@uma.es>

>
> El 18/05/2009, a las 16:11, Vincent Carey escribió:
>
> note -- 'or the function object itself'
>
> what exactly is the problem?
>
>
> The problem is that I always (at least until now) checked which is the
> graphical interface with
> getOption("device")
>
> and I always had the "quartz" or "windows" answer. Then, I used it with
> get() to open the graphical window, like
>
> get(getOption("device"))
>
> because I want to open graphical windows in any platform [and not with
> x11() function]
>
> In "Devices{grDevices}" it is said: "Which device is given by options
> ("device") which is initially set as the most appropriate for each
> platform"
>
>  Hence, if in R 2.9.0 options("device") it returns the function, that means
> that it is not set to any device. So, which is the best method to open the
> graphical capability of your machine? None of these works:
>
> get(getOption("bitmapType"))
>
> nor
>
> get("quartz")
>
>  But
>
> quartz() or x11()
>
> open the graphical window without any problem.
>
> If I try
>
> dev.list()
>
> it returns NULL. But
>
> capabilities("aqua")
>
> renders TRUE.
>
>
> So... how can I open a graphical window in any computer with the same
> script without using x11() ?
>
> Gonzalo
> --
> «Donde me he equivocado, soy el único responsable; donde no,
> el mérito es de los que me han ayudado»
> ================================================================
> M. Gonzalo CLAROS                                  claros@uma.es
> Dpt. Biología Molecular y Bioquímica
> Facultad de Ciencias                      Fax: (+34) 95 213 2041
> Universidad de Málaga                Tel: (+34) 95 213 7284/7653
> E-29071 Málaga (Spain)               http://www.bmbq.uma.es/fmp/
>
>
>
>


-- 
Vincent Carey, PhD
Biostatistics, Channing Lab
617 525 2265

	[[alternative HTML version deleted]]

