similar to: Macro-like for-loops

Displaying 20 results from an estimated 10000 matches similar to: "Macro-like for-loops"

2014 Sep 03
0
Re: Does virsh actually work?
Try creating a blank file on the target system at /mnt/store01/virt/e7f75b9b-9ed4-4f7e-aa86-e481ab911d6f.qcow2 on 'dewey'. Migrations really don't go well when the target disk doesn't exist. I'm not certain why this is, I think the migration feature was mainly built with shared storage in mind. On 9/3/2014 3:05 PM, Gary Hook wrote: > I have been beating my head against
2014 Sep 03
0
Fwd: Does virsh actually work?
On Wed, Sep 3, 2014 at 2:12 PM, Brian Rak <brak@gameservers.com> wrote: > Try creating a blank file on the target system at > /mnt/store01/virt/e7f75b9b-9ed4-4f7e-aa86-e481ab911d6f.qcow2 on 'dewey'. > Yes, tried that before posting. At least, with a simple "touch" command. > Migrations really don't go well when the target disk doesn't exist.
2014 Sep 03
7
Does virsh actually work?
I have been beating my head against a wall attempting to get virsh to migrate a simple VM from one host to another. I have two systems running Ubuntu 14.04 with libvirt 1.2.2. Yes, they are bridged. Non-shared storage. Modest guest VM that only requires 100G of disk space; there is far more available. In trying to accomplish even the simplest migration (per every page I can find from both the
2014 Sep 03
0
Fwd: Does virsh actually work?
On Wed, Sep 3, 2014 at 2:12 PM, Eric Blake <eblake@redhat.com> wrote: > On 09/03/2014 01:05 PM, Gary Hook wrote: > > > > > root@huey:/tmp# virsh migrate --live --p2p > > This command does not default to migrating storage,... > Oh, you mean like this? root@huey:/tmp# virsh migrate --live --p2p --copy-storage-all e7f75b9b-9ed4-4f7e-aa86-e481ab911d6f
2006 Jun 15
3
DO NOT REPLY [Bug 3839] New: The '/' in the Softlink is missing on the remote Rsyncd server !
https://bugzilla.samba.org/show_bug.cgi?id=3839 Summary: The '/' in the Softlink is missing on the remote Rsyncd server ! Product: rsync Version: 2.5.7 Platform: x86 OS/Version: Windows 98 Status: NEW Severity: normal Priority: P3 Component: core AssignedTo:
2007 Nov 15
1
program I used to test xattrs
Hello, This is the little basic program I used to test xattrs. First thing I did was something like this cd /mnt/btrfs-test for i in $(seq 0 100000); do touch file_$i; done and then run time ./xattr-test /mnt/btrfs 0 time ./xattr-test /mnt/btrfs 1 time ./xattr-test /mnt/btrfs 2 the 0 test creates 100 xattrs for every file in the directory. the 1 test just does a listxattr for every file in
2005 Oct 07
0
R/S-Plus equivalent to Genstat "predict"
As an alternative to the effects package, try predict() with type="terms" JM On 7 Oct 2005, at 8:00 PM, Peter Dunn wrote: > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Peter Dunn > Sent: Wednesday, October 05, 2005 9:06 PM > To: R-help mailing list > Subject: [R] R/S-Plus equivalent to Genstat
2009 Apr 08
1
Genstat into R - Randomisation test
Hello everybody, I have a question. I would like to get a correlation between constitutive and induced plant defence which I messured on 30 plant species. So I have table with Species, Induced defence (ID), and constitutive defence (CD). Since Induced and constitutive defence are not independant (so called spurious correlation) I should do a randomisation test. I have a syntax of my
2009 Dec 07
0
Bunch of bugs in LibTheora, FFMPEG2THEORA, PNG2THEORA
1. "dump_video.c" got reverted back by 5 years into 2004: https://trac.xiph.org/browser/trunk/theora/examples/dump_video.c https://trac.xiph.org/log/trunk/theora/examples/dump_video.c 2. "png2theora.c" (subminor) https://trac.xiph.org/browser/trunk/theora/examples/png2theora.c 207 /* Must hold: yuv_w >= w */ 208 yuv_w = (w + 15) & ~15; 209 210 /* Must hold:
2008 Dec 16
2
Problem assigning "NA" as a level name in a list
I want to generate a list (called "dataList" below) where each of its levels is named. These names are assigned to nameList, which contains all possible permutations of size two taking letters from a larger alphabet, e.g., "aa",...,"Fd",..,"Z1",... One of these permutations is the character string "NA". It seems that when I try to name one
2004 Dec 06
1
3.0.9 and macro %f
Hi, samba 3.0.9 cannot expand %f anymore: Sending a netbios message to the samba server himself test2 # echo test | /usr/bin/smbclient -U 'eisfair Samba Server on TEST2' -M TEST2 -I 192.168.0.6 Connected. Type your message, ending it with a Control-D sent 6 bytes From smb.conf: message command = /bin/mail -s 'message from %f' root < %s; rm %s And this is the mail (see
2005 Apr 16
2
String in data frame
hello, how can take the string in the data frame. right now i have a table that create as a data frame and stored in the file called "data.xls" and now i want to read data frame as a table in my another r program, i used the following command: the first column of the data frame is just one number called "num", but the second one a list of string, called "name". d
2017 Oct 05
0
Issue calling MICE package
Sorry, I was not clear enough. The reason I want to use mice::mice() rather than library(mice); mice() is that I want to call it from my own package. But the reprex works from the command line as well, straight after launching R: mice::mice(airquality) #> Error in check.method(setup, data): The following functions were not found: mice.impute.pmm, mice.impute.pmm The mice.impute functions
2011 Apr 21
1
problem subsetting of a reference class
I am trying to define subset operator for a reference class and hitting some problem i am unable to diagnose.To give an example, here is a toy class generator that is a wrapper around a list tmpGEN<-setRefClass("TMP", fields=list( namelist="list" )) tmpGEN$methods('add'=function(obj, name){ namelist[[name]]<<-obj })
2001 Nov 29
0
a patch to tapply (PR#1186)
Though tapply(x, factor, fun, simplify =TRUE) should be equivalent to sapply(split(x, factor), fun, simplify=TRUE), note simplify=TRUE, it is not so if fun() returns a vector rather than a scalar, e.g. > tapply(1:6, c(0,0,0,1,1,1), function(x) c(min=min(x), max=max(x)), simplify=TRUE) $"0" min max 1 3 $"1" min max 4 6 > sapply(split(1:6, c(0,0,0,1,1,1)),
2005 Dec 28
2
Importing Genstat files into R
Does anyone know if there is a package or other method of reading Genstat files directly into R. Genstat isn't listed in the foreign package. Many thanks, Graham [[alternative HTML version deleted]]
2007 Jul 31
1
[Bridge] brctl uses incorrect sysfs path
Hi, I noticed that brctl (or more accurately, libbridge) is using the wrong path when doing various lookups in sysfs: e.g. /sys/class/net/brXXX/stp_state when it should use /sys/class/net/brXXX/bridge/stp_state. This doesn't cause any problems on most systems as it falls back to the ioctl when the sysfs attempt fails; however the ioctl method is apparently deprecated. I believe the
2005 Oct 06
2
R/S-Plus equivalent to Genstat "predict": predictions over "averages" of covariates
Hi all I'm doing some things with a colleague comparing different sorts of models. My colleague has fitted a number of glms in Genstat (which I have never used), while the glm I have been using is only available for R. He has a spreadsheet of fitted means from each of his models obtained from using the Genstat "predict" function. For example, suppose we fit the model of the type
2006 Nov 07
7
should_redirect_to in advance - feels unnatural
I can understand that it''s easier for rspec to set up a mock in advance of the controller call. But it makes it difficult to do something like: context "The HarkController, given Louie the logged-in user" do setup do post :login, :username => ''louie'', :password => ''atest'' end specify "should redirect Louie to the home
2001 Jun 20
0
recordPlot usage: add snaps to a list.
I have trouble understanding the R list object and how to add objects and get them out. I''m trying to collect snapshots with recordPlot and replay them. Got great help from everybody here yesterday on my histogram function, works fine to make the pictures: histomatic <- function (s1,s2,s3,var){ if (is.numeric (s2[[var]])) { par(mfrow=c(3,1)); rz <- range(s1[[var]],