Enrico,
I was in a similar position with a small likelihood function which was not
vectorizable (is that a word?) and in one morning I had a working function
using Rcpp which was 60 times faster than my reference function in R. I
*strongly* recommend that you use C++ through the Rcpp interface whic
The more general alternative Gabor in this case would be a stopif()
function... I often find myself having to think too much with
stopifnot(!is.X())
Sean
On 4 January 2014 00:24, Gábor Csárdi wrote:
> While we are here, how about an is.sorted() function? It is trivial
> and helps readability
Minor point and probably not relevant to the speed issue, but df() is
the density function for the F distribution, so I have (recently)
stopped using it for referring to data.frames.
Sean
On 30 October 2013 23:32, Gabriel Becker wrote:
> Hadley,
>
> As far as I can tell from a quick look, it is
Some people (luckily not me anymore!) working with mortgages and
pensions need to calculate up to 40 years into the future for the
payment schedule.
On 5 October 2013 02:37, Joshua Ulrich wrote:
> On Fri, Oct 4, 2013 at 8:02 PM, Imanuel Costigan wrote:
>> Thanks for the responses and quoting the
On the local documentation page for Binomial, i.e.
http://127.0.0.1:/library/stats/html/Binomial.html
The link to Catherine Loader's paper
"Catherine Loader (2000). *Fast and Accurate Computation of Binomial
Probabilities*; available from
http://www.herine.net/stat/software/dbinom.html.";
app
txt
# [1] "1,34,44.4,\" A\032A \",99"
This was on 64-bit R on a 64-bit Windows 7, but it also appears to be
the case in a 32-bit R 2.15.2 on 32-bit Windows-7 inside in a
VirtualBox.
Kind regards,
Sean O'Riordain
Trinity College
Dublin
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Question: would it be better if the contents list of the unzip() function
returned the filenames as character rather than factor since they are
probably unique strings?
> tmp <- unzip(fnam, list=TRUE)
> str(tmp)
'data.frame': 31 obs. of 3 variables:
$ Name : Factor w/ 31 levels "fred1.csv",..
Good afternoon,
As a clarification does it make sense to remove the second 'not' in the 'See
Also' documentation for file_test ?
Kind regards,
Sean O'Riordain
-
Index: src/library/utils/man/filetest.Rd
Good afternoon Hang,
This is an example of what I've done with a csv file with a header
which is too big to read into memory.
# this is a file with about 50 columns and 28 million records
ap.fnam <- 'p2_all28m_records.csv'
# lets just explore the columns in Addresspoint...
# by reading in the hea
Good morning,
Could this be a mis-spelling in the development (revision 53854) and release
version of "R Data Import/Export" ?
Kind regards,
Sean O'Riordain
Dublin
un-affiliated...
svn diff r-devel/R/doc/manual/
Index: r-devel/R/doc/man
right notice once the project has been
distributed. The only way this could happen is if the project is completely
rewritten from scratch by people who have not worked on the project using a
'clean-room' methodology - this seems quite unlikely.
Just a thought,
Kind regards,
Sean O'R
are more gentle, but these were "not encouraged".
In the posting guide and in some r-help posts there have been demands
for details of affiliation - my work current work contract (and many
previous contracts) makes it difficult for me to put my work details
on an email to r-help (or simil
7;t used it in ages :-)
Kind regards,
Sean O'Riordain
Dublin
Ireland
On Fri, Feb 19, 2010 at 9:05 PM, Stavros Macrakis wrote:
> Currently, sample of a data.frame is a sample of the columns:
>
> e.g. sample(data.frame(a=1,b=2:3,c=4),2) => data.frame(b=2:3,c=c(4,4))
>
> I&
Good afternoon,
While I don't know the history of this particular conflict - to me the
entire *purpose* of the GPL is to ALLOW forking of code which must
remain in public. If somebody forks code and makes any change
whatsoever and then distributes either the diff or the entire previous
project, t
In some cases it would be nice to have a lot of examples explaining the
different uses of different parameters instead of the more usual.
I like the way in which log4j allows one to parameterise at runtime the
verboseness of different parts of a runtime. So hypothetically (and
assuming a lot!) on
Good morning Keith,
Have a look at
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#There-seems-to-be-a-limit-on-the-memory-it-uses_0021
The short answer is that "it depends"...
a) memory is limited under windows
b) R is essentially a serial program - HOWEVER it depends what you're
actually
Good morning Jan,
Could this be covered off by the following?
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
Kind regards,
Sean
On Sat, Aug 1, 2009 at 9:05 PM, wrote:
> Full_Name: jan hattendorf
> Version: 2.9.0
> OS: XP
> Submission from: (NU
.
}
kind regards,
Sean O'Riordain
unaffiliated...
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Can I add a windows specific wish please? I'd like to be able to
double click on a word in the console and select it, rather than have
to manually select - silly I know but I'm constantly going back and
forth between R and other programs where I can do this and I still
haven't managed to train my
s...@sean7:~/R/RSVN/R/trunk/src/library$ svn diff
Index: base/man/duplicated.Rd
===
--- base/man/duplicated.Rd (revision 47231)
+++ base/man/duplicated.Rd (working copy)
@@ -64,7 +64,7 @@
not be efficient for a very large
Good evening,
Spotted a very minor spelling mistake in the source for the grep help.
And thanks to R-Core for all their work - it's a tribute to R-Core,
that these sort of "problems" are rare indeed.
Best regards,
Sean O'Riordain
Dublin
[EMAIL PROTECTED]:~/R/RSVN/R/trunk/
Gabor,
I agree. Furthermore I think it might be useful to add that in my
experience (and I'm sure others as well) that the process of creating
a simple reproduceable example for an email to r-help will in most
cases clarify what I'm trying to do and actually solve my own problem
for me - once or t
Hi Duncan,
I suspect that it's not the SHBrowseForFolder call as it seems fine
once the Browse button is pressed - the problem occurs *before* the
Browse button is pressed.
Regards,
Sean
On 29/03/2008, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 29/03/2008 12:23 PM, Gabor Grothendieck wrote:
Good afternoon Duncan,
Thanks for that. See below for my reply.
Best Regards,
Sean
On 29/03/2008, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 28/03/2008 12:05 PM, [EMAIL PROTECTED] wrote:
> > Good afternoon,
> >
> > This is possibly a windows only bug, definitely of comparatively low
> >
. 5 year old Linux
machine) at home I'm no longer reliant on the ancient laptop for
everyday use!
All the best,
Sean
On 29/03/2008, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 29/03/2008 1:10 PM, Sean O'Riordain wrote:
> > Hi Duncan,
> >
> > I suspect
with a simple
GET request in plain R, go for it, but as Duncan says, you need to
beware of character encoding.
s/
On 21/08/05, Duncan Temple Lang <[EMAIL PROTECTED]> wrote:
> Sean O'Riordain wrote:
> > for very low bandwidth IPC I'd just use a standard web page form using
>
for very low bandwidth IPC I'd just use a standard web page form using
a GET... so all you have to do is call a URL with the parameters
embedded in the URL, e.g.
http://silly.name.for.server.com/javaServlet?a=42&b=394&c=1982&d=complex
If your bandwidth requirements are a bit higher then you have
27 matches
Mail list logo