Displaying 20 results from an estimated 10000 matches similar to: "using character vector as input argument to setkey (data.tablepakcage)"
2011 Jul 11
1
EXTERNAL: Re: subset with aggregate key
Matthew Dowle wrote:
> Hi,
>
> Try package 'data.table'. It has a concept of keys which allows you to do
> exactly that.
>
> http://datatable.r-forge.r-project.org/
>
> Matthew
>
>
Hi Matthew,
Unfortunately, the load of that library fails (it builds successfully).
I'm currently looking into why. Error output looks something similar to:
>
2011 Apr 26
1
help.request() for packages?
Hi,
Have I missed something, or misunderstood?
The r-help posting guide asks users to contact the package maintainer :
"If the question relates to a contributed package, e.g., one
downloaded from CRAN, try contacting the package maintainer first.
[snip] ONLY [only is bold font] send such questions to R-help or R-devel
if you get no reply or need further assistance. This applies to both
2012 Jun 12
2
How to change name of .so/.dll
Hi,
I've added R_init_data_table to the "data.table" package (which has a dot
in its name). This works well in R 2.15.0, because of this from the
Writing R Extensions manual :
" Note that there are some implicit restrictions on this mechanism as the
basename of the DLL needs to be both a valid file name and valid as part
of a C entry point (e.g. it cannot contain ?.?): for
2012 Dec 24
1
How to ensure -O3 on Win64
Hi,
Similar questions have come up before on the list and elsewhere but I
haven't found a solution yet.
winbuilder's install.out shows data.table's .c files compiled with -O3
on Win32 but -O2 on Win64. The same happens on R-Forge. I gather that
some packages don't work with -O3 so the default is -O2.
I've tried this in data.table's Makevars (entire contents) :
====
2004 Nov 26
2
Tcl error - brace in argument?
Hi all,
Does anyone know a solution for this error ?
> tkwidget(dlg, "iwidgets::spinint", range="{0 23}")
Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class =
"tclObj") :
[tcl] wrong # args: should be ".31.1.19 configure -range {begin
end}".
Thanks,
Matthew
[[alternative HTML version
2004 Jul 22
0
Setkey
I use ipsec on my Linux machine (Fedora 2 Core), and controls it using
"setkey" scripts.
Does anyone knows of a C interface/library that will enable me to control it
from C code?
The "setkey" C function is something completely different.
Yuval Lifshitz
CableMatrix Inc.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2010 May 06
0
data.table 1.4.1 now on CRAN
data.table is an enhanced data.frame with fast subset, fast
grouping and fast merge. It uses a short and flexible syntax
which extends existing R concepts.
Example:
DT[a>3,sum(b*c),by=d]
where DT is a data.table with 4 columns (a,b,c,d).
data.table 1.4.1 :
* grouping is now 10+ times faster than tapply()
* extract is 100+ times faster than ==, as before
* 3 new vignettes: Intro, FAQ
2010 May 06
0
data.table 1.4.1 now on CRAN
data.table is an enhanced data.frame with fast subset, fast
grouping and fast merge. It uses a short and flexible syntax
which extends existing R concepts.
Example:
DT[a>3,sum(b*c),by=d]
where DT is a data.table with 4 columns (a,b,c,d).
data.table 1.4.1 :
* grouping is now 10+ times faster than tapply()
* extract is 100+ times faster than ==, as before
* 3 new vignettes: Intro, FAQ
2013 Apr 21
1
cedta decided 'igraph' wasn't data.table aware
Hi, what does this mean?
--8<---------------cut here---------------start------------->8---
> graph <- graph.data.frame(merged[!v,], vertices=ve, directed=FALSE)
cedta decided 'igraph' wasn't data.table aware
cedta decided 'igraph' wasn't data.table aware
cedta decided 'igraph' wasn't data.table aware
cedta decided 'igraph' wasn't
2013 Jan 22
1
rails datatables refresh javascript
Hi
I followed a railscast episode and got datatables up and running,
beautifully along with the nice jquery-ui as in the front page.
The main issue I''m having though is that I suck at CoffeeScript/JS ~_~
I''m trying get the datatables to reload every 1 second but I don’t see any
request coming into my webserver for refreshes and hence, no refreshes on
the web page itself.
2010 Oct 12
1
append rows to Sybase datatable using RJDBC
Hi,
Does anyone have experience using RJDBC library to write to Sybase
datatable? The jdbc driver I am using is jConnect 6.0. I can
successfully write into a new datatable, but have problem appending rows
to existing one. It either complains "Table *** already exists" or
simply overwrite the existing one. Here is the example.
I am trying to append 'data' to the existing
2013 Mar 05
0
[LLVMdev] ARM assembler's syntax in clang
Hi, all. The previous post have a typo:
problem in ARM assembly: I use LDR to load an external symbol :
LDR R7,=DataTable
But clang gives error: unexpected token in operand to the '=',
Then I change the code to:
LDR R7,DataTable
The error becomes: unsupported relocation on symbol. How can I get around
this in clang? My problem is actually how to load external symbol in
2011 Apr 27
0
data.table 1.6 is now on CRAN
data.table offers fast subset, fast grouping and fast ordered joins in a
short and flexible syntax, for faster development. It was first released
in August 2008 and is now the 3rd most popular package on Crantastic
with 20 votes and 7 reviews.
* X[Y] is a fast join for large data.
* X[,sum(b*c),by=a] is fast aggregation.
* 10+ times faster than tapply()
* 100+ times faster than ==
It inherits
2011 Apr 27
0
data.table 1.6 is now on CRAN
data.table offers fast subset, fast grouping and fast ordered joins in a
short and flexible syntax, for faster development. It was first released
in August 2008 and is now the 3rd most popular package on Crantastic
with 20 votes and 7 reviews.
* X[Y] is a fast join for large data.
* X[,sum(b*c),by=a] is fast aggregation.
* 10+ times faster than tapply()
* 100+ times faster than ==
It inherits
2010 Jun 01
2
Help on aggregate method
Dear R experts,
I would really appreciate if you had an idea on how to use more
efficiently the aggregate method:
More specifically, I would like to calculate the mean of certain
values on a data frame,? grouped by various attributes, and then
create a new column in the data frame that will have the corresponding
mean for every row. I attach part of my code:
matchMean <-
2009 Aug 27
1
[Fwd: Re: Video demo of using svSocket with data.table]
Forwarded to R-Help, because I think it could interest people following
this thread. Clearly, RServe and svSocket have different goals and very
little overlap.
Best,
Philippe
-------- Original Message --------
Subject: Re: Video demo of using svSocket with data.table
Date: Wed, 26 Aug 2009 20:34:19 +0100
From: Matthew Dowle <mdowle at mdowle.plus.com>
Reply-To: Matthew Dowle
2011 Aug 03
1
Need help with xyplot
Consider I have the following data:
AgeRange AgeOfPerson PersonNo FriendsAtYear0 FriendsAtYear1 FriendsAtYear2 FriendsAtYear3 FriendsAtYear4 FriendsAtYear5
10 - 12 11 1 0 1 2 2 3 3
10 - 12 12 2 0 1 2 2 3 3
15 - 18 13 3 1 2 3 4 6 7
15 - 18 14 4 1 3 4 5 7 7
30 - 40 33 5 3 5 5 6 8 9
30 - 40 36 6 4 4 4 4 4 4
I want to plot the number of friends against number of years, as to show how friendships
2006 Mar 02
5
Deparsing '...'
Hi,
The following function works, but is there a neater way to write it?
f = function(x,...)
{
# return a character vector of the arguments passed in after 'x'
gsub("
","",unlist(strsplit(deparse(substitute(list(...))),"[(,)]")))[-1]
}
> f(x,a,b,c*d)
[1] "a" "b" "c*d"
>
Thanks.
[[alternative HTML
2005 Dec 09
3
[R] data.frame() size
Hi,
Please see below for post on r-help regarding data.frame() and the
possibility of dropping rownames, for space and time reasons.
I've made some changes, attached, and it seems to be working well. I see the
expected space (90% saved) and time (10 times faster) savings. There are no
doubt some bugs, and needs more work and testing, but I thought I would post
first at this stage.
Could some
2010 May 09
4
Fwd: R apply() help -urgent
---------- Forwarded message ----------
From: Dr. Venkatesh <drvenki at liv.ac.uk>
Date: Sun, May 9, 2010 at 4:55 AM
Subject: R apply() help -urgent
To: r-help at r-project.org
I have a file with 4873 rows of 1s or 0s and has 26 alphabets (A-Z) as
columns. the 27th column also has 1s and 0s but stands for a different
variable (pLoss). columns 1 and 2 are not significant and hence lets