Displaying 20 results from an estimated 5000 matches similar to: "Largest N Values Efficiently?"
2007 Mar 06
4
Memory Limits in Ubuntu Linux
I am an R user trying to get around the 2Gig memory limit in Windows, so
here I am days later with a working Ubuntu, and R under Ubuntu. But - the
memory problems seem worse than ever. R code that worked under
windows fails, unable to allocate memory.
Searching around the web, it appears that the problem may be the ability to
find contguous memory for my big vectors, but a fresh boot of
2007 Jan 30
1
SparseM and Stepwise Problem
I'm trying to use stepAIC on sparse matrices, and I need some help.
The documentation for slm.fit suggests:
slm.fit and slm.wfit call slm.fit.csr to do Cholesky decomposition and then
backsolve to obtain the least squares estimated coefficients. These functions can be
called directly if the user is willing to specify the design matrix in matrix.csr form.
This is often advantageous in large
2010 Mar 22
1
Bayesian Networks and Bayesian Survival Analysis
Looking for help with a project for the US Navy, requires knowledge of
Bayesian Statistics, Bayesian Networks and Survival Analysis. Please respond
with CV. Thanks.
--
David Katz
www.davidkatzconsulting.com
[[alternative HTML version deleted]]
2010 Feb 02
1
subset function unexpected behavior
I was surprised to see this unexpected behavior of subset in a for loop. I
looked in subset.data.frame and it seemed to me that both versions should
work, since the subset call should be evaluated in the global environment -
but perhaps I don't understand environments well enough. Can someone
enlighten me? In any case, this is a bit of a gotcha for naive users of
subset.
input.data <-
2009 Apr 06
3
how to subsample all possible combinations of n species taken 1:n at a time?
Hello
I apologise for the length of this entry but please bear with me.
In short:
I need a way of subsampling communities from all possible communities of n
taxa taken 1:n at a time without having to calculate all possible
combinations (because this gives me a memory error - using
combn() or expand.grid() at least). Does anyone know of a function? Or can
you help me edit the
combn
or
2008 Dec 18
4
autologistic modelling in R
Hi,
I have spatially autocorrelated data (with a binary response variable and
continuous predictor variables). I believe I need to do an autologistic
model, does anyone know a method for doing this in R?
Many thanks
C Bell
2011 Jan 11
3
list concatenation
Dear R gurus,
first let me apologize for a question that might hve been answered
before. I was not able to find the solution yet. I want to concatenate
two lists of lists at their lowest level.
Suppose I have two lists of lists:
list.1 <- list("I"=list("A"=c("a", "b", "c"), "B"=c("d", "e", "f")),
2007 Dec 10
4
Reading through a group of .RData files
Hi.
I have a procedure that reads a directory, loops through a set of particular .RData files, loading each one, and feeding its object(s) into a function, as follows:
cvListFiles<-list.files(fnDir);
for(i in grep(paste("^",pfnStub,".*\\.RData$",sep=""),cvListFiles)){
load(paste(fnDir,cvListFiles[i],sep="/"));
myFunction(rliObject);
rm(rliObject);
};
2006 Feb 06
10
Urgently Need Solution
I''m using scriptaculous'' SlideUp and SlideDown effects to animate a menu.
Specifically, I SlideUp, make some CSS changes, and SlideDown. All works
well, except that for a split second in between, the element''s display
becomes ''none'' and the other menu item jump into the space. I haven''t been
able to find any way to force an element to retain
2006 Feb 08
6
Effect Help
I posted the following earlier:
"I need a way to do a blind up that makes the element APPEAR and a blind
down that makes the element DISAPPEAR. In essence, the opposite of the
current blindup/blinddown.
Thoughts?"
I think somebody responded in Dutch. Anyone else have any ideas?
--
Yehuda Katz
Web Developer
(ph) 718.877.1325
(fax) 718.686.4288
2008 Jan 07
3
Seeking a more efficient way to find partition maxima
Hi.
Suppose I have a vector that I partition into disjoint, contiguous subvectors. For example, let v = c(1,4,2,6,7,5), partition it into three subvectors, v1 = v[1:3], v2 = v[4], v3 = v[5:6]. I want to find the maximum element of each subvector. In this example, max(v1) is 4, max(v2) is 6, max(v3) is 7. If I knew that the successive subvector maxima would never decrease, as in the example,
2006 Jul 21
4
pre-alpha Rails Admin Console
Hey all,
I have released some pre-alpha code for my Administrative Console which
I''ve been talking about for the past few days.
The admin console, autoDB, provides and AJAXed, automated
scaffolding-type system that''s pretty and very customizable.
More details at http://trac.visualjquery.com/admin_console/ and my
original post from last week, which has screenshots and some
2011 Feb 26
13
very slow disk access
How do I check if the proper sata drivers are being loaded?
If they are not what can I do other then rebuilding the kernel?
Thank you in advance,
Randy
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2008 Jan 02
2
Seeking a more efficient way to read in a file
Hi.
I have a matrix stored in a large, tab-delimited flat file. The first row contains column names. Because the matrix is symmetric, the file has lower triangular format, so the second row contains one number, the third row two numbers, etc. In general, row k+1 contains k numbers; the matrix has 3000 rows, so the file has 3001 rows. The file has variable length records, so each row ends
2009 Sep 03
5
Rails 3.o
So...
"Beginning Rails 3" is supposedly due Sept 2009 http://www.apress.com/book/view/9781430224334
"Rails 3 in Action" is due February 2010 (est.) http://www.manning.com/katz/
... can we assume a beta release of Rails 3 is very close?
Would like to invest in Rails 3 :)
2000 Oct 31
3
SMP/PCMCIA
I have two sacrificial lambs -- one is an SMP box, the other one''s a
laptop, but I don''t see kernel-smp or kernel-pcmcia-cs packages.
So, can I use the ext3 patch on an SMP box or a laptop?
--
Sam
2005 Jul 14
4
[PATCH] Support for official xvd major number
LANANA has officially assigned the block major of 202 for xvd devices
(http://www.lanana.org/docs/device-list/devices-2.6+.txt). Take
advantage of knowing this so people don''t have to do the mknod on their
system. Also, fix up the scsi regex to get sda correct without having
to do hacks like sda0.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Jeremy
2011 Apr 26
7
Second largest element from each matrix row
Hi,
I need to extract the second largest element from each row of a
matrix. Below is my solution, but I think there should be a more efficient
way to accomplish the same, or not?
set.seed(1)
a <- matrix(rnorm(9), 3 ,3)
sec.large <- as.vector(apply(a, 1, order, decreasing=T)[2,])
ans <- sapply(1:length(sec.large), function(i) a[i, sec.large[i]])
ans
Thanks in advance for your
2006 Aug 07
2
Administrative Console Update
Hi guys,
I just wanted to announce the imminent release of the next revision of
my autoDB Administrative Console.
Now with:
* Validations
* A ton of association-related bug fixes
* The ability to include the fields in belongs_to models into the form
itself
* AJAX improvements
* Fixes to activate/deactivate and destroy
* Rudimentary support for layouts
Also, I made a change to the way
2007 Apr 26
3
PXELINUX No network device problem
Good morning.
I am trying to do a dhcp/pxelinux network install for redhat linux.
I have a new Dell computer with a Broadcom NetXtreme 57xx Gibabit
controller.
I am getting the following errors:
Getting Kickstart file.
ASSERT: no network device in ChooseNetworkInterface
No network drivers for doing kickstart
unable to bring up network.
I've searched this lists archives for the word ASSERT