From mdowle at mdowle.plus.com  Wed Jan 26 00:30:07 2011
From: mdowle at mdowle.plus.com (Matthew Dowle)
Date: Tue, 25 Jan 2011 15:30:07 -0800 (PST)
Subject: [Rd] match function causing bad performance when using
 tablefunction on factors with multibyte characters on Windows
In-Reply-To: <96D7BCDC-2FCF-4FB6-BDE6-0A55DAB57DA5@r-project.org>
References: <ihbko3$efs$1@dough.gmane.org> <ihkd01$bem$1@dough.gmane.org>
	<ihm9qq$9ej$1@dough.gmane.org>
	<96D7BCDC-2FCF-4FB6-BDE6-0A55DAB57DA5@r-project.org>
Message-ID: <1295998207120-3237228.post@n4.nabble.com>


Thanks Simon!  I can reproduce this on Linux now, too.
locale -a didn't show en_US.iso88591 for me so I needed
'sudo locale-gen en_US' first.
Then running R with 
$ LANG="en_US.ISO-8859-1" R
is enough to reproduce the problem.

Karl - can you use tabulate instead as Simon suggests?

Matthew

-- 
View this message in context: http://r.789695.n4.nabble.com/match-function-causing-bad-performance-when-using-table-function-on-factors-with-multibyte-characters-tp3229526p3237228.html
Sent from the R devel mailing list archive at Nabble.com.



[Rd] match function causing bad performance when using tablefunction on factors with multibyte characters on Windows
Matthew Dowle