Dear R team,
when using optim with method "CG" I got the wrong $value for the
reported $par.
Example:
f<-function(p) {
if (!all(p>-.7)) return(2)
if (!all(p<.7)) return(2)
sin((p[1])^2)*sin(p[2])
}
optim(c(0.1,-0.1),f,method="CG",control=list(trace=0,type=1))
$par 19280.68
I have a few questions and thoughts regarding class versioning and
serialized S4 class instances.
How is the version argument to setClass is intended to work? It
appears to want an externalptr, but that seems odd to me.
setClass("FOO", representation(x="numeric"), version="1.2.3")
Error
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert Gentleman wrote:
>
> ...
> As for the difference between source packages and built packages, yes
> it would be nice at some time to enter into a discussion on that topic.
> There are lots of things that can be done at build time (
Kurt Hornik wrote:
>>Simon Urbanek writes:
>
>
>>On Apr 20, 2006, at 1:23 PM, Henrik Bengtsson (max 7Mb) wrote:
>>
>>>Is it a general consensus on R-devel that *.tar.gz distributions
>>>should only be treated as a distribution for *building* packages
>>>and not for developing them?
>
>
On Fri, 21 Apr 2006, Kurt Hornik wrote:
>> Simon Urbanek writes:
>
>> On Apr 20, 2006, at 1:23 PM, Henrik Bengtsson (max 7Mb) wrote:
>>> Is it a general consensus on R-devel that *.tar.gz distributions
>>> should only be treated as a distribution for *building* packages
>>> and not for develop
Marc Schwartz wrote:
> On Thu, 2006-04-20 at 20:56 +0100, Prof Brian Ripley wrote:
>> gannet% locale -ck LC_PAPER
>> LC_PAPER
>> height=297
>> width=210
>> paper-codeset="ISO-8859-1"
> BTW, on my FC4 system:
>
> $ locale -ck LC_PAPER
> LC_PAPER
> height=279
> width=216
> paper-codeset="UTF-8"
2
On Fri, 21 Apr 2006, Hin-Tak Leung wrote:
> Prof Brian Ripley wrote:
>
>> It does not exist in any system at present (not even mine): just an idea in
>> my head to represent the default found at configure time.
>>
>> In some sense LC_PAPER is set on FC3:
>>
>> gannet% locale -ck LC_PAPER
>> LC
Prof Brian Ripley wrote:
> It does not exist in any system at present (not even mine): just an idea
> in my head to represent the default found at configure time.
>
> In some sense LC_PAPER is set on FC3:
>
> gannet% locale -ck LC_PAPER
> LC_PAPER
> height=297
> width=210
> paper-codeset="ISO-8
On Fri, 21 Apr 2006, [EMAIL PROTECTED] wrote:
Full_Name: Lutz Prechelt
Version: 2.2.1
OS: WinXP SP2
Submission from: (NULL) (130.133.8.114)
This command
plot(0, 0, xlim=c(3, 5), ylim=c(0, 10, 17))
should complain about 'ylim' (because it has three elements).
However, it does in fact (in my
Full_Name: Lutz Prechelt
Version: 2.2.1
OS: WinXP SP2
Submission from: (NULL) (130.133.8.114)
This command
plot(0, 0, xlim=c(3, 5), ylim=c(0, 10, 17))
should complain about 'ylim' (because it has three elements).
However, it does in fact (in my german error message at least)
complain about 'x
> Simon Urbanek writes:
> On Apr 20, 2006, at 1:23 PM, Henrik Bengtsson (max 7Mb) wrote:
>> Is it a general consensus on R-devel that *.tar.gz distributions
>> should only be treated as a distribution for *building* packages
>> and not for developing them?
[Actually, distributing so that
11 matches
Mail list logo