On 09/06/2010 10:00 PM, Dario Strbenac wrote:
Hello,
I've been attempting to make a generic method that dispatches on the first
argument, which can be either an S3 or an S4 class. This is as far as I've
gotten. Any suggestions about what to try next ?
library(aroma.affymetrix)
Dear DevelopeRs,
I am surprised about the outcome of the second command:
str(as.character(as.numeric(ee)))
str(as.character(log(-1)))
I would have expected a character NA. Is there an intention behind this
behavior?
Best, Ulrike
--
*
*
It seems to me that preserving information about the kind of number
(or not) present would be useful. I rather like the fact that
as.numeric(as.character(NaN))
and
as.numeric(as.character(Inf))
both work as the identity operator on numeric-like objects. (In this
context, note that both
I wrote the interface between R and TeXmacs. Recently, I added tab
completion. However, there is one slight problem. In order to enable easy
interaction with R, I (I.e. my program) interact with the command-line
interface. This means that the user can invoke demo(), and then R will
interact with
Another message about the R to TeXmacs interface.
1. Graphics
The TeXmacs interface allows the user to directly insert graphics into the
session.
Since I am not very familiar with programming for R, I implemented the
interaction with graphics in a very primitive way. It was two modes of
On Sep 7, 2010, at 2:06 PM, ghostwheel wrote:
I wrote the interface between R and TeXmacs. Recently, I added tab
completion. However, there is one slight problem. In order to enable easy
interaction with R, I (I.e. my program) interact with the command-line
interface. This means that the
On Sep 7, 2010, at 2:21 PM, ghostwheel wrote:
Another message about the R to TeXmacs interface.
1. Graphics
The TeXmacs interface allows the user to directly insert graphics into the
session.
Since I am not very familiar with programming for R, I implemented the
interaction with
Simon Urbanek wrote:
On Sep 7, 2010, at 2:06 PM, ghostwheel wrote:
a-c(3,4
and then R will respond with '+'.
The problem is this: the way I implemented tab completion is calling an R
function that creates the completion. But, while in the middle of user
input, I can't call a
Simon Urbanek wrote:
I don't know the mechanics of the actual inserting in TeXmac but it
would be trivial to simply create a copy of the plot as EPS (or whatever
is needed) at the time of insertion. See dev.copy2eps() for a function
that does exactly that.
Great. It works much
Kevin,
I wouldn't mind NaN (although it seems a bit strange, because you
wouldn't expect a character to be a number), but I find it strange to
get the character string NaN. is.na(as.character(NaN)) returns FALSE,
which is what I dislike.
Best, Ulrike
Kevin R. Coombes schrieb:
It seems to
On Sep 7, 2010, at 3:07 PM, ghostwheel wrote:
Simon Urbanek wrote:
I don't know the mechanics of the actual inserting in TeXmac but it
would be trivial to simply create a copy of the plot as EPS (or whatever
is needed) at the time of insertion. See dev.copy2eps() for a function
that
Hi Ulrike
any set of three people will probably have five different opinions on
this, but I can see that this makes sense:
NA - not available, not measured, not recorded
NaN - result of an arithmetic computation that lies outside of the real
numbers; in that sense, available.
However,
Simon Urbanek wrote:
It doesn't really matter where the R is as long as you have some way of
getting at the results. You are still leaving us in the dark as of what
exactly you do (technically) so there is not much detail we can provide...
Sorry, I'll try to provide more detail:
I
Seb
That thread and the resources in Biobase assumes that you have a class
that extends Versioned. Doing so will help you in the long run by
providing you with updateObject (at the cost of some complexity).
However, it does not really help you if the existing class does not
extend Versioned.
In
Hi
On 8/09/2010 9:23 a.m., Simon Urbanek wrote:
On Sep 7, 2010, at 3:07 PM, ghostwheel wrote:
Simon Urbanek wrote:
I don't know the mechanics of the actual inserting in TeXmac but it
would be trivial to simply create a copy of the plot as EPS (or whatever
is needed) at the time of
I found a bug in one of the fourteen speed patches I posted, namely in
patch-vec-subset. I've fixed this (I now see one does need to
duplicate index vectors sometimes, though one can avoid it most of the
time). I also split this patch in two, since it really has two
different and independent
16 matches
Mail list logo