similar to: why order doesn't work?

Displaying 20 results from an estimated 3000 matches similar to: "why order doesn't work?"

2012 Jun 19
2
how to use by function
hi all, Assume I have data like data<-rbind(c(1,2),c(1,3),c(2,1),c(3,2),c(3,4)) I want to get some matrix like 1,2,3 2,NA,NA 3,2,4 I'm using by mat<-matrix(NA,3,3) by(data,data[,1],mat[data[,1],]<-c(data[,2])) but it doesn't work. Any ideas? thanks, cowboy
2012 Mar 05
2
How to choose a button and scrape the website data
hi all, I'm working on scrapping some website data to build a database. Under most cases, I can use package XML to get the dataset. However, some of the website doesn't give a explicit address of the downloaded tables. To be more specific, for example, I'm interested in the website http://ets.aeso.ca/ The data we are scraping is the "Pool Weekly Summary" under the
2003 Feb 21
2
how to chage values in data frame to NA iside a function
Dear all I have a function in which I would like to change some values to NA according to some condition. dropout<-function(y, nahr=FALSE,...) { <some stuff for computing an index> if (nahr) y[index]<<-NA invisible(index) } in case y is a vector all works OK but if it is a part of data frame by calling dropout(df$y) or dropout(df[,number]) no change is done. Please can you
2011 Jan 17
2
Summing data frame columns on identical data
Dear all, I have 9 data frames, and I'm simply trying to sum the values of column 3 (on a row-by-row basis). However, there are a slightly different number of rows in each data frame, so I'm receiving the following error: "Error in Ops.data.frame(mrunoff_207101[3], mrunoff_207102[3]) : ? + only defined for equally-sized data frames". Here is what I'm attempting to do:
2010 Nov 15
2
Zero truncated Poisson distribution & R2WinBUGS
I am using a binomial mixture model to estimate abundance (N) and detection probability (p) using simulated count data: -Each site has a simulated abundance that follow a Poisson distribution with lambda = 5 -There are 200 simulated sampled sites -3 repeated counts at each site - only 50 percent of the animals are counted during each count (i.e, detection probability p =0.5, see codes) We removed
2005 Sep 17
1
looks in liblapack.a not liblapack.so
I can't compile R-alpha on AMD 64. Rather than include a 1400 line script I have put it on the web http://www.stat.umn.edu/~charlie/typescript.txt way down near the bottom it fails building lapack.so gcc -shared -L/usr/local/lib64 -o lapack.so Lapack.lo -llapack -lblas -lg2c -lm -lgcc_s /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:
2011 Mar 21
3
Does unicorn support mount the webapp with a prefix like Thin does?
For example, I have a webapp that handles /welcome. Does unicorn support to mount the entire webapp at /prefix so request to /prefix/welcome are?handled?
2012 Feb 23
1
how to draw crossing circles to show relationship?
Dear list, To make it easier, let me start with an example. Say I have 20 different cookies. Dave likes 7 of them, Evan likes 14 of them and Torri likes 11 of them. The data is cookies<-cbind(c(1:20), c(1,0,0,1,0,1,0,0,0,0,1,1,1,0,0,0,1,0,0,0), c(1,1,1,0,0,1,1,1,1,1,0,1,1,0,1,0,1,0,1,1), c(1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,0,1,1,1,0))
2023 Dec 14
2
[PATCH linux-next] drm/nouveau/disp: switch to use kmemdup() helper
From: Yang Guang <yang.guang5 at zte.com.cn> Use kmemdup() helper instead of open-coding to simplify the code. Signed-off-by: Chen Haonan <chen.haonan2 at zte.com.cn> --- drivers/gpu/drm/nouveau/nvif/outp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvif/outp.c b/drivers/gpu/drm/nouveau/nvif/outp.c index 5d3190c05250..6daeb7f0b09b
2005 Apr 29
3
Error in La.chol2inv(x, size) : lapack routines cannot be loaded
Dear all, OS: x86_64-suse-linux 9.2 CPU: Intel(R) Xeon(TM) CPU 3.20GHz R-version: R-2.1.0 I've started using a new Linux server, upgraded at the same time to R-2.1.0 (see above) and have problems with some elementary analysis that ran without a problem on my previous configuration. anova.glm gives the following error: Error in La.chol2inv(x, size) : lapack routines cannot be loaded This
2019 Jun 03
2
[IDF][analyzer] Generalizing IDFCalculator to be used for Clang's CFG
Hi! As the title suggests, I'd like to generalize llvm::IDFCalculator to be able to calculate control dependencies on clang's CFG. The issue is however, that many data structures it uses are "hardcoded" to use llvm::BasicBlock, and requires a lot of code to turn it into template arguments. I managed to pull this off by hammering the code until it compiled, and it works
2008 Apr 02
5
Forum vs Mailing lists - by the numbers
So, if we look at January, the last month without the forum: http://www.winehq.org/pipermail/wine-users/2008-January/thread.html we had 226 posts. If we look at March, the first full month with the forum: http://www.winehq.org/pipermail/wine-users/2008-March/thread.html we had 2136 posts. Even if you say that 1,000 of those posts were meta posts with complaints from us Mailman lovers,
2008 Oct 10
1
R2.7.2 graph printing issue: incomplete printing
Hi, I have encountered a problem with R2.7.2 printing. I used the following code to generate a graph: a <- 1:50 b <- a plot(a~b) In the pop-up windows with the graph, I try to print the graph by using "File" -> "Print". The graph was printed, but it was incomplete. Some area was missing in the lower part and the right part. Can somebody help me to resolve this to
2024 Jan 09
1
[PATCH linux-next v2] drm/nouveau/disp: switch to use kmemdup() helper
From: Chen Haonan <chen.haonan2 at zte.com.cn> Use kmemdup() helper instead of open-coding to simplify the code. Signed-off-by: Chen Haonan <chen.haonan2 at zte.com.cn> Reviewed-by: Yang Guang <yang.guang5 at zte.com.cn> --- drivers/gpu/drm/nouveau/nvif/outp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvif/outp.c
2006 Aug 02
5
monitor fcgi?
Im trying to get a new app up on dreamhost. What fun :/ Id like to try out the ''frao_handler'' which just keeps dreamhost from automatically killing my fcgi processes. But Im also worried about things getting out of hand. I seem to remember that captures in views can cause problems with fcgi (I might just be making that up????), and I do have few in my app. And well Im
2009 Nov 11
2
partial cumsum
Hello, I am searching for a function to calculate "partial" cumsums. For example it should calculate the cumulative sums until a NA appears, and restart the cumsum calculation after the NA. this: x <- c(1, 2, 3, NA, 5, 6, 7, 8, 9, 10) should become this: 1 3 6 NA 5 11 18 26 35 45 any ideas? thank you and best regards, stefan
2008 Mar 06
2
audio file validation tool ?
I need a command line tool to validate mp3 file(s).... just something that scans the file and looks for structural errors and reports it. background, I've recovered a few 1000 MP3 files off a dying disk drive for a radio station, some of the other files I recovered had several K byte long blocks of zeros splatted in the middle where the dying drive did bad sector remapping (SMART
2008 Mar 20
1
code optimization,analysis
Hi, After having used S+ in commercial setting and then R in non-commerical (but still supporting my commercial interests), I would like to give back, if possible. Where I can contribute: 1. SCAN / PREVENT Stability and Threat analysis (big open source presence supported by coverity) 2. Intel Threaded Building Blocks library support to leverage multicore CPUs (plan now for 8-way) 3. VTune
2012 Nov 22
4
Using cumsum with 'group by' ?
Hi, First post here. Grateful for any help you can give. I have data which looks like this: id time x 1 12:01 5 1 12:02 14 1 12:03 6 1 12:04 3 2 12:01 98 2 12:02 23 2 12:03 1 2 12:04 4 3 12:01 5 3 12:02 65 3 12:03 23 3 12:04 23 But I want to add a column which is the cumulative sum of X, but only by id. I've used cumsum before, but not
2019 Jun 16
2
[IDF][analyzer] Generalizing IDFCalculator to be used for Clang's CFG
A polite ping, could someone please share a thought about this? On Sat, 8 Jun 2019 at 21:21, Kristóf Umann <dkszelethus at gmail.com> wrote: > A polite ping on this matter :) > > On Tue, 4 Jun 2019 at 01:51, Kristóf Umann <dkszelethus at gmail.com> wrote: > >> Hi! >> >> As the title suggests, I'd like to generalize llvm::IDFCalculator to be >>