Displaying 6 results from an estimated 6 matches for "oldpin".
Did you mean:
oldin
2001 Nov 08
0
eqscplot() in library MASS: fails when given only one point (PR#1162)
...ing browser() just before the last line in eqscplot() (in which
plot() gets called), I found the following:
> eqscplot(x=1, y=1)
Called from: eqscplot(x = 1, y = 1)
Browse[1]> xlim
[1] NaN NaN
Browse[1]> ylim
[1] NaN NaN
This results from the lines 35 and 36:
xuin <- oxuin <- oldpin[1]/diff(xlim)
yuin <- oyuin <- oldpin[2]/diff(ylim)
which will give Inf values, since diff(xlim) and diff(ylim) will be zero at
that point (xlim and ylim containing c(1, 1) in this case).
I can't propose a patch, though, since I haven't the time to really work out
how the calcul...
2001 Nov 09
0
eqscplot() in library MASS: fails when given only one point (PR#1164)
...ch
> plot() gets called), I found the following:
>
> > eqscplot(x=1, y=1)
> Called from: eqscplot(x = 1, y = 1)
> Browse[1]> xlim
> [1] NaN NaN
> Browse[1]> ylim
> [1] NaN NaN
>
>
> This results from the lines 35 and 36:
>
> xuin <- oxuin <- oldpin[1]/diff(xlim)
> yuin <- oyuin <- oldpin[2]/diff(ylim)
>
> which will give Inf values, since diff(xlim) and diff(ylim) will be zero at
> that point (xlim and ylim containing c(1, 1) in this case).
>
> I can't propose a patch, though, since I haven't the time to re...
2001 Jan 15
1
Re: AW: par(par()) corrupts devices (PR#807)
...device: subsequent par(pty="s") are ignored.
No longer in 1.2.1.
> I am shure I am not the only one who expected the on.exit() stuff within
> the following function to leave the graphical parameters UNCHANGED, but it
> doesn't.
>
> somefunc <- function(){
> oldpin <- par(pin=par("pin"))
> on.exit(par(oldpin))
> plot(1,1)
> }
>
> windows(5,3)
>
> par(pty="s")
> plot(1,1)
> # square
> par(pty="m")
> plot(1,1)
>
> # which settings do we have before
> par1 <- par()
>
> some...
2001 Jan 15
1
Memory problem 2 (PR#815)
Dear R-developer,
Just some more details on the problem I reported several minutes ago.
On an NT machine (4.0 SP6) I got the following for the same task:
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 2.0
year 2000
month
2007 Apr 18
2
refactoring io_apic.c
...o_apic_split/arch/i386/kernel/io_apic.c 2005-08-08 16:11:35.786286120 -0700
@@ -107,143 +107,6 @@ static void add_pin_to_irq(unsigned int
entry->pin = pin;
}
-/*
- * Reroute an IRQ to a different pin.
- */
-static void __init replace_pin_at_irq(unsigned int irq,
- int oldapic, int oldpin,
- int newapic, int newpin)
-{
- struct irq_pin_list *entry = irq_2_pin + irq;
-
- while (1) {
- if (entry->apic == oldapic && entry->pin == oldpin) {
- entry->apic = newapic;
- entry->pin = newpin;
- }
- if (!entry->next)
- break;
- entry = irq_2_pin + ent...
2007 Apr 18
2
refactoring io_apic.c
...o_apic_split/arch/i386/kernel/io_apic.c 2005-08-08 16:11:35.786286120 -0700
@@ -107,143 +107,6 @@ static void add_pin_to_irq(unsigned int
entry->pin = pin;
}
-/*
- * Reroute an IRQ to a different pin.
- */
-static void __init replace_pin_at_irq(unsigned int irq,
- int oldapic, int oldpin,
- int newapic, int newpin)
-{
- struct irq_pin_list *entry = irq_2_pin + irq;
-
- while (1) {
- if (entry->apic == oldapic && entry->pin == oldpin) {
- entry->apic = newapic;
- entry->pin = newpin;
- }
- if (!entry->next)
- break;
- entry = irq_2_pin + ent...