search for: starty

Displaying 14 results from an estimated 14 matches for "starty".

Did you mean: start
2012 Feb 15
2
function similar to ddply? + calculations based on previous row
...g if it?s possible to refer to a value of the row below from another data vector or data frame or ?. The line I mean in the script below is this one (and is the one that is the course that the script doesn?t work because that n is not known): test.number$numberb[y-Year[1]+1]<-length(which(test.starty==1 & test.f[(n+1)]== 1 )) I want that for a certain row, the according value of test.starty (on the row with the same number (e.g. n) ) = 1 and the according value of the row below row n of test.f ==1. How can I do this without having to loop (which I want to learn to avoid as much as possible...
2009 Jun 26
1
gradient fill of a grid.polygon
...t;#984EA3"))(n), alpha=0.5, stripe=FALSE, angle=0){ vp = viewport(angle = angle) g = rotate.polygon(g, - angle) gx <- grobWidth(g) gy <- grobHeight(g) dx <- unit(convertX(gx, "npc", valueOnly = TRUE)/(n-1), "npc") # width of the stripes startx <- min(g$x) starty <- min(g$y) for(ii in seq(1, n)){ grid.clip(x= startx + (ii-1) * dx , y=starty, width= 1.0*dx, # fudge factor of 1.2 seems needed to overlap well height=gy, just="bottom") if(stripe){ if(ii%%2)# plotting only every other slice grid.draw(editGrob(g,...
2006 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
...define ANNO_DISPLAY_OPTION_TOOL 8 +#define ANNO_DISPLAY_OPTION_NUM 9 typedef struct _AnnoDisplay { int screenPrivateIndex; @@ -68,6 +92,12 @@ cairo_surface_t *surface; cairo_t *cairo; Bool content; + + double startX; + double startY; + + Bool eraseMode; + } AnnoScreen; #define GET_ANNO_DISPLAY(d) \ @@ -85,6 +115,8 @@ #define NUM_OPTIONS(s) (sizeof ((s)->opt) / sizeof (CompOption)) +#define NUM_TOOLS (sizeof (tools) / sizeof (tools[0])) + static void annoCairoClear (CompScreen *s, cairo_t *cr) @@...
2006 Oct 24
4
avoiding a loop
I think I asked a similar question 3 years ago to the Splus list and I think the answer was no or noone answered so noone should spend more than 5 minutes on this because it could definitely be a waste of time. My question is whether the function below can be rewritten without a for loop. apply is fine if it can be done that way but i doubt it. I call it a lot and would prefer to not loop.
2008 Apr 25
1
grid() : start values?
Hi, is not there any way to tell grid() the starting value? With nx,ny I get the right number of grid cells, but not on the exact values I would like them. (I know I can do it with abline(), just asking for an easier way, i.e. grid(nx,nx,start.x,start.y)) An alternative way (which would solve another problem) would be making the axes coincident with the rectangular plot region, that is, if
2008 Nov 13
1
system.windows.Forms.MimeIconEngine
Gettting an error startiing an application on the call to system.windows..forms.MimeIconEngine and need to find the dll in which its loaded. I copied the dll from Microsft.NET which appeared to be the one causing the problem, and am getting a bit further, but the error now appears to be in system.windows.forms.winfilesystem any help much appreciated. rgds david
2011 Jan 03
0
Font '?' cannot be found when running .NET apps
Hi, I've installed wine-1.3.9 on Fedora 13 x64. I've installed the i686 version due to the issues with x64 Wine and .NET. When I try to run a .NET WinForms application, I get the error: Font '?' cannot be found. This occurs even with a simple test application which just puts up a form with two buttons on it. I have installed corefonts and dotnet20, and drive_c/windows/fonts
2007 Mar 19
3
"Horn Loudspeaker Response Analysis Program" mit Wine, geht das doch?
Hallo, an alle Wine-Freaks, das Programm - bis jetzt Freeware-, ist High-End unter den Hornsimus: http://www.users.bigpond.com/dmcbean/Setup.exe , 400 kB Ich habe wine in etlichen Versionen bis zur 0.9.26 probiert, auf Debian und Mepis (ubuntu), auch Crossover von 4.2 bis zum Beta 6.3a. Es geht nicht, alle Dinge wie native dll,s andere Winvers bringen keine Besserung, IE, Dcom--hilft nicht. Alle
2004 Aug 03
5
memory error?
I have just noticed this message in my kernel logs, reporting the possibility of an error with my memory. This would go a long way towards explaining the problems i''ve been having. This particular error is occuring when i''m not running xen so is obviously not something brought on by xen itself. The strange thing is that the NMI error is always followed by the TLAN: eth0: Adaptor
2012 Dec 13
7
HVM bug: system crashes after offline online a vcpu
Hi Konrad I encountered a bug when trying to bring offline a cpu then online it again in HVM. As I''m not very familiar with HVM stuffs I cannot come up with a quick fix. The HVM DomU is configured with 4 vcpus. After booting into command prompt, I do following operations. # echo 0 > /sys/devices/system/cpu/cpu3/online # echo 1 > /sys/devices/system/cpu/cpu3/online With
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...t.unpack("<B", partbuf[4:5])[0] - + # offset == 0 implies this partition is not enabled if offset == 0: continue @@ -153,7 +154,7 @@ class GrubLineEditor(curses.textpad.Text screen.noutrefresh() win = curses.newwin(1, 74, startx, starty + 2) curses.textpad.Textbox.__init__(self, win) - + self.line = list(line) self.pos = len(line) self.cancelled = False @@ -219,7 +220,7 @@ class GrubLineEditor(curses.textpad.Text if self.cancelled: return None return string...
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
Fix for pygrub path on Solaris. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -37,7 +37,7 @@ from xen.util.blkif import blkdev_uname_ from xen.util.blkif import blkdev_uname_to_file from xen.util
2013 Mar 12
14
vpmu=1 and running 'perf top' within a PVHVM guest eventually hangs dom0 and hypervisor has stuck vCPUS. Romley-EP (model=45, stepping=2)
This issue I am encountering seems to only happen on multi-socket machines. It also does not help that the only multi-socket box I have is an Romley-EP (so two socket SandyBridge CPUs). The other SandyBridge boxes I''ve (one socket) are not showing this. Granted they are also a different model (42). The problem is that when I run ''perf top'' within an SMP PVHVM guest,
2003 Dec 01
0
No subject
and that access to the client should be denied. > James > > ----- Original Message ----- > From: "Alexander Lobodzinski" <lobo@mental.com> > To: <samba@lists.samba.org> > Sent: Monday, August 20, 2001 10:17 AM > Subject: Can I have only certain users log in to a Samba DC client? > > > > A machine should be member of a domain controlled by