Re: [Rd] R string comparisons may vary with platform (plain text)

2014-11-24 Thread Mark van der Loo
The 'stringi' package claims robust cross-platform performance. It exports much functionality of the ICU library and will attempt to install it when not present. The function 'stri_sort' accepts a collation argument that can be defined with 'stri_opts_collator'. On Sun, Nov 23, 2014 at 5:15 PM,

[Rd] tools::testInstalledBasic

2014-11-24 Thread richard h
Dear users, I have a problem when using the testInstalledBasic function in the tools package on my windows 7 machine. I specified the environment variables as stated in the Installation and administration manual (Sys.setenv(LC_COLLATE = "C", LANGUAGE = "en")) and ran the function on an installatio

[Rd] Error "promise already under evaluation ..."

2014-11-24 Thread Radford Neal
> The above question still stands, but otherwise, I overlooked the most > obvious solution: > > dim_1 <- function(x) dim(x) > > Unit: nanoseconds > expr minlq mean medianuq max neval cld > dim(x) 0 172.941 1 12696 1000

[Rd] How to read variable nr of chars from a Server Socket?

2014-11-24 Thread Vitalie Spinu
Hi, I am trying to implement messaging protocol that doesn't pre-specify the length of the message in the message header. In other words, I don't know in advance when I will reach the end of the message. I wrote C level parser for strings but when it came to reading from connections I got stuck