On 25-04-2013, at 07:21, Crish.. wrote:
> Hello Guys,
>
> I wanted to build a new R package from the R code. I installed all the
> required software and made all the path settings.
>
> When i tried running,
> cmd> RCMD check SamplePackageName
>
> while "Checking R code for possible errors"
Hello Guys,
I wanted to build a new R package from the R code. I installed all the
required software and made all the path settings.
When i tried running,
cmd> RCMD check SamplePackageName
while "Checking R code for possible errors"
i have encountered a note saying: waning in png(file=Output
Hello Guys,
I wanted to build a new R package from the R code. I installed all the
required software and made all the path settings.
When i tried running,
cmd> RCMD check SamplePackageName
while "Checking R code for possible errors"
i have encountered a note saying: waning in png(file=Output
On 13-04-24 8:08 PM, Hervé Pagès wrote:
On 04/18/2013 11:41 AM, Yihui Xie wrote:
I second the change of "} else {".
Me too. Note that print.function() will screw it only if you use
useSource=FALSE:
> print.function(foo3, useSource=FALSE)
function ()
{
if (FALSE) {
On 04/18/2013 11:41 AM, Yihui Xie wrote:
I second the change of "} else {".
Me too. Note that print.function() will screw it only if you use
useSource=FALSE:
> print.function(foo3, useSource=FALSE)
function ()
{
if (FALSE) {
letters
}
else {
LETTERS
}
}
On 04/24/2013 09:02 AM, peter dalgaard wrote:
This is now fixed in R-devel (never actually bit anyone, did it?)
Thanks for fixing... before someone gets bitten :-)
as.vector() just made it into the BiocGenerics package, and the man
page for BiocGenerics::as.vector redirects the reader to the m
On 04/24/2013 12:00 PM, Hervé Pagès wrote:
Hi,
On 04/24/2013 09:27 AM, William Dunlap wrote:
>>> is.unsorted(NA)
>> [1] NA
>> => Contradicts "all objects of length 0 or 1 are sorted".
Ok. I really think we should change the above.
If NA is for a missing number, it still cannot b
Hi,
On 04/24/2013 09:27 AM, William Dunlap wrote:
>>> is.unsorted(NA)
>> [1] NA
>> => Contradicts "all objects of length 0 or 1 are sorted".
Ok. I really think we should change the above.
If NA is for a missing number, it still cannot be unsorted if it
is of length one.
--> the ab
Many thanks for these comments Simon, that really helps me a lot!
warm regards
David
On 23/04/13 19:30, Simon Urbanek wrote:
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
>>>> is.unsorted(NA)
>>> [1] NA
>>> => Contradicts "all objects of length 0 or 1 are sorted".
>
> Ok. I really think we should change the above.
> If NA is for a missing number, it still cannot be unsorted if it
> is of length one.
>
> --> the above will give FALSE "real soon now".
Hi Pat,
You could use substitute(),
> mycall <- quote(list(lm(Y ~ x1), lm(Y ~ x2)))
> do.call("substitute", list(mycall, list(lm=quote(stats::lm
list(stats::lm(Y ~ x1), stats::lm(Y ~ x2))
The do.call is necessary because substitute() does not evaluate
its first argument and we want 'myc
This is now fixed in R-devel (never actually bit anyone, did it?)
-pd
On Apr 24, 2013, at 08:11 , peter dalgaard wrote:
>>>
>>> is.vector(as.vector("a", "name"), "name")
>> [1] FALSE
>>
>> Mmmh, the default method itself doesn't seem to follow its own
>> conventions :-/
>>
>
> Looks like the
Hi Martin,
On 04/24/2013 02:29 AM, Martin Maechler wrote:
Dear Herve,
Hervé Pagès
on Tue, 23 Apr 2013 23:09:21 -0700 writes:
> Hi, In the man page for is.unsorted():
>Value:
> A length-one logical value. All objects of length 0
> or 1 are sorted: the re
On 04/24/2013 12:53 AM, Martin Maechler wrote:
Hervé Pagès
on Tue, 23 Apr 2013 16:20:00 -0700 writes:
> 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 arg
More comments .. see inline
> Martin Maechler
> on Wed, 24 Apr 2013 11:29:39 +0200 writes:
> Dear Herve,
> Hervé Pagès
> on Tue, 23 Apr 2013 23:09:21 -0700 writes:
>> Hi, In the man page for is.unsorted():
>> Value:
>> A length-one logical value. All obje
Thank you very much Peter. That did the trick.
Frank
Peter Dalgaard-2 wrote
> On Apr 24, 2013, at 15:59 , Frank Harrell wrote:
>
>> I found that package quantreg has created a new generic for latex() [I
>> wish
>> it hadn't; this has been a generic in Hmisc for almost 2 decades]. When
>> I
>> r
On Apr 24, 2013, at 15:59 , Frank Harrell wrote:
> I found that package quantreg has created a new generic for latex() [I wish
> it hadn't; this has been a generic in Hmisc for almost 2 decades]. When I
> require(quantreg) after loading rms, latex(anova.rms object) dispatches
> latex.default, bu
I found that package quantreg has created a new generic for latex() [I wish
it hadn't; this has been a generic in Hmisc for almost 2 decades]. When I
require(quantreg) after loading rms, latex(anova.rms object) dispatches
latex.default, but everything is fine if I don't load quantreg. rms has
imp
On Wed, Apr 24, 2013 at 4:29 AM, Patrick Burns wrote:
> Here is an example problem:
>
>> mycall <- expression(lm(Y ~ x))[[1]]
>> mycall
> lm(Y ~ x)
>> newname <- "stats::lm"
>
>> desiredResult
> stats::lm(Y ~ x)
>
> I've solved the problem in the kludgy way of
> deparsing, fixing the string and th
There's also the brute force option:
> mycall <- expression(lm(Y ~ x))[[1]]
> mycall[[1]] <- quote(stats::lm)
> mycall
stats::lm(Y ~ x)
> eval(mycall, list(Y=rnorm(5),x=1:5))
Call:
stats::lm(formula = Y ~ x)
Coefficients:
(Intercept)x
0.07430 0.02981
On Apr 24, 2013, a
Here is an example problem:
> mycall <- expression(lm(Y ~ x))[[1]]
> mycall
lm(Y ~ x)
> newname <- "stats::lm"
> desiredResult
stats::lm(Y ~ x)
I've solved the problem in the kludgy way of
deparsing, fixing the string and then parsing.
I like Duncan's third method, but it seems like
it assumes
Dear Herve,
> Hervé Pagès
> on Tue, 23 Apr 2013 23:09:21 -0700 writes:
> 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
> Hervé Pagès
> on Tue, 23 Apr 2013 16:20:00 -0700 writes:
> 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
>
23 matches
Mail list logo