On 13-04-30 3:38 AM, Suharto Anggono Suharto Anggono wrote:
This is just info.
I recently got something like this.
x <- factor(c("A","A","B","B"), levels=c("A","B"))
y <- factor(c("a","b","a","b"), levels=c("a","b"))
table(x, y)[, "a"] / table(x)
x
A B
0.5 0.5
attr(,"class")
[1] "table"
On 13-04-30 6:51 AM, Barry Rowlingson wrote:
On Tue, Apr 30, 2013 at 10:49 AM, Duncan Murdoch
wrote:
So it looks like the bug is in the implementation of "/". Either it
should drop the class, or it should set the object bit.
The difference in printing between auto-printing and explicit print
On Tue, Apr 30, 2013 at 10:49 AM, Duncan Murdoch
wrote:
> So it looks like the bug is in the implementation of "/". Either it
> should drop the class, or it should set the object bit.
>
> The difference in printing between auto-printing and explicit printing
> may be worth addressing, but really
We encounted a performance problem when a large number of R scripts are run
simulatanously. A large number of stat() system calls to /etc/timezone was
limiting how many scripts could be run effectively. I traced the problem to
as.Date.character where strptime() is called without a timezone arg
Both the following lines return 0 hits
grep printf *.c|grep -v Rprintf|grep -v fprintf
grep puts *.c
Is there some way to detect what has caused this warning about puts?
It's not a call to 'puts' or 'printf' because there are none.
Longshot:
grep '[^Rf]printf' *.c
Peter's longshot hit the b
On 13-04-30 3:38 AM, Suharto Anggono Suharto Anggono wrote:
This is just info.
I recently got something like this.
x <- factor(c("A","A","B","B"), levels=c("A","B"))
y <- factor(c("a","b","a","b"), levels=c("a","b"))
table(x, y)[, "a"] / table(x)
x
A B
0.5 0.5
attr(,"class")
[1] "table"
This is just info.
I recently got something like this.
> x <- factor(c("A","A","B","B"), levels=c("A","B"))
> y <- factor(c("a","b","a","b"), levels=c("a","b"))
> table(x, y)[, "a"] / table(x)
x
A B
0.5 0.5
attr(,"class")
[1] "table"
The printing indicates that the result is of class 'table'