similar to: subloop - flexible coding - variable number of loops

Displaying 20 results from an estimated 600 matches similar to: "subloop - flexible coding - variable number of loops"

2013 May 13
1
[LLVMdev] Problem with MachineFunctionPass and JMP
Hi ! I'm trying to modify the code in a machine function pass… I added a new basicblock and I want to add a jump to an another BB from my new BB. Here is my code : bool Obfuscation::runOnMachineFunction(MachineFunction &MF) { MachineBasicBlock *newEntry = MF.CreateMachineBasicBlock(); MF.insert(MF.begin(), newEntry); std::vector<MachineBasicBlock*> origBB;
2006 Feb 13
3
Insertion.top & tables
I have had trouble making Insertion.top work with tables I would like to do something like <table> <div = "newentry"> <tr><td> First entry</td></tr> <tr><td> Second entry</td></tr> </div> </table> so that Insertion.top inserts the new row above the first entry. So far this has not worked. Has anyone else tried
2003 Nov 24
2
1.8.1 and subsetting dataframes
I've encountered something that didn't arise using earlier versions of R (Linux). A dataframe is created and new columns added to it by doing calculations using apply with various functions on some of the original columns. It's somewhat too involved to give a toy example that's reproducible. However, the resulting phenemonon can be characterised by the following: Browse[1]>
2008 Oct 09
2
samba v2 works, v3 does not - Unix groups
Shifting from a v2 samba server to v3 - Read documentation and googled LOTS but can't seem to find the bits that apply to my simple(?) server with regards to groups. # rpm -qi samba Version : 3.0.28 Vendor: Red Hat, Inc. Release : 1.el5_2.1 Source RPM: samba-3.0.28-1.el5_2.1.src.rpm Samba on server (Red Hat Enterprise Linux 5.2) IS MOSTLY WORKING... home directories
2000 Nov 29
4
offset
I would like to do a logistic multiple regression on a binary variate, with what Genstat calls an offset, ie a regression variable with the coefficient constrained=1. I'm far from home and have Splus but not R here, but any information from either source would be very welcome. I'd hate to have to go back to using Genstat . . . Thanks, Ted. --------------- Dr E.A. (Ted) Catchpole
2007 Feb 19
3
Randomly extract rows from a data frame
Hi, I am looking for a way to randomly extract a specified number of rows from a data frame. I was planning on binding a column of random numbers to the data frame and then sorting the data frame using this bound column. But I can't figure out how to use this column to sort the entire data frame so that the content of the rows remains together. Does anyone know how I can do this? Hints
2012 Aug 20
1
Kendall package tau-a, b, and c
Hi all, I would like to ask a question related to Kendall package. I ran Kendall (x,y) and saw the results. But I am not sure which tau values R reported. I have ties in my data set, so I want tau-b. Can anybody tell how Kendall package is calculating tau values? I have looked at the package PDF, but I could not find any useful information. As long as I see from the following link, there
2001 Sep 18
1
textbook on experimental design?
I'll be teaching a graduate course on (the analysis of) experimental designs next year, using R. Does anyone know of a suitable textbook? (Venables and Ripley MASS Ch6 on Linear Models covers roughly the right material, but at a level that is way too difficult for my students.) Sorry if this has been asked before. I've looked through the archives and found Julian Faraway's book, but
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver. When I run a simple example, eg > data(InsectSprays) > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") the boxplot is fine. Doing the same thing after > xfig(file='test.fig') and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots where the boxes, although correctly shaded in,
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver. When I run a simple example, eg > data(InsectSprays) > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") the boxplot is fine. Doing the same thing after > xfig(file='test.fig') and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots where the boxes, although correctly shaded in,
2004 Dec 17
8
Union of list elements
[This email is either empty or too large to be displayed at this time]
2015 Mar 10
1
aio_pthread on Debian?
Hello Volker, Thank you for the reply. I've seen your name mentioned several times against this topic :-) >What effect do you have in mind exactly? Read/write is done >asynchronously these days without that module as long as the >build detected pthreads. This is the thing... it looks like the Debian packages (stable + back port) are built without the --with-aio-support (at least
2002 Jun 24
3
Tunnel SMB thru SSH?
It is possible to tunnel various protocols - NNTP, FTP, HTTP etc thru SSH. Is it possible to do the same using SMB? TIA, Alex. -------------------- Mr Alex Meaden Computer Science Undergraduate University of Kent at Canterbury aejm1@meaden.dyndns.org http://meaden.dyndns.org/
2002 Apr 23
2
Asking about how to use R to draw Time Series graph
Hi I'm study at University of Canterbury. Now, We have one project use R to do time series. The problem is I don't know how to use R to draw time series graph! Can you help me sovle this problem? I can not find in manuals book! Can you tearch me what fuction command I have to use? Thanks alway! Sam
2004 Sep 06
4
100% CPU utilisation
Dovecot (0.9.11) consumes 100% CPU utilisation when accessing (either pop or imap) one of my mailboxes. It doesn''t happen with other mailboxes. The mailbox has about 500 mails while others have many more. They are all in mbox format. OS: OpenBSD-3.5 with all patches MTA: Sendmail-8.12.11 It happened with other RCs of dovecot-0.9.11 Configured as: ./configure --without-pam
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R, which calls myfunction.c via .C("myfunction", ...). I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c in the terminal. Then, in the R console: dyn.load("myfunction.so") source("myfunction.R") test <- myfunction() # works fine So everything is in order, myfunction works
2008 Dec 18
1
vbscript in wine
Hi there, I'm having an issue with vbscript in wine. It relates to a problem with the cardbox database client which you can see here: http://www.cardbox.com/wine.htm I get the Cardbox error message and pressing OK will return me to the Cardbox window, indicating vbscript is not installed. First I just ran the installer which I found here:
2011 Mar 29
1
Creating a list of all objects
Dear all I am trying to create a list of all objects created over the course of a function. To wit: foo <- function(x){ first <- x*(1:8) second <- matrix(x*(1:16), ncol = 4) third <- 1:x list(x=x, first=first, second=second, third=third) } foo(5) No worries there. However, in the search for typing efficiency I wondered if it would be possible to use list(ls()) in
2003 Feb 19
2
plotmath
There's something (probably a lot) missing in my understanding of plotmath. The LaTeX code for what I'm trying to produce is \log(-\log(\hat R)) My (probably hopeless) attempt at it uses nested group()s: expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"), ")")) Can anyone do it right for me, please? Thanks, Ted. Dr E.A.
2010 Jun 15
1
MANOVA proportion of variance explained
Hello everybody After doing a MANOVA on a bunch of data, I want to be able to make some comment on the amount of variation in the data that is explained by the factor of interest. I want to say this in the following way: XX% of the data is explained by A. I can acheive something like what I want by doing the following: X <- structure(c(9, 6, 9, 3, 2, 7), .Dim = as.integer(c(3,