On Wed, 17 Nov 2010 17:04:46 -0800, Patrick Leyshock
wrote:
> Hello,
>
> Are there any good tools available for monitoring the performance of R?
I'm
> wanting to capture things such as time elapsed in evaluating an
expression,
> memory usage over time (or operation), and so on.
>
> I could build
Hello,
Are there any good tools available for monitoring the performance of R? I'm
wanting to capture things such as time elapsed in evaluating an expression,
memory usage over time (or operation), and so on.
I could build my own but would like to follow established practice, if there
is one.
T
On 11/17/10 6:06 PM, "Joris Meys" wrote:
>Indeed, I get it. If the pattern is "xx", it is only matched against 2
>letters at the same time. All the rest doesn't matter. But still that
>doesn't explain
>
>>agrep("ANNTCG", "ANNXXTCG", max = list(ins=3))
>integer(0)
>>agrep("ANNTCG", "ANNXTCG", max
On Wed, 17 Nov 2010, Dickison, Daniel wrote:
I downloaded and compiled the standalone TRE agrep command line program,
and I think I have a slightly better idea of what's going on. Basically
R's agrep, like the command line tool, is matching all strings that
*contain* the pattern. So, essential
I downloaded and compiled the standalone TRE agrep command line program,
and I think I have a slightly better idea of what's going on. Basically
R's agrep, like the command line tool, is matching all strings that
*contain* the pattern. So, essentially, insertions before and after the
pattern is "
Sorry, never sent an attachment before. I think my .R file didn't pass, so
I'm attaching a .txt instead.
-Ursprüngliche Nachricht-
Von: Janko Thyson [mailto:janko.thy...@ku-eichstaett.de]
Gesendet: Mittwoch, 17. November 2010 19:56
An: 'r-de...@r-project. org'
Betreff: Reference classes:
Dear list,
I'm aware that this post does not really comply with the posting guide with
respect to "providing a minimal reproducible code example". But I do hope
it's okay that I spared uninterested readers by putting that into the
attachment ;-)
The thing is that I'm not really familiar with "tru
Is this on Windows? (Please do consult the posting guide and tell us
the 'at a minimum' information we asked for.)
If so, it seems you forget the bit about setting TMPDIR right at the
top of the section on 'Building the core files':
Set the environment variable @env{TMPDIR} to point to a w
On the subject of clarification, Reference Classes are not really an
"addition" to S4. They are a programming interface to allow OOP (i.e.,
C++ or Java-style) programming in R.
They do use some S4 tools but rely more on some valuable existing
techniques for dealing with environments, such as
Dear list,
I've just tried to compile R 2.12.0 from source as I think I found an error
in a C function that I would like to fix and check before I go ahead with
posting the presumed error.
I've got the R Toolset 2.12 installed and configured correctly and followed
the Admin manual closely (
It might have to do something with spaces and the interpretation of
insertions, as far as I understand the following examples :
> agrep("x",c("x","xy","xyz","xyza"),max=list(all=1))
[1] 1 2 3 4
> agrep("x",c("x","xy ","xyz ","xyza"),max=list(all=1))
[1] 1
> agrep("xx",c("xx","xyx","xyzx",
I posted this yesterday to r-help and Ben Bolker suggested reposting it
here...
Dickison, Daniel carnegielearning.com> writes:
>
> The documentation for agrep says it uses the Levenshtein edit distance,
> but it seems to get this wrong in certain cases when there is a
> combination of deletions
Thanks a lot for the comments! I'll give the serveral alternatives a try to
see if it gets me what I want.
Cheers,
Janko
> -Ursprüngliche Nachricht-
> Von: Vitalie S. [mailto:spinuvit.l...@gmail.com]
> Gesendet: Mittwoch, 17. November 2010 13:51
> An: Janko Thyson
> Cc: 'r-de...@r-projec
Thanks for comments from several folk, fix from Doug Bates and start to finding
new email
for ucminf maintainer.
Summary of responses:
DBLEPR and its relations are briefly mentioned but with no or minimal examples
in Writing
R Extensions as well as Venables and Ripley book. I should have emphas
"Janko Thyson" writes:
> Hi there,
>
> I'd like to choose between an "static" and "dynamic" access of a reference
> class field, say 'a'.
>
> myObj <- getRefClass("Blabla")$new()
>
> Static: myObj$a
>
> Dynamic: myObj$a.get() where the function retrieves the data
> f
Hello Everyone!
I am trying to extend the class "call", but keep getting errors whatever I do:
setClass("mycall", contains = "call")
#[1] "mycall"
new("mycall")
#Error in function (object) :
# error in evaluating the argument 'object' in selecting a method for function
#'show'
new("mycall",
Le 17/11/10 13:07, Janko Thyson a écrit :
Hi there,
I'd like to choose between an "static" and "dynamic" access of a reference
class field, say 'a'.
myObj<- getRefClass("Blabla")$new()
Static: myObj$a
Dynamic: myObj$a.get() where the function retrieves the
Hi there,
I'd like to choose between an "static" and "dynamic" access of a reference
class field, say 'a'.
myObj <- getRefClass("Blabla")$new()
Static: myObj$a
Dynamic: myObj$a.get() where the function retrieves the data
from a database (or some other loca
Le 17/11/10 11:39, Janko Thyson a écrit :
-Ursprüngliche Nachricht-
Von: Simon Urbanek [mailto:simon.urba...@r-project.org]
Gesendet: Mittwoch, 17. November 2010 11:35
An: Janko Thyson
Cc: 'r-de...@r-project. org'
Betreff: Re: [Rd] R5 reference classes: how to initialize exactly?
Just
> -Ursprüngliche Nachricht-
> Von: Simon Urbanek [mailto:simon.urba...@r-project.org]
> Gesendet: Mittwoch, 17. November 2010 11:35
> An: Janko Thyson
> Cc: 'r-de...@r-project. org'
> Betreff: Re: [Rd] R5 reference classes: how to initialize exactly?
>
> Just a clarification for posterity
Just a clarification for posterity - R5 has nothing to do with the new
reference classes. It's not even an official name, but informally it's a
collection of ideas for an entirely new object system that can replace both S3
and S4 (not that it will but it should be seen as having the capability t
> Dear List,
>
> I recently stumbled over the possibility and need to specifiy
> % \VignetteDepends{}
> in my vignettes. I did not know about this, and I notice that it is not
> mentioned in the R-extensions manual section "Writing package vignettes".
> [...]
Very strange, both Kurt Hornik and mys
22 matches
Mail list logo