Displaying 4 results from an estimated 4 matches for "peterhansl".
2011 Jun 01
1
read.csv and FileEncoding in Windows version of R 2.13.0
Dear R-devel List:
read.csv() seems to have changed in R version 2.13.0 as compared to version 2.12.2 when reading in simple CSV files.
Suppose I read in a 2-column CSV file ("test.csv"), say
1, a
2, b
If file is encoded as UTF-8 (on Windows 7), then under R 2.13.0
read.csv("test.csv",fileEncoding="UTF-8",header=FALSE) yields the following output
V1
1 ?
Warning
2009 Oct 15
1
tapply() and using factor() on a factor
Dear List,
Shouldn't result1 and result2 be equal in the following case?
Note that log$RequestID is a factor. That is, is.factor(log$RequestID)
yields TRUE.
result1 <- tapply(log$Flag,factor(log$RequestID),sum)
result2 <- tapply(log$Flag,log$RequestID,sum)
Yet, when I summarize the output, I get the following:
summary(result1)
Min. 1st Qu. Median Mean 3rd Qu.
2010 Mar 19
2
strptime(): on Linux system it seems to call system time?
[I am herewith re-posting this message on R-devel, as it seems to be the
most appropriate mailing list for this issue.]
Dear List,
>From what I understand, strptime() simply converts from one class
representation to another; i.e., from character to POSIXct/POSIXlt.
One strange feature of this command running on Linux is that there are
repeated calls to system time (as was revealed
2010 Mar 18
0
strptime(): on Linux system it seems to call system time?
Dear List,
For what I understand, strptime() simply converts from one class
representation to another; i.e., from character to POSIXct/POSIXlt.
One strange feature of this command running on Linux is that there are
repeated calls to system time (as was revealed in a trace of system
calls), which considerably affect performance. These system calls end
up taking almost 75% of the execution