I was surprised by this:
R --interactive -e 'interactive()'
bash-3.2$ R -q -e 'interactive()' --interactive
> interactive()
[1] FALSE
>
as the command options document says that --interactive should force
interactive=TRUE:
" When *R* is run in a terminal (via |Rterm.exe| on Windows), it assu
When a symbol in a package is resolved, R looks into the package's
environment, and then into the package's imports environment. Then, if the
symbol is still not resolved, it looks into the base package. So far so
good.
If still not found, it follows the 'search()' path, starting with the
global e
Hi all,
I've been using first() and last() for some time instead of x[1] and
x[length(x)] for vectors, and I gradually added methods for lists,
matrices, and data.frames.
In preparing the next release of the 'gdata' package (2.16.1) I settled on
these definitions, which harness the existing metho
On 28 April 2015 at 11:21, Hadley Wickham wrote:
| > install.packages("plyr", quiet = T)
|
| trying URL
'http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/plyr_1.8.2.tgz'
| Content type 'application/x-gzip' length 855795 bytes (835 KB)
| ==
|
On 28 April 2015 at 11:21, Hadley Wickham wrote:
| > install.packages("plyr", quiet = T)
|
| trying URL
'http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/plyr_1.8.2.tgz'
| Content type 'application/x-gzip' length 855795 bytes (835 KB)
| ==
On Mon, Apr 27, 2015 at 8:33 AM, peter dalgaard wrote:
>
>> On 27 Apr 2015, at 13:48 , Hadley Wickham wrote:
>>
>> Sometimes the absence of a name is maked by an NA:
>>
>> x <- 1:2
>> names(x)[[1]] <- "a"
>> names(x)
>> # [1] "a" NA
>>
>> Whereas other times its
>>
>> y <- c(a = 1, 2)
>> names(y)
> install.packages("plyr", quiet = T)
trying URL
'http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/plyr_1.8.2.tgz'
Content type 'application/x-gzip' length 855795 bytes (835 KB)
==
downloaded 835 KB
The downloaded binary packages are in
/t