BDR == Prof Brian Ripley [EMAIL PROTECTED]
on Tue, 7 Feb 2006 08:52:43 + (GMT) writes:
BDR For the record, some of these claims are untrue:
df(0, 2, 2)
BDR [1] 1
df(0, 1.3, 2)
BDR [1] Inf
Well, these first two I had fixed in the mean time.
So Ian was right about
BDR == Prof Brian Ripley [EMAIL PROTECTED]
on Mon, 6 Feb 2006 19:44:50 + (GMT) writes:
BDR An S4 object is just a list with attributes, so a
BDR vector type. match() works with all vector types
BDR including lists, as you found out (or could have read).
yes, the internal
On 7 Feb 2006, [EMAIL PROTECTED] wrote:
The solution has been agreed to be changing the internal
representation of S4 objects making them a new SEXP (basic R
type); and as Brian alludes to, the problem is that those in
R-core that want to and are able to do this didn't have the time
for that
In fact there is a heuristic test that is cheap and reasonably
reliable. The class attribute generated for S4 objects itself has an
attribute, package. A C-level test for the existence of that
attribute is cheap enough, I would think, that most anti-S4 users
wouldn't notice it in match(),
Seth == Seth Falcon [EMAIL PROTECTED]
on Tue, 07 Feb 2006 07:20:17 -0800 writes:
Seth On 7 Feb 2006, [EMAIL PROTECTED] wrote:
The solution has been agreed to be changing the internal
representation of S4 objects making them a new SEXP (basic R
type); and as Brian alludes
1. promptClass generated a file that included
\section{Methods}{
No methods defined with class mspathDistributedCalculator in the
signature.
}
Yet there are such methods. Is this a not-working yet feature, or is
something funny going on (maybe I have definitions in the library and in
the global
Is there a way to rename a function when importing it? I want to say,
import yourFunc from Foo as myFunc in the NAMESPACE file.
Does this exist and I've missed it? If it doesn't exist, would others
think it useful (and possible)?
Best,
+ seth
__
On 2/7/2006 8:48 PM, Seth Falcon wrote:
Is there a way to rename a function when importing it? I want to say,
import yourFunc from Foo as myFunc in the NAMESPACE file.
Does this exist and I've missed it? If it doesn't exist, would others
think it useful (and possible)?
I don't know if
On 2/7/2006 8:48 PM, Seth Falcon wrote:
Is there a way to rename a function when importing it? I
want to say,
import yourFunc from Foo as myFunc in the NAMESPACE file.
I don't think Seth's facility exists yet, but it has occurred to me
previously that it would be useful when you need
If a user mis-types a directive in the NAMESPACE file, the error
message is quite cryptic. If it was possible to report the offending
line/text that would likely give a valuable clue to the user.
Try putting the following line in NAMESPACE
foo(bar)
Then R CMD INSTALL says,
* Installing
On Tue, 7 Feb 2006, Seth Falcon wrote:
If a user mis-types a directive in the NAMESPACE file, the error
message is quite cryptic. If it was possible to report the offending
line/text that would likely give a valuable clue to the user.
Try putting the following line in NAMESPACE
foo(bar)
On 7 Feb 2006, [EMAIL PROTECTED] wrote:
I suspect this line in namespace.R:
}
stop(gettextf(unknown namespace directive: %s, deparse(e)),
call. = FALSE, domain = FALSE)
Does domain=NA solve this?
Seems to me for me. I now see an error message like:
* Installing *source* package
12 matches
Mail list logo