[R] new read.table() error message in R 2.13.0 reading UTF-8 input

2011-06-27 Thread Levy, Roger
Hi, Consistent with recent reports (http://tolstoy.newcastle.edu.au/R/e14/devel/11/06/0434.html) I have found what I believe is an error new to R 2.13.0 when reading a UTF-8 encoded file. Minimal example: === filename: test.txt = 1 2 3 Я 4 ===

Re: [R] Hashing and environments

2010-11-06 Thread Levy, Roger
gt;> [1] 8 >> >> $EntryNo >> [1] 14736 >> >>> sum(samp==14736) >> [1] 8 >> >> If we do this with a non-hashed environment we get the same >> answers but the elapsed time is now 34.81 seconds instead of >> 2.14. If you make wfreq

[R] Hashing and environments

2010-11-06 Thread Levy, Roger
Hi, I'm trying to write a general-purpose "lexicon" class and associated methods for storing and accessing information about large numbers of specific words (e.g., their frequencies in different genres). Crucial to making such a class practically useful is to get hashing working correctly so t

[R] Can Sweave be instructed to use the cairo graphics device?

2010-10-08 Thread Levy, Roger
etimes or always) to produce graphics when it processes R code. Is this possible? Many thanks, Roger Levy -- Roger Levy Email: rl...@ling.ucsd.edu Assistant Professor Phone: 858-534-7219 Department of Linguistics Fax: 858-534-4789 UC San Diego