Displaying 11 results from an estimated 11 matches for "helpforcall".
2006 Oct 11
1
Possible bug in accessing methods documentation? (PR#9291)
...featureNames(sample.ExpressionSet)
>> z[1:2]
> [1] "AFFX-MurIL2_at" "AFFX-MurIL10_at"
>> ?featureNames(sample.ExpressionSet)
> Warning message:
> no method defined for function 'featureNames' and signature 'object = "missing"' in: .helpForCall(e1Expr, parent.frame())
> Error in .helpForCall(e1Expr, parent.frame()) :
> no documentation for function 'featureNames' and signature 'object = "missing"'
>
>
> Am I expecting the wrong thing or is this broken?
I think it's broken. The l...
2006 Oct 11
1
Possible bug in accessing methods documentation?
...ase"
> z <- featureNames(sample.ExpressionSet)
> z[1:2]
[1] "AFFX-MurIL2_at" "AFFX-MurIL10_at"
> ?featureNames(sample.ExpressionSet)
Warning message:
no method defined for function 'featureNames' and signature 'object = "missing"' in: .helpForCall(e1Expr, parent.frame())
Error in .helpForCall(e1Expr, parent.frame()) :
no documentation for function 'featureNames' and signature 'object = "missing"'
Am I expecting the wrong thing or is this broken?
+ seth
2008 Mar 13
2
Making custom unary operators in R
...ode for the '?' operator almost seems to suggest that a mixed
unary / binary non-primitive R function is possible::
> get('?')
function (e1, e2)
{
e1Expr <- substitute(e1)
if (missing(e2)) {
if (is.call(e1Expr))
return(.helpForCall(e1Expr, parent.frame()))
if (is.name(e1Expr))
e1 <- as.character(e1Expr)
eval(substitute(help(TOPIC), list(TOPIC = e1)))
}
else {
if (is.name(e1Expr))
e1 <- as.character(e1Expr)
e2Expr <- substi...
2006 Jun 20
2
Documentation issues [Was: Function hints]
...that this is a deficiency with my
> > function, and easily fixed by automatically referring to the generic
> > if the specific isn't documented.
>
> I'd say it's a deficiency of your function. You might want
> to look at
> the code in get("?") and .helpForCall() to see how those
> functions work
> out things like
>
> ?simulate(x)
>
> where x is an lm object. (But notice that .helpForCall is an
> undocumented internal function; don't depend on its implementation
> working forever).
>
> > * It can't supply...
2005 Mar 03
1
Simple suggestion for improvement
Hello,
Being relatively new to R, I often find myself searching for functions
using help.search("term"). Why not have the command ??term invoke it in
the same way as ?topic invokes index.search("topic")? Using a double
question mark to invoke a wider search for a term seems relatively
intuitive to me, and presumably would be trivial to implement.
Cheers
Yan Wong
Leeds
2019 Mar 22
2
selectMethod() can fail to find methods in situations of multiple dispatch
Fine with me as long as eliminating the inconveniences associated with it can be put on the roadmap. The alias instability and the fact that the user has no way to know if s/he should do ?`foo,numeric-method` or ?`foo,numeric,ANY-method` to find the method has been a long-standing problem.
H.
On 3/21/19 21:29, Michael Lawrence wrote:
If we started over, I'd try to avoid this sort of
2006 Jun 20
1
[R] Function hints
...that this is a deficiency with my
> > function, and easily fixed by automatically referring to the generic
> > if the specific isn't documented.
>
> I'd say it's a deficiency of your function. You might want
> to look at
> the code in get("?") and .helpForCall() to see how those
> functions work
> out things like
>
> ?simulate(x)
>
> where x is an lm object. (But notice that .helpForCall is an
> undocumented internal function; don't depend on its implementation
> working forever).
>
> > * It can't supply...
2006 Jun 19
2
Function hints
One of the recurring themes in the recent UserR conference was that
many people find it difficult to find the functions they need for a
particular task. Sandy Weisberg suggested a small idea he would like
to see: a hints function that given an object, lists likely
operations. I've done my best to implement this function using the
tools currently available in R, and my code is included at the
2006 Jun 19
2
Function hints
One of the recurring themes in the recent UserR conference was that
many people find it difficult to find the functions they need for a
particular task. Sandy Weisberg suggested a small idea he would like
to see: a hints function that given an object, lists likely
operations. I've done my best to implement this function using the
tools currently available in R, and my code is included at the
2007 Apr 24
0
R 2.5.0 is released
...form "\xc1" rather than "<c1>", which means they can be
parsed/scanned.
o Printing functions (without source attributes) and expressions
now preserves integers (using the L suffix) and NAs (using
NA_real_ etc where necessary).
o The 'internal' objects .helpForCall, .tryHelp and topicName are
no longer exported from 'utils'.
o The internal regex code has been upgraded to glibc 2.5 (from 2.3.6).
o Text help now attempts to display files which have an \encoding
section in the specified encoding via file.show().
o R now attempts to keep...
2007 Apr 24
0
R 2.5.0 is released
...form "\xc1" rather than "<c1>", which means they can be
parsed/scanned.
o Printing functions (without source attributes) and expressions
now preserves integers (using the L suffix) and NAs (using
NA_real_ etc where necessary).
o The 'internal' objects .helpForCall, .tryHelp and topicName are
no longer exported from 'utils'.
o The internal regex code has been upgraded to glibc 2.5 (from 2.3.6).
o Text help now attempts to display files which have an \encoding
section in the specified encoding via file.show().
o R now attempts to keep...