What would you say typically limits taskPR's approach, not finding
enough instruction-level parallelism at the R script level, or the
communications overhead (probably latency) of trying to make use of
it?
Depends on the specific function. The communication cost is
significant, especially seri
On Thu, Sep 4, 2008 at 4:01 PM, Vadim Organovich
<[EMAIL PROTECTED]> wrote:
> Dear R-devel,
>
> Is there a reason that lapply(NULL, ...) returns the empty list, rather than
> NULL? It seems intuitive to expect the latter, and rather counterintuitive
> that lapply(list(), ... ) returns the same va
On Thu, Sep 04, 2008 at 04:06:31PM -0400, David Bauer wrote:
> taskPR was an attempt to get 'free' parallelism out of already
> existing programs by using simple data dependencies to figure out
> which individual statements in a program can be run in parallel.
> The name comes from the description
Full_Name: cedric Carpentier
Version: 2.6.1
OS: windows 2000
Submission from: (NULL) (212.11.24.48)
Hello,
I will try to be comprehensive, but excuse me for my approximative english.
I use R to extract data from Factset and then upload its to a personnal
database. After the storage I create d
Dear R-devel,
Is there a reason that lapply(NULL, ...) returns the empty list, rather than
NULL? It seems intuitive to expect the latter, and rather counterintuitive that
lapply(list(), ... ) returns the same value as lapply(NULL, ...).
> lapply(list(), function(x) 1)
list()
> lapply(NULL, fun
> - taskPR: Sounds equivalent to snow. Also uses MPI underneath.
Actually, it is very different from snow. taskPR was an attempt to get 'free'
parallelism out of already existing programs by using simple data dependencies
to figure out which individual statements in a program can be run in pa
I see about 7 different R packages for multi-process parallel
programming. Which do you think is the best, most complete, and most
robust to pick for general purpose Erlang-style message-passing
programming in R, and why?
First here's my use case, and then my analysis so far. I often have
code w
Jeffrey Horner <[EMAIL PROTECTED]> said:
> Also, study the source code in the littler project. As it is a simple
> command line alternative to the R shell script and executable, it may
> bring you up to speed on simple embedding and parsing; another example
> at least.
>
> http://biostat.mc.va
EBo wrote on 09/04/2008 10:33 AM:
Simon Urbanek <[EMAIL PROTECTED]> said:
Why do you think is R_ParseVector not sufficient for this? That is
what most of use use to achieve exactly what you describe...
For something that even mimics the continuation behavior of the R
console have a look at p
Simon Urbanek <[EMAIL PROTECTED]> said:
> Why do you think is R_ParseVector not sufficient for this? That is
> what most of use use to achieve exactly what you describe...
> For something that even mimics the continuation behavior of the R
> console have a look at parseString function in Rserv
I hesitate to spend R-core's time with such a small request, but here goes.
On the Manuals page of CRAN one can download the primary R
documentation in PDF format. All of the files but one have names
beginning with "R-". The exception is the R Reference Index
(fullrefman.pdf). This means that
As I haven't got any replies to my earlier posts about incorrect tick
positions in plot and matplot, here is the simplest patch to correct
this issue (it fixes both plot with xlim/ylim and matplot). The plot.R
was unchanged between 2.7 and current R-devel. It would be great if the
patch could be (t
On Sep 3, 2008, at 9:51 , EBo wrote:
While doing some embedded programming and trying to figure out how
to generate
a hand coded SEXP equivalent of the line
"t.test(x,conf.level=(1-p))$conf.int[2]" I had an idea for an
addition to the
embedded API.
There are a number of hidden or static
Dear Martin,
I understand the reasons behind PDF removal, but I actually added a
description of the problem with R2.7+ before... (I cannot select which
email client I use in the office).
Now the problem remains and here is the illustration. The reason for
setting xlim beyond the data range can be
> "OlegS" == Sklyar, Oleg \(London\) <[EMAIL PROTECTED]>
> on Wed, 3 Sep 2008 13:47:56 +0100 writes:
[.]
OlegS> I attached three PDFs ..
OlegS> Just in case PDFs are removed by the mail server here
OlegS> is the description of the problem:
[
On Thu, 4 Sep 2008, ONKELINX, Thierry wrote:
Dear Luc,
You should send this kind of questions to the general mailing list
([EMAIL PROTECTED]) instead of the developer list.
To answer your question: have a look at ?by and ?aggregate
And ?ave .
HTH,
Thierry
-Oorspronkelijk bericht---
Hi Luc,
First of all, questions like this should really be asked on the R-help
mailing list.
The tapply function does what you want:
> year
[1] 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2
Levels: 1 2
> area
[1] a a a a a b b b b a a a a b b b b b
Levels: a b
> value
[1] 20 25 28 31 23 25 28 23 19
I stumbled onto a near trivial solution... here is some example code:
EBo --
#include
#include
#include
#include
SEXP
LineEval (char *cmd)
{
SEXP ans;
int error;
ans = R_tryLineEval (cmd, R_GlobalEnv, &error);
if (error)
{
fprintf (stderr, "Error evaluating
Dear Luc,
You should send this kind of questions to the general mailing list
([EMAIL PROTECTED]) instead of the developer list.
To answer your question: have a look at ?by and ?aggregate
HTH,
Thierry
ir. Thierry On
Hi all
I have a very basic question, yet i have not found how to do it.
Suppose my dataset looks like this:
YearAreavalue
1 a 20
1 a 25
1 a 28
1 a 31
1 a 23
1 b 25
1 b 28
1 b 23
1 b
20 matches
Mail list logo