Displaying 20 results from an estimated 7000 matches similar to: "Deleting repeated rows"
2009 Jun 26
0
R: Deleting repeated rows
?unique
as an example
> mat<-matrix(c(1,2,3,1,1,2,1,2,3,4,7,5), ncol=3, byrow=T)
> mat #rows 1 and 3 are identical
     [,1] [,2] [,3]
[1,]    1    2    3
[2,]    1    1    2
[3,]    1    2    3
[4,]    4    7    5
> unique(mat)
     [,1] [,2] [,3]
[1,]    1    2    3
[2,]    1    1    2
[3,]    4    7    5
Stefano
-----Messaggio originale-----
Da: r-help-bounces at r-project.org
2009 Jul 06
2
Extracting only the non-repeated rows of matrices
I have 2 matrices. One which contains a complete set of row combinations.
Another which contains a subset of the first. What I would like to extract
is the rows which are in the first but not repeated in the second. For
instance if the following were my two matrices,
A
       [,1] [,2] [,3] [,4]
  [1,]    1    2    3    4
  [2,]    1    2    3    5
  [3,]    1    2    3    6
  [4,]    1    2    3
2009 Jul 02
2
matching rows in matrices
I have a matrix such as this,
     [,1] [,2] [,3]
[1,]    1    1    2
[2,]    2    5    5
and a larger matrix such as this,
     a  b
