Displaying 20 results from an estimated 100 matches similar to: "Improving data processing efficiency"
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.
2011 Aug 10
1
rbind/cbind
Dear list,
I wonder if there a better way to have rbind/cbind/append to create
the first element (if it is empty) instead of doing the following in a
loop?
for (i in 1:10) {
if (i == 1) {
aRow = SomeExpression(i)
} else {
aRow = rbind(aRow,SomeExpression(i))
}
}
Thanks
Anthony
2011 Jul 20
3
select element from each row of the matrix
I have a 5 column matrix like
12 10 8 6 3
10 9 8 7 5
14 NA 4 NA NA NA
15 NA 10 NA 5
...
I want to select the position of the first entry for each row <=5
for example, for the first row, I want to select the last element and return
its position as 5;
for th e third row, I want to select the third element and return its
position as 3;
similarly for the 4th row, I want to select the fifth
2010 Feb 27
1
New Variable from Several Existing Variables
I am new to R, but have been using SAS for years. In this transition period,
I am finding myself pulling my hair out to do some of the simplest things.
An example of this is that I need to generate a new variable based on the
outcome of several existing variables in a data row. In other words, if the
variable in all three existing columns are "Yes", then then the new variable
should
2004 Mar 29
1
Canon multifunction printers / samba 3.0.2a / AIX 5.2ML2
Hello,
I have problems setting up a canon multifunction ir7200. When I print the
windows test page, I have something like "smiley" "arrow" "arow" "smiley"
"arrow" name_of_the_samba_spool "smileys" driver.dll etc,etc,etc, on a
single line.
Did somebody used such a multifunction with Samba ? Below is a (long)
description of what I did.
I
2006 Sep 06
2
deleting an arow added to a graphic
I know this has got to be simple, but I have a added an arrow to a graph
with:
arrows(5,8,8, predict(lmfit,data.frame(x=8)), length=0.1)
but its in the wrong position, correcting it and running again adds an new
arrow (which is what you would expect) so how do I
a) edit the existing arrow, and
b) delete it all together
As so often seems to be the case, some of the simplist things seem also to
2017 May 18
2
Computing loop trip counts with Scalar evolution
Hello.
I tried to get the trip count of a loop with Scalar evolution. I got inspired from
http://stackoverflow.com/questions/13834364/how-to-get-loop-bounds-in-llvm .
However the analysis described there doesn't work well for the second inner loop of
thes function below (although if we declare Bcols a short it works well):
void MatMul(int Arows, int Acols, int Brows, int
2007 Jul 19
2
linear interpolation of multiple random time series
Hi all,
Looking for tips on how I might more optimally solve this. I have
time series data (samples from a force sensor) that are not
guaranteed to be sampled at the same time values across trials. ex.
trial time x
1 1 1
1 5 4
1 7 9
1 12 20
2 1 0
2 3 5
2 9 10
2 13 14
2 19 22
2 24 32
Within each trial I'd like to use linear interpolation between each
successive time sample to fill in
2018 Feb 09
0
self-heal trouble after changing arbiter brick
Hi Karthik,
Thank you for your reply. The heal is still undergoing, as the /var/log/glusterfs/glustershd.log keeps growing, and there's a lot of pending entries in the heal info.
The gluster version is 3.10.9 and 3.10.10 (the version update in progress). It doesn't have info summary [yet?], and the heal info is way too long to attach here. (It takes more than 20 minutes just to collect
2012 Jun 21
2
R crashes with >kud<-kernelUD(data, h="LSCV") script
Hi,
I am looking to perform a kernel density analysis in R, following the script that a friend of mine is using successfully. However, unlike for her, when I enter >kud<-kernelUD(data, h="LSCV"), R crashes and closes every time. This does not happen when I perform a different kernel analysis (>kud<-kernelUD(data))..
I have tried to un-install and re-install R, but it still
2018 Feb 08
5
self-heal trouble after changing arbiter brick
Hi folks,
I'm troubled moving an arbiter brick to another server because of I/O load issues. My setup is as follows:
# gluster volume info
Volume Name: myvol
Type: Distributed-Replicate
Volume ID: 43ba517a-ac09-461e-99da-a197759a7dc8
Status: Started
Snapshot Count: 0
Number of Bricks: 3 x (2 + 1) = 9
Transport-type: tcp
Bricks:
Brick1: gv0:/data/glusterfs
Brick2: gv1:/data/glusterfs
Brick3:
2012 Jul 25
1
Memisc package: imported varibles from SPSS have got wrong measurement
Dear list members,
I have got another problem. I imported an SPSS file with the Memisc package
using the following commands:
mz <- spss.system.file("myspssfile.sav")
mz <- subset(mz,select=c(
bsex,balt,xurb,dtaet,kartab,bgeb,boseit,bgeblan,xnuts2,kausb,xerwstat,
asbper,asbhh,ajahr,aquartal,bstaat,xwieoft,gew1,apkz,bpkzm,bpkzv))
Afterwards I checked the measurements of the
2018 Feb 09
1
self-heal trouble after changing arbiter brick
Hi Karthik,
Thank you very much, you made me much more relaxed. Below is getfattr output for a file from all the bricks:
root at gv2 ~ # getfattr -d -e hex -m . /data/glusterfs/testset/306/30677af808ad578916f54783904e6342.pack
getfattr: Removing leading '/' from absolute path names
# file: data/glusterfs/testset/306/30677af808ad578916f54783904e6342.pack
2014 Jan 30
1
Glusterfs/CTDB/Samba file locking problem
Hi guys,
I try to set up two identical installed up to date CentOS6 machines with Glusterfs/CTDB/Samba .
I have set up Glusterfs and it works. I have set up CTDB from CentOS and it seems to work too.
Samba is AD integrated and works mainly.
The main problem is that file locking seem to not work between the machines at all. If two Win7 clients try to open an document
from the same Samba server
2009 Jul 29
2
DO NOT REPLY [Bug 6588] New: errors missed when connecting to host with multiple addresses and host is down
https://bugzilla.samba.org/show_bug.cgi?id=6588
Summary: errors missed when connecting to host with multiple
addresses and host is down
Product: rsync
Version: 3.0.6
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at
2009 Jan 28
2
t.test in a loop
Hi All,
I've been having a little trouble with creating a loop that will run a a
series of t.tests for inspection,
Below is the code i've tried, and some checks i've looked at.
I've used the get(paste()) idea as i was told previously that the use of the
eval should try and be avoided.
I've run a single syntax to check that my systax is correct and works
without any problems
2009 Jan 27
1
DO NOT REPLY [Bug 6067] New: IPv6 literal addresses broken
https://bugzilla.samba.org/show_bug.cgi?id=6067
Summary: IPv6 literal addresses broken
Product: rsync
Version: 3.0.4
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: arekm@maven.pl
QAContact:
2007 Oct 12
0
zfs: allocating allocated segment(offset=77984887808 size=66560)
how does one free segment(offset=77984887808 size=66560)
on a pool that won''t import?
looks like I found
http://bugs.opensolaris.org/view_bug.do?bug_id=6580715
http://mail.opensolaris.org/pipermail/zfs-discuss/2007-September/042541.html
when I luupgrade a ufs partition with a
dvd-b62 that was bfu to b68 with a dvd of b74
it booted fine and I was doing the same thing
that I had done on
2006 Oct 25
4
Panic while scrubbing
Hello,
I am not sure if I am posting in the correct forum, but it seems somewhat zfs related, so I thought I''d share it.
While the machine was idle, I started a scrub. Around the time the scrubbing was supposed to be finished, the machine panicked.
This might be related to the ''metadata corruption'' that happened earlier to me. Here is the log, any ideas?
Oct 24
2012 Jan 09
39
[PATCH v4 00/25] xen: ARMv7 with virtualization extensions
Hello everyone,
this is the fourth version of the patch series that introduces ARMv7
with virtualization extensions support in Xen.
The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile
Express simulator.
See the following announce email for more informations about what we
are trying to achieve, as well as the original git history:
See