similar to: Recursion is slow

Displaying 20 results from an estimated 7000 matches similar to: "Recursion is slow"

2013 Oct 23
16
which kernel do people use?
Hi all, I'm doing a very informal and unscientific poll: which kernel do you use on your CentOS machines? Not which version of the CentOS kernel, but which repository. Here are some examples I can think of off the top of my head: ==CentOS stock ==build own from CentOS SRPMs ==kernel-ml (from ELRepo) ==kernel-lt (from ELRepo) ==OpenVZ kernel ==build own from kernel.org ==other? One reason
2010 Dec 07
1
Two-node cluster often hanging in o2hb/jdb2
Hi, I'm pretty new to ocfs2 and a bit stuck. I have two Debian/Squeeze (testing) machines accessing an ocfs2 filesystem over aoe. The filesystem sits on an lvm2 volume, but I guess that is irrelevant. Even when mostly idle, everything accessing the cluster sometimes hangs for about 20 seconds. This happens rather frequently, say every 5 minutes, but the interval seems irregular while the
2007 Feb 13
16
Error against latest trunk while testing via spec for model
Hi I just did an update to lates trunk ================= context "Given a generated venue_spec.rb with fixtures loaded" do fixtures :venues specify "fixtures should load two Venues" do Venue.should have(2).records end end ================== gives me ========== 1) TypeError in ''Given a generated venue_spec.rb with fixtures loaded fixtures should load two
2018 Aug 16
2
Xenial rpart package on CRAN built with wrong R version?
I manually downloaded the rpart package and installed it using dpkg, without removing the old rpart package first, and now everything works. During the installation, dpkg said: Unpacking r-cran-rpart (4.1-13-1cran1xenial0) over (4.1-13-1cran1xenial0) So again, it seemed that the new version had been installed, but it really wasn?t. I had no idea that something like this could happen. Huh.
2007 Jan 17
5
percent sign in plot annotation
Hello, I would like to annotate a graph with the expression 'alpha = 5%' (the alpha should be displayed as the greek letter). I tried > text(1,1,expression(alpha == 5%)) which gives a syntax error. escaping the percent sign (\%) or doubling (%%) does not help. What do I do? Thanks, Martin Keller-Ressel -- Martin Keller-Ressel Research Unit of Financial and Actuarial
2018 Aug 14
2
Xenial rpart package on CRAN built with wrong R version?
I?m not using the PPA, but the CRAN mirror from https://cran.r-project.org/bin/linux/ubuntu/#installation: deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ On 14 Aug 2018, at 12:25, George N. White III <gnwiii at gmail.com<mailto:gnwiii at gmail.com>> wrote: qOn Tue, 14 Aug 2018 at 05:04, Ulrich KELLER <ulrich.keller at uni.lu<mailto:ulrich.keller at
2019 Oct 29
3
Committing with git
> At the dev meeting I heard Doug Gregor say something like, "what kind of dirty animals are you, you just push directly to master!?" Based on that, I think other communities may set up workflows where they push branches to places, and some automation rebases and updates master asynchronously, optionally conditioned on some (light) testing or approval. Someone has already mentioned
2010 Apr 25
4
how to make read in a vector of 0s and 1s with no space between them
Hi all, Probably a rudimentary question. I have a flat file that looks like this (the real one has ~10e6 elements): 10110100101001011101011 and I want to pull that into R as a vector, but with each digit being it's own element. There are no separators between the digits. How can I accomplish this? Thanks in advance! Matt -- Matthew C Keller Asst. Professor of Psychology University of
2013 Jul 02
3
Ctrl+C in R will terminate the child process which is spawned by using "pipe"
Hi, all, I pressed Ctrl+C in R process, and found that the child process which was spawned by using "pipe" is terminated due to this. Are there any way to work around it, so that the child process can run happily without being terminated? Or can we block the signal for the child process? 1. I used pipe to spawn one C++ process, which will running in a loop without exiting immediately.
2002 Jul 30
4
chisq.test, basic question
The cells are interpreted as counts, so by scaling you're analyzing a different experiment (one with fewer observations). So the chi-squared value will change (the terms (O-E)^2/E in the statistic scale linearly ignoring rounding and "Yates' continuity correction"). The chisq.test on the original data is a test of association. Conventionally you decide ahead of time on a
2002 Feb 15
3
Bug(?) in predict.tree() --- Evaluation order of Boolean operators
Dear R users I have a problem with predict.tree() when I want the fitted values of a tree object to be returned (i.e. argument 'newdata' is missing). Whatever I specify for argument 'type' the fitted model object is returned. Example: library(tree) data(kyphosis) fit.tree <- tree(Kyphosis ~ Age + Number + Start, data=kyphosis) p <- predict(fit.tree,
2011 Jun 21
2
par code help
I am making a barplot using barplot2 from gplots where each bar represents a specific tree species. I have formatted the species names on the x-axis so that the genus name is above the species name and have then rotated the labels 45 degrees to save room. This is my code: >columncolor<-c("grey20", "grey20", "grey20", "grey70",
2012 Jun 27
32
[Bug 51477] New: bad/missing graphics with NV11 / GeForce 2MX/MX400
https://bugs.freedesktop.org/show_bug.cgi?id=51477 Bug #: 51477 Summary: bad/missing graphics with NV11 / GeForce 2MX/MX400 Classification: Unclassified Product: xorg Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component:
2018 Aug 14
2
Xenial rpart package on CRAN built with wrong R version?
Hello, I just upgraded my Ubuntu Xenial system to R 3.5.1 (from 3.4.?) by changing the sources.list entry and doing an "apt-get dist-upgrade". Everything works except loading the rpart package in R: > library(rpart) Error: package or namespace load failed for ?rpart?: package ?rpart? was installed by an R version with different internals; it needs to be reinstalled for use with
2008 Jan 15
9
things that are difficult/impossible to do in SAS or SPSS but simple in R
Hi all, I'm giving a talk in a few days to a group of psychology faculty and grad students re the R statistical language. Most people in my dept. use SAS or SPSS. It occurred to me that it would be nice to have a few concrete examples of things that are fairly straightforward to do in R but that are difficult or impossible to do in SAS or SPSS. However, it has been so long since I have used
2007 Nov 08
3
skip non-sequential lines using scan?
Hi all, Is there a way to skip non-sequential lines using the "skip" argument in the scan function? E.g., I have a matrix with 100 rows and 1e7 columns. I open a connection and want to read only lines 5, 7, 9, etc [i.e., seq(5,99,2)] It might seem that the syntax to do this would be something like this (if only the "skip" allowed vectors in the same way colClasses does in
2010 Mar 15
2
[R-SIG-Mac] How to interrupt an R process that hangs
+1--this is the single most-annoying issue with R that I know of. My usual solution, after accomplishing nothing as R spins idly for a couple hours, is to kill the process and lose any un-saved work. save.history() is my friend, but is a big delay when you work with big data sets as I do, so I don't run it after every command. I have cc'd r-help here, however, because I experience this
2011 May 23
2
Formatting names.arg
I am making a barplot using barplot2 from gplots and would like to format the names of my categorical variables (tree species) on the x- axis so that the genus name is above the species name (to save room). My code so far is: speciesnames<-c("Dialium guianensis", "Inga alba", "Tachigali versicolor", "Brosimum utile", "Caryocar
2016 Sep 08
5
DNF update
On 9/7/2016 7:02 PM, Keith Keller wrote: >> Staying with excellent C6 until the end. > CentOS 7 is yum based, not dnf. "Always Learning" seems to have a distaste for anything new or different than what he already knows. -- john r pierce, recycling bits in santa cruz
2008 Mar 28
5
Upgrading from older version - how?
Hi there, We''ve been using previous version of bdrb (drb based one) for a while and it was running relatively OK. We recently attempted to upgrade to the new version to keep up / use supported version but we ended up reverting to the older version. Here are the things that moved us to revert : 1) With the workers we never manage to pass this error: '''' You have a nil