[1,] 1  5
[2,] 2  5
[3,] 4  9
[4,] 5  8
[5,] 7  8
[6,] 7 10
[7,] 9 10
what I want to do is check the number of times the columns in the first
matrix appear as rows in the second matrix. So for instance in this example
1,5  and 2,5 appear in both so I'd want
2009 Aug 10
4
Saving plots to file
Appologies if this has been addressed before, but I can't seem to find it in
the help archives.
I'm looking to do something like the following but it looks like save.plot
is deprecated.
save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and
gain"),file="Desktop/hist1.png")
Thanks in advance,
Sean
Session Info:
R version 2.9.1 (2009-06-26)
2003 Sep 17
2
Web Based Management App
Hi All
Appologies if this has been asked before, or if this is not the correct
place to ask just point me in the right direction.
Is there a web based management application available for asterisk??
If not is there any interest in developing one? I am good at writing in
PHP and don't think it would be too difficult to put something together.
Thanks
Mark
2006 Mar 30
2
custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)
Full_Name: Ben Tyner
Version: 2.2.0
OS: i686-pc-linux-gnu
Submission from: (NULL) (128.210.141.240)
My appologies if this has already been fixed, but I didn't see it in the
tracking system yet so I thought I'd report it. Demonstration:
xyplot(Petal.Length ~ Petal.Width | Species, iris,
       strip = strip.custom(style = 1,
                            var.name = expression(beta),
      
2008 Sep 08
3
Saving functions
Hi, 
  Appologies for the simple nature of this question, I am unable to find
the answer in manuals (EG and introduciton to R). 
  I have written a function in a text editor and saved it with an .R
extension. It is saved in my working directory. How can I run it, do I
need to use source? If so, how do I supply the arguments to the
function? Or does it need to be saved in a particular directory? 
 
2016 Nov 16
2
Multiple location DC's with same hostnames
Hi, 
Not sure exactly how I would word the subject line so appologies in advanced. 
We are trying to accomplish the following scenario: 
Location 1: 
PDC: fs01.loc1.example.com 
IP: 10.0.0.1 
Location 2: 
SDC: fs01.loc2.example.com 
IP: 10.0.1.1 
Clearly when we join the SDC to the PDC there is a naming conflict. The end result would be to have clients at each site resolve the fs01 name to
2009 Oct 16
0
[LLVMdev] Haiku Triple support
Greatest appologies that had some cruft in it, let me send the cleaned one
On Fri, Oct 16, 2009 at 12:45 AM, Paul Davey <plmdvy at gmail.com> wrote:
> support for triple in haiku
>
> it touches lib/Support/Triple.cpp
> and include/llvm/ADT/Triple.h
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2002 Nov 27
1
Win2k(IIS5) + Samba weirdness
Hi all;
I don't know if this is a specificly a Samba problem, so appologies if 
this is a little OT. Anyhow, I have a Windows 2000 Server (SP2) running 
IIS5 hosting a number of web sites. The content itself is housed on a 
RH 7.1 Linux box running Samba 2.2.2, which Windows mounts. 
Now, occasionly when going anywhere beneath the root of a web site
IIS reports a 404 error (NTFileMon
2001 Jul 08
1
Changes 2.5.2p2 -> 2.9p2
Hi,
Appologies for a possibly inexact bug report but I've noticed a change
in behaviour from openssh version 2.5.2p2 to 2.9p2.
One of my many uses for openssh is setting up a secure tunnel from
my home machine to an external mail server and using fetchmail over
said tunnel. When done in this manner fetchmail actually starts up
openssh. 
When I moved from 2.5.2p2 -> 2.9p2 (both compiled
2003 May 06
3
Performance Issues With Samba and RedHat 8.
Appologies if this has been asked before, i have searched the archives and 
while there are some almost related issues, none really answer my 
question/problem.
Recently (about 4 months ago) we purchased a new Dell 2600 (2.0Ghz Xeon 
2GB Ram), Machine (single cpu) and migrated the data and system from rh 
6.2 to 8 on this new server. By migrate i mean Installed rh8 fresh and 
moved the user data
2006 Jan 16
1
gplots
Hi 
 
I am sure that this question has been asked before ... appologies in
advance
 
This - which comes out very nicely - better than the commercial stuff.
plotmeans (cdpy~Dodefordpy, Data = Dataset, connect = False, minbar = 1,
mean.labels = FALSE, col = "blue", barwidth = 1.5, barcol = "red",
ci.label = FALSE, xlab="Onset", pch = 15, par(las =2)).
Only one snag I
2012 Mar 27
2
Supperscript, subscript and double lines in the main/sub title and using greek letters
Dear R-help,
 I am trying to express myself as best as I can here. If you also use Latex
to edit math reports or other languages with similar editing method,
you'll see what I'm talking about. My sincere appologies if my question is
not clear enough to some extend, as also I'm not able to provide my code
here because I don`t know which one I can use...
When editing the title in R
2005 Feb 23
1
pdbedit -Lw reports "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for password
I've searched google and the samba archives to no avail (appologies if
I've missed something), so I will ask the community directly:
I am trying to convert a fully populated smbpasswd file to the tdbsam backend:
# pdbedit -i smbpasswd:./smbpasswd -e tdbsam:./passdb.tdb
This seems to work, on the surface, but upon inspection I find that 
# pdbedit -Lw username
2008 Nov 15
1
Using n+1 instances of R to utilise n processors on one machine - something like R with tabbed browsing?
Dear R-help,
Please forgive me if any of the following sounds naieve/confused, i've
just got back from a mini-pub-crawl, slightly tipsy, and am feeling
brave to ask a possibly silly question... also, not to shiny on the
technical side of things.
Problem - I need to text mine a collection of 10,000 plain text
documents, all of which are sitting in a single folder. i don't have
any money
2006 Mar 25
2
Multiple uplink problems
I''ve installed Shorewall 3.0.5 on a Debian Sarge box, and I''m 
attempting to route internet traffic through a couple of ISPs, and I''ve 
come up against some problems.
  The first is that one of my links is a pppoe connection to a wireless 
modem, and I can''t configure it to have a static IP address...   
therefore I can''t see how I can set up the two
2009 Feb 11
1
p.adjust; n > length(p) (PR#13519)
Full_Name: Ludo Pagie
Version: 2.8.1
OS: linux
Submission from: (NULL) (194.171.7.39)
p.adjust in stats seems to have a bug in handling n>length(p) for (at least) the
methods 'holm' and 'hochberg'.
For method 'holm' the relevant code:
        i <- 1:n
        o <- order(p)
        ro <- order(o)
        pmin(1, cummax((n - i + 1) * p[o]))[ro]
where p is the
2002 Mar 17
2
using "by" and indicies
I sent this to the list last week, and haven't seen it pop up.  Either 
I deleted it when it did appear, or possibly it was destroyed as 
spam...?  If it did appear and I somehow missed it, appologies.
In a nutshell, can the function FUN supplied to by() deduce
what level of factor by() was on when FUN was called?  I've
been digging through the functions, and can't see where the
2018 Aug 04
1
[RFC 0/4] Virtio uses DMA API for all devices
On Fri, 2018-08-03 at 22:07 +0300, Michael S. Tsirkin wrote:
> On Fri, Aug 03, 2018 at 10:58:36AM -0500, Benjamin Herrenschmidt wrote:
> > On Fri, 2018-08-03 at 00:05 -0700, Christoph Hellwig wrote:
> > > >   2- Make virtio use the DMA API with our custom platform-provided
> > > > swiotlb callbacks when needed, that is when not using IOMMU *and*
> > > >