Displaying 20 results from an estimated 3000 matches similar to: "Bron-Kerbosch algorithm"
2011 Feb 01
3
R string help
Dear R guru:
If I got a variable
aaa<- "up.6.11(16)"
how can I extract 16 out of the bracket?
I could use substr, e.g.
substr(aaa, start=1, stop=2)
[1] "up"
But it needs start and stop, what if my start or stop is not fixed, I
just want the number inside the bracket, how can I achieve this?
Many thanks
yan
2011 Feb 24
2
debugging
Dear R user
How to make the program stop at the spot where the error occurs? I mean
inside the iterations,.
Many thanks
yan
**********************************************************************
This email and any files transmitted with it are confide...{{dropped:10}}
2011 Feb 21
1
output selectively change the font
Dear brainy R users,
I need to output a matrix, with two colors , meaning some elements using
different color
I normally use write.table(table.m, file="table file name.csv",
sep=","), how could I pass the index for the color ?
Many thanks
yan
**********************************************************************
This email and any files transmitted with it are
2011 Feb 10
1
extracting characters from string
Dear R gurus,
If I got a vector with string characters like "abcd_efgh_12ab3_dfsfd",
how could I extract "12ab3", which is the characters after second
underscore and before the third underscore?
Tons of thanks
yan
**********************************************************************
This email and any files transmitted with it are confide...{{dropped:10}}
2011 Nov 16
1
Replacing values in matrix/dataframe according to changing criteria
Hi there,
I am doing some network analysis working with k-cliques and over time I
want to see what nodes are members of what cliques and how big these
cliques are. I have managed to produce a matrix which shows which k-cliques
each node is part of over the 100 time periods (slow though) but I cannot
seem to calculate the size of each k-clique which is actually just a count.
Basically I have a
2013 Feb 22
1
Issues with installing RBGL package
Hi all,
I was installing a package *RBGL* of bioconductor. However, I had some
issues while installing it. I asked the devel group of bioconductor and
they told me to consult this group. Here is my conversation with the
bioconductor group related to the problem
*Me->*
I was trying to install the RBGL package using the following command
biocLite("RBGL")
However, I got the
2011 Jan 28
1
axis name editing
Dear All,
I'm generating a heatmap, is there a way to make Y axis name display
horizontally, X axis name display vertically?
I tried using "horiz=TRUE":
axis(1,at=1:dim(cor.meta.m)[1],labels=gsub("module","",pw.names),horiz=T
RUE)
but got warning message and the name is not displayed as I wish:
Warning message:
In axis(1, at = 1:dim(cor.meta.m)[1],
2011 Jul 14
1
recursive function - finding connections
Dear all,
I'm having some problems getting my recursive function to work. At first I though that maybe my data was too big and I increase option(expressions=50000). Then I thought that I would try it on some smaller data. Still not working. :(
I would have thought there should be a function for this already, so any suggestions are welcomed for other methods. I did try igraph but couldn't
2011 Apr 04
3
add zero in front of numbers
Dear R users,
I need to add 0 in front of a series of numbers, e.g. 1->001, 19->019,
Is there a fast way of doing that?
Many thanks
yan
[[alternative HTML version deleted]]
2016 Dec 14
2
Pull requests: CJK words and Snippet generator
I haven't had a chance to look at the patch and won't be able to do
before January. Its design description sounds promising, though.
The snippet generator code linked to by Bron contains mostly the same
code as in my pull request, with two exceptions: it adds a flag to make
the generator return the empty string for snippets without any matching
terms. And it includes a fix to a possible
2011 Apr 06
3
function order
Dear All
I'm trying to sort a matrix using function order,
Some thing really odd:
e.g.
abc<-cbind(c(1,6,2),c(2,5,3),c(3,2,1))## matrix I want to sort
if I do
abc[ order(abc[,3]), increasing = TRUE]
the result is correct
[,1] [,2] [,3]
[1,] 2 3 1
[2,] 6 5 2
[3,] 1 2 3
But if I want to sort in decresing order:
abc[ order(abc[,3]), decreasing = TRUE]
the
2013 Jun 19
2
Broken links on trac release overview page
http://trac.xapian.org/wiki/ReleaseOverview/1.2.15
The links to individual NEWS items are broken:
i.e. http://svn.xapian.org/*checkout*/tags/1.2.15/xapian-core/NEWS
http://svn.xapian.org/Xapian/tags/1.2.15/xapian-core/NEWS?view=markup
might be a better link.
Regards,
Bron.
--
Bron Gondwana
brong at fastmail.fm
2019 Feb 03
2
Amount of writes during index creation
Bron Gondwana writes:
> This is quite possibly part of the underlying write explosion that we ran into when we wrote:
>
> https://fastmail.blog/2014/12/01/email-search-system/
>
> Which now almost 5 years on, has been running like a champion! We're really pleased with how well it works. Xapian reads from multiple databases are really easy, and the immediate writes onto
2016 Dec 13
2
Pull requests: CJK words and Snippet generator
On Tue, Oct 04, 2016 at 10:37:49AM +1100, Bron Gondwana wrote:
> Robert is in Australia visiting the FastMail office to co-work with us for a
> couple of months, and I'd love to get this Xapian integration work done
> during this time. We're also looking to release Cyrus IMAPd version 3.0 some
> time in the next few months, and it would be great to not depend on too many
>
2016 Nov 27
1
JMAP support in Dovecot
On Sun, 27 Nov 2016, at 06:07, WJCarpenter wrote:
> I don't know the answer to that question, but I am curious about
> something. What client are you thinking about using with JMAP? I haven't
> found much. (And much of the demo stuff at jmap.io seems to be busted in
> various ways.)
The demo proxy was a pretty quick hack and isn't very efficient, but it should be
2019 May 28
1
JMAP support in Dovecot
On Wed, May 22, 2019, at 23:43, Tanstaafl via dovecot wrote:
> On Wed May 22 2019 05:44:59 GMT-0400 (Eastern Standard Time), Aki Tuomi
> via dovecot <dovecot at dovecot.org> wrote:
> > Unfortunately we have not been able to work on this much, but also the
> > JMAP spec was until very recently still being worked. We have open
> > dialogue with the Thunderbird people,
2011 May 17
2
submit R package
Dear all,
I'm just wondering how to submit a package to cran?
I followed the instruction, using anonymous as username and my email address as password, but it didn't connect.
Any hints?
Yan
[[alternative HTML version deleted]]
2013 Jun 19
2
Compact databases and removing stale records at the same time
On Wed, Jun 19, 2013, at 03:49 PM, Olly Betts wrote:
> On Wed, Jun 19, 2013 at 01:29:16PM +1000, Bron Gondwana wrote:
> > The advantage of compact - it runs approximately 8 times as fast (we
> > are CPU limited in each case - writing to tmpfs first, then rsyncing
> > to the destination) and it takes approximately 75% of the space of a
> > fresh database with maximum
2012 Jan 24
5
function for grouping
Dear All,
I'm wondering if there is a R function could give me all the
combinations of the grouping/cluster result, given the number of the groups.
e.g.
3 objects: x1 x2 x3, number of groups is 2
so the result will be
group1:x1,x2; group2: x3
group1: x1;group2: x2,x3
group1: x1,x3;group2: x2
many thanks
yan
2012 Jul 24
1
igraph build problems
Hello:
I've been trying for days now to get igraph working on a debian sarge
install. There does not appear to be any pre-built packages, and when
I try and install within R, it blows up on the final linking, claiming
its unable to find libgfortran (which IS installed, and IS working for
all other users of the compiler).
I started up R and ran: install.packages("igraph"). It