On Apr 24, 2013, at 01:48 , Hervé Pagès wrote:
> In the man page for as.vector() (same as man page for vector()):
>
> Writers of methods for ‘as.vector’ need to take care to follow the
> conventions of the default method. In particular
>
>• Argument ‘mode’ can be ‘"any"’, any o
Hi,
In the man page for is.unsorted():
Value:
A length-one logical value. All objects of length 0 or 1 are
sorted: the result will be ‘NA’ for objects of length 2 or more
except for atomic vectors and objects with a class (where the ‘>=’
or ‘>’ method is used to compare ‘
I have updated the rms package to extensively use NAMESPACE. I cannot get
certain S3 methods to dispatch. For example I have in NAMESPACE
S3method(anova, rms)
S3method(latex, anova.rms)
anova.rms produces an object of class "anova.rms" and there is a
latex.anova.rms function in rms. But when I
In the man page for as.vector() (same as man page for vector()):
Writers of methods for ‘as.vector’ need to take care to follow the
conventions of the default method. In particular
• Argument ‘mode’ can be ‘"any"’, any of the atomic modes,
‘"list"’, ‘"expression"’, ‘
On Apr 23, 2013, at 12:43 PM, dpleydell wrote:
> Many thanks Simon for your response
>>> Identifying the source of the message is a non-trivial problem because
>>> there are a large number of calls to printf and fprintf etc in several
>>> thousands of lines of code spread over many different *.c
Hi,
In the man page for vector():
length: A non-negative integer specifying the desired length. Double
values will be coerced to integer: supplying an argument of
length other than one is an error.
Since long vectors are supported, it doesn't seem to be true anymore
that
On 13-04-23 3:51 PM, Patrick Burns wrote:
Okay, that's a good reason why it shouldn't.
Why it should is that I want to substitute
the first element of a call to be a function
including the namespace.
Three ways:
1. Assign the function from the namespace locally, then call the local one.
2.
On Apr 23, 2013, at 21:51 , Patrick Burns wrote:
> Okay, that's a good reason why it shouldn't.
>
> Why it should is that I want to substitute
> the first element of a call to be a function
> including the namespace.
Offhand, I'd say that it shouldn't be a problem, but do you have a more
concr
Okay, that's a good reason why it shouldn't.
Why it should is that I want to substitute
the first element of a call to be a function
including the namespace.
Pat
On 23/04/2013 18:32, peter dalgaard wrote:
On Apr 23, 2013, at 19:23 , Patrick Burns wrote:
'as.name' doesn't recognize a name w
On 23/04/2013 9:07 AM, Prof Brian Ripley wrote:
Is this not PR#15282? No one has got to it yet.
Fixed now in R-devel; just testing R-patched.
Duncan Murdoch
On 23/04/2013 07:32, Michael Nelson wrote:
> Having loaded a package that masks an object from another package, calling
>
>
> help(con
On Apr 23, 2013, at 19:23 , Patrick Burns wrote:
> 'as.name' doesn't recognize a name with
> its namespace extension as a name:
>
> > as.name("lm")
> lm
> > as.name("stats::lm")
> `stats::lm`
> > as.name("stats:::lm")
> `stats:::lm`
>
>
> Is there a reason why it shouldn't?
Any reason why it
'as.name' doesn't recognize a name with
its namespace extension as a name:
> as.name("lm")
lm
> as.name("stats::lm")
`stats::lm`
> as.name("stats:::lm")
`stats:::lm`
Is there a reason why it shouldn't?
Pat
--
Patrick Burns
pbu...@pburns.seanet.com
twitter: @burnsstat @portfolioprobe
http://w
Many thanks Simon for your response
>> Identifying the source of the message is a non-trivial problem because there
>> are a large number of calls to printf and fprintf etc in several thousands
>> of lines of code spread over many different *.c files.
>>
> There should be none, so apparently you
On Apr 23, 2013, at 10:51 AM, dpleydell wrote:
> I've been developing a package called foobar for a couple of years now. It
> has evolved through various versions, but has always contained compiled C
> code. Recently, R CMD check has started generating the following message
>
> [START QUOTE]
>
>
>> Is this a bug ?
>>
>
> Not in parallel. Something else has changed, and I am about to commit a
> different version that still works as documented.
>
>
Thanks for replying.
[[alternative HTML version deleted]]
__
R-devel@r-project.org maili
I've been developing a package called foobar for a couple of years now.
It has evolved through various versions, but has always contained
compiled C code. Recently, R CMD check has started generating the
following message
[START QUOTE]
R CMD check foobar_1.7.5.tar.gz
* using log directory ‘/h
On 4/22/2013 5:51 PM, Uwe Ligges wrote:
But this doesn't do anything, not even changing the timestamp on the
file, because the file size doesn't change enough.
Either you changed it or not, there is no "not enough".
I meant that the code in tools::compact compares the sizes of the old
and new
On 23/04/2013 5:34 AM, Knut Krueger wrote:
How can I add a new line in an rd file f.e between references?
As Uwe said, for a reference list a blank line between references is
probably best: in most reference styles, each reference is its own
paragraph. For other uses \cr will insert a bre
On 11/04/2013 12:43, Karl Forner wrote:
Hello,
Consider this:
1)
library(parallel)
res <- mclapply(1:2, stop)
#Warning message:
#In mclapply(1:2, stop) :
# all scheduled cores encountered errors in user code
is(res[[1]], 'try-error')
#[1] FALSE
2)
library(parallel)
res <- mclapply(1:2, stop,
Is this not PR#15282? No one has got to it yet.
On 23/04/2013 07:32, Michael Nelson wrote:
Having loaded a package that masks an object from another package, calling
help(conflictedname, help_type = 'html')
instead of producing a page giving the choices of help page available
The page prod
First, it is not a function. It is an R object in the stats namespace
and you can look at it like any other object:
> stats:::C_Cdqrls
$name
[1] "Cdqrls"
$address
attr(,"class")
[1] "RegisteredNativeSymbol"
$dll
DLL name: stats
Filename: /Users/ripley/R/R-devel/library/stats/libs/stats.so
Dy
On 23.04.2013 09:35, 赵自强 wrote:
Dear all,
I’m not sure if it is O.K. to ask this question here.
But where can I find the code for the function ‘C_Cdqrls’
which is called by the R function ‘lsfit‘.
Look into the R sources:
grepping for dqrls show
On 23.04.2013 11:34, Knut Krueger wrote:
How can I add a new line in an rd file f.e between references?
Keep a blank line between references.
Uwe Ligges
Knut
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Having loaded a package that masks an object from another package, calling
help(conflictedname, help_type = 'html')
instead of producing a page giving the choices of help page available
The page produced is
Error in httpd("/library/NULL/help/nobs", NULL, NULL, c(48, 6f, 73, 74, :
replacem
How can I add a new line in an rd file f.e between references?
Knut
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Dear all,
Iâm not sure if it is O.K. to ask this question here.
But where can I find the code for the function âC_Cdqrlsâ
which is called by the R function âlsfitâ.
Thank you all.
Sorry for being naïve if so.
-
26 matches
Mail list logo