search for: u0394q

Displaying 1 result from an estimated 1 matches for "u0394q".

2008 May 25
1
Using unicode with sprintf or paste in Windows (PR#11515)
...s XP SP2 Submission from: (NULL) (24.80.163.230) Using Unicode characters in Windows works with static strings (as of R 2.7.0), however fails when used with sprintf() or paste(). For example, on R 2.7.0 for Windows XP (SP2): Static string (works, showing Greek Delta character): > print("\u0394Q = 2.2 L/s") [1] "&#916;Q = 2.2 L/s" However, when I use paste() or sprintf(), the Unicodeness is lost: > paste("\u0394Q =",round(1.2345,3),"L/s") [1] "<U+0394>Q = 1.234 L/s" > sprintf("\u0394Q = %.3f L/s",1.2345) [1] "<...