On Tue, Jan 31, 2017 at 3:30 PM, peter dalgaard wrote:
>
>> On 31 Jan 2017, at 18:56 , Avraham Adler wrote:
>>
>> Hello.
>>
>> When trying to unpack today's version of R-patched,
>
> From which source? The files from cran.r-project.org seems OK, both those in
> src/base-prerelease and those from
> On 31 Jan 2017, at 18:56 , Avraham Adler wrote:
>
> Hello.
>
> When trying to unpack today's version of R-patched,
>From which source? The files from cran.r-project.org seems OK, both those in
>src/base-prerelease and those from ETHZ. Also, is it not "tar -xfz" when
>reading a compressed f
Hello.
When trying to unpack today's version of R-patched, I get the following error:
C:\R>tar -xf R-patched_2017-01-30.tar.gz
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
I got the same error for R-
Hi Thomas,
This seems fully expected behaviour. Obviously unspecified arguments are
evaluated as missing regardless of a default value. So if you set mu as a
default, the function will call C_rnbinom with n, size and prob. As prob is
not specified you get the error one would expect. Specifying a d
> Suharto Anggono Suharto Anggono via R-devel
> on Tue, 31 Jan 2017 15:43:53 + writes:
> Function 'aggregate.data.frame' in R has taken a different route. With
drop=FALSE, the function is also applied to subset corresponding to combination
of grouping variables that doesn't
I am trying to reset the default arguments in the rnbinom function with the
following example code:
params <- c("size" = 1, "mu" = 1)
formals(rnbinom)[names(params)] <- params
rnbinom(n = 10)
It returns the following:
Error in rnbinom(n = 10) : argument "prob" is missing, with no default
If I s
Function 'aggregate.data.frame' in R has taken a different route. With
drop=FALSE, the function is also applied to subset corresponding to combination
of grouping variables that doesn't appear in the data (example 2 in
https://stat.ethz.ch/pipermail/r-devel/2017-January/073678.html).
Because 'd