[Rd] Wish: Option to configure the default par() (PR#9545)

2007-03-06 Thread thomas . friedrichsmeier
Full_Name: Thomas Friedrichsmeier Version: 2.4.1 OS: linux (Debian unstable) Submission from: (NULL) (84.60.113.185) Summary: It would be nice to have a centralized option for setting default par() options for all devices and all plots. This would ease producing graphs in a customized but consist

Re: [Rd] Wish: Option to configure the default par() (PR#9545)

2007-03-06 Thread Greg Snow
Another approach may be to use hooks (see ?setHook). The plot.new function already has a hook, so you could do your option #1 automatically by setting that hook. Better would be if all the graphics device functions had hooks (or a common hook), then you could set that hook to set your graphics pa

Re: [Rd] Wish: Option to configure the default par() (PR#9545)

2007-03-06 Thread Greg . Snow
Another approach may be to use hooks (see ?setHook). The plot.new function already has a hook, so you could do your option #1 automatically by setting that hook. Better would be if all the graphics device functions had hooks (or a common hook), then you could set that hook to set your graphics pa

[Rd] parse error with if else (PR#9551)

2007-03-06 Thread Stephanie . Mahevas
Full_Name: Stephanie MAHEVAS Version: 2.4.1 OS: Windows NT Submission from: (NULL) (134.246.55.50) the two following instructions provide a synthax error : if ( 5 > 4 ) cat("ok1") else cat("ok2") and if ( 5 > 4 ){ cat("ok1")} else cat("ok2") whereas these ones don't if ( 5 > 4 ) cat("ok1")

Re: [Rd] parse error with if else (PR#9551)

2007-03-06 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: > Full_Name: Stephanie MAHEVAS > Version: 2.4.1 > OS: Windows NT > Submission from: (NULL) (134.246.55.50) > > > > the two following instructions provide a synthax error : > > if ( 5 > 4 ) cat("ok1") > else cat("ok2") This is not a bug! Since you are allowed to omi

Re: [Rd] parse error with if else (PR#9551)

2007-03-06 Thread murdoch
On 3/6/2007 12:15 PM, [EMAIL PROTECTED] wrote: > Full_Name: Stephanie MAHEVAS > Version: 2.4.1 > OS: Windows NT > Submission from: (NULL) (134.246.55.50) > > > > the two following instructions provide a synthax error : > > if ( 5 > 4 ) cat("ok1") > else cat("ok2") > > and > > if ( 5 > 4 ){ c

[Rd] bug: sticky symbol refs? (PR#9555)

2007-03-06 Thread peter-m . schumacher
Hello. What happens in the following is that I create two simple functions, f and g, on the workspace. Then I replace g. When I then call f, it uses the old version of g. Now clearly, the circumstances for this to happen must be quite special and rare. But I'd say they're not pathological. It s

[Rd] SVG and tooltips, hyperlinks

2007-03-06 Thread Wolfgang Huber
Dear all, is there a good way to create SVG plots with R whose elements have titles (tooltips) or act as hyperlinks? I am using the RSvgDevice package, which works great - but it doesn't seem to support the notion that plot objects have titles or are act as hyperlinks, so I am helping myself b

Re: [Rd] SVG and tooltips, hyperlinks

2007-03-06 Thread Paul Murrell
Hi Wolfgang Huber wrote: > Dear all, > > is there a good way to create SVG plots with R whose elements have > titles (tooltips) or act as hyperlinks? > > I am using the RSvgDevice package, which works great - but it doesn't > seem to support the notion that plot objects have titles or are act

[Rd] Reordering the search path?

2007-03-06 Thread Henrik Bengtsson
Hi, without arguing for doing it or not, is the following a correct way to reorder the search path: moveInSearchPath <- function(from, to) { # Excluding validation of 'from' and 'to' here etc. # Get enviroment to be moved env <- pos.to.env(from); # Detach old position without side effect

Re: [Rd] bug: sticky symbol refs? (PR#9555)

2007-03-06 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > Hello. What happens in the following is that I create two simple functions, f > and g, on the workspace. Then I > replace g. When I then call f, it uses the old version of g. Now clearly, the > circumstances for this to happen > must be quite special and rare. But I'd s