Re: [Rd] encoding question again

2007-12-27 Thread Matthias Wendel
Hi, simon, i followed your advice by adding/changing the lines abt = iconv(abt,"utf-8","latin1") zz = file( paste("Itemtabelle/Itemtabelle", abt, ".html"), "wt", encoding = "latin1") but this yielded the same results. Cheers, Matthias -Ursprüngliche Nachricht- Von: Simon

Re: [Rd] encoding question again

2007-12-27 Thread Simon Urbanek
Matthias, you get exactly what you specified - namely UTF-8. If you want your html file to be latin1, then you have to say so: zz = file( paste("Itemtabelle/Itemtabelle", abt, ".html"), "wt", encoding = "latin1") In addition, you're assuming that `abt' is in the correct encoding to be unde

[Rd] encoding question again

2007-12-27 Thread Matthias Wendel
Hi, R Devils, I'm running the actual R version in JGR (version 1.5-8 ). Sys.getlocale(category = "LC_ALL") yields [1] "LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252" I want to write some HTML-Code enhanced by

Re: [Rd] R-ints typos

2007-12-27 Thread Martin Maechler
> "BB" == Ben Bolker <[EMAIL PROTECTED]> > on Mon, 24 Dec 2007 12:56:22 -0500 writes: BB> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BB> "Internationalization" is misspelled (as BB> "Internationaliation") throughout the R-ints document BB> ... I ran ispell on the

Re: [Rd] x=.94 (PR#10529)

2007-12-27 Thread Uwe Ligges
Please do read the R FAQ: "Why doesn't R think these numbers are equal?" and before posting, you should have read the R FAQ: "What is a bug?" that points you to the former FAQ! Uwe Ligges [EMAIL PROTECTED] wrote: > I am using R Version 2.6.2007-11-23. I do not know if the problem exists >

Re: [Rd] x=.94 (PR#10529)

2007-12-27 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > I am using R Version 2.6.2007-11-23. I do not know if the problem exists > for other values or versions > > I encountered a problem when searching for the number 0.94 and 0.95 in a > vector of values. I illustrate it below by creating a sequence of values 2 > ways and t

[Rd] x=.94 (PR#10529)

2007-12-27 Thread jrecta
I am using R Version 2.6.2007-11-23. I do not know if the problem exists for other values or versions I encountered a problem when searching for the number 0.94 and 0.95 in a vector of values. I illustrate it below by creating a sequence of values 2 ways and then looking for the value 0.94 (same