Re: [R] Unicode chars

2022-08-25 Thread dulcalma dulcalma
: "Jeff Newmiller" To: r-help@r-project.org; "dulcalma dulcalma" ; r-help@R-project.org Sent: Thursday, 25 Aug, 2022 At 1:25 PM Subject: Re: [R] Unicode chars Are you aware that pdfLatex does not support Unicode? You need to use xeLatex. But I don't use Sweave, so I do

Re: [R] Unicode chars

2022-08-25 Thread Richard O'Keefe
PDFLaTeX does support Latin-1, and this is a Latin-1 character. On Thu, 25 Aug 2022 at 15:35, Jeff Newmiller wrote: > Are you aware that pdfLatex does not support Unicode? You need to use > xeLatex. But I don't use Sweave, so I don't know how you go about making > that choice. > > On August 24,

Re: [R] Unicode chars

2022-08-25 Thread Enrico Schumann
On Thu, 25 Aug 2022, dulcalma dulcalma writes: > Dear All > > > I was trying the supplementary file GS_main.R from > https://esajournals.onlinelibrary.wiley.com/doi/abs/10.1002/ecy.3475 > > I have tried to prevent latex compilation from failing using Sweave > after trying all the online fixes I c

Re: [R] Unicode chars

2022-08-24 Thread Jeff Newmiller
Are you aware that pdfLatex does not support Unicode? You need to use xeLatex. But I don't use Sweave, so I don't know how you go about making that choice. On August 24, 2022 8:03:02 PM PDT, dulcalma dulcalma wrote: > >Dear All > > >I was trying the supplementary file GS_main.R from >https://es

Re: [R] Unicode Text Segmentation Algorithms already implemented in R?

2016-03-03 Thread Ista Zahn
You searched, but did not tell us what you found, nor why it was unsuitable for you undescribed use case. So all we can do is guess: my guess is http://docs.rexamine.com/R-man/stringi/stringi-search-boundaries.html Best, Ista On Mar 3, 2016 8:14 AM, "Sascha Wolfer" wrote: > Hello list members, >

Re: [R] unicode&pdf font problem RESOLVED

2011-03-01 Thread Ben Madin
plot(1:5,1:5, type='n') text(1:5,1:5,probstring) dev.off() ?Cairo suggests encoding is ignored if you do try to set it. cheers Ben On 14/01/2011, at 7:00 PM, r-help-requ...@r-project.org wrote: > Date: Thu, 13 Jan 2011 10:47:09 -0500 > From: Dav

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread David Winsemius
t umlaut. David. *S* On 11-01-13 16:17, tde...@cogpsyphy.hu wrote: Date: Thu, 13 Jan 2011 16:17:04 +0100 (CET) From: tde...@cogpsyphy.hu To: David Winsemius Cc: r-help@r-project.org Subject: Re: [R] unicode&pdf font problem RESOLVED Dear David, Thank you for your efforts. In

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread David Winsemius
Good work, Denes; Setting encodings to CP1250 in the pdf call allows the Hungarian umlaut glyph to be printed to a pdf document on Macs as well, which by the way uses a default postscript/pdf family="Helvetica". -- David. On Jan 13, 2011, at 10:17 AM, tde...@cogpsyphy.hu wrote: Dear Davi

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread Sascha Vieweg
ename.pdf", sep=""), 9, 6, pointsize = 11, family = "Helvetica", encoding = "CP1257") *S* On 11-01-13 16:17, tde...@cogpsyphy.hu wrote: Date: Thu, 13 Jan 2011 16:17:04 +0100 (CET) From: tde...@cogpsyphy.hu To: David Winsemius Cc: r-help@r-project.org Sub

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread tdenes
Dear David, Thank you for your efforts. Inspired by your remarks, I started a new google-search and found this: http://stackoverflow.com/questions/3434349/sweave-not-printing-localized-characters SO HERE COMES THE SOLUTION (it works on both OSs): pdf.options(encoding = "CP1250") pdf() plot(1,ty

Re: [R] unicode&pdf font problem

2011-01-13 Thread David Winsemius
On Jan 13, 2011, at 7:01 AM, tde...@cogpsyphy.hu wrote: Hi! Sorry for the missing specs, here they are: version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 12.1 year 2

Re: [R] unicode&pdf font problem

2011-01-13 Thread tdenes
Hi! Sorry for the missing specs, here they are: > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 12.1 year 2010 month 12 day16 svn rev5385

Re: [R] unicode&pdf font problem

2011-01-12 Thread David Winsemius
On Jan 12, 2011, at 11:11 PM, tde...@cogpsyphy.hu wrote: Dear List, I would like to print a plot into pdf. The problem is that the character \U0171 is replaced by a simple 'u' (i.e. without accents) in the pdf file. Example: # this works fine plot(1,type="n") text(1,1,"print \U0171") #

Re: [R] unicode variable and function names?

2011-01-03 Thread Duncan Murdoch
On 11-01-03 7:44 PM, stvienna wiener wrote: Dear List, Is it possible to have function names like ∀ (unicode universal quantifier)? This question is inspired by agda source code, which supports this. http://www.cs.nott.ac.uk/~nad/listings/lib-0.4/Algebra.html It would be handy to use. My gues

Re: [R] unicode variable and function names?

2011-01-03 Thread David Winsemius
On Jan 3, 2011, at 7:44 PM, stvienna wiener wrote: Dear List, Is it possible to have function names like ∀ (unicode universal quantifier)? This question is inspired by agda source code, which supports this. http://www.cs.nott.ac.uk/~nad/listings/lib-0.4/Algebra.html It would be handy to

Re: [R] unicode only works with a second one

2009-04-05 Thread Paul Murrell
Hi Thomas Steiner wrote: > Hi Greg and Paul, > > I tried several things, but I did not succeed: > > * I could not find the library(EBImage) on CRAN in Austria to open an > png image in R. > > * I could not import the image via pixmap (read.pnm) as described on > http://wiki.r-project.org/rwiki

Re: [R] unicode only works with a second one

2009-04-05 Thread David Winsemius
It's in the Bioconductor repository. http://bioconductor.org/packages/2.3/bioc/html/EBImage.html On Apr 5, 2009, at 6:14 AM, Thomas Steiner wrote: EBImage David Winsemius, MD Heritage Laboratories West Hartford, CT __ R-help@r-project.org mailing

Re: [R] unicode only works with a second one

2009-04-05 Thread Thomas Steiner
Hi Greg and Paul, I tried several things, but I did not succeed: * I could not find the library(EBImage) on CRAN in Austria to open an png image in R. * I could not import the image via pixmap (read.pnm) as described on http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:translucency

Re: [R] unicode only works with a second one

2009-04-01 Thread Thomas Steiner
Hi, thanks for all your hints. > One of the points of my.symbols is that you can define your own symbols to > use with it (hence the my). I tried this and it works fine. I need all the symbols and I will probably not trace them, but copy the svg code and modify them from http://commons.wikimedia

Re: [R] unicode only works with a second one

2009-04-01 Thread Greg Snow
ssage- > From: Thomas Steiner [mailto:finbref.2...@gmail.com] > Sent: Tuesday, March 31, 2009 4:07 PM > To: Jim Lemon; Greg Snow > Cc: r-help@r-project.org > Subject: Re: [R] unicode only works with a second one > > unfortunately in my.symbols there are no zodiac signs

Re: [R] unicode only works with a second one

2009-03-31 Thread Paul Murrell
Hi Thomas Steiner wrote: > unfortunately in my.symbols there are no zodiac signs, so I have to > choose unicode which does not work for me yet. Another workaround is to use the Hershey fonts. For example ... plot(c(-1,1),c(-4,-2),type="n") text(x=0, y=-3.0, "\\VE \\MA", family="HersheySerif",

Re: [R] unicode only works with a second one

2009-03-31 Thread Thomas Steiner
unfortunately in my.symbols there are no zodiac signs, so I have to choose unicode which does not work for me yet. Thomas 2009/3/31 Thomas Steiner : > Thanks for the feedback. > I did now try Vista (2.8.1), XP (2.9.0alpha) and Win2000 (2.8.1) and > non did work compeletely, only on Vista/2.8.1 I

Re: [R] unicode only works with a second one

2009-03-31 Thread Thomas Steiner
Thanks for the feedback. I did now try Vista (2.8.1), XP (2.9.0alpha) and Win2000 (2.8.1) and non did work compeletely, only on Vista/2.8.1 I got some symbols if I add the other sign. I will try the my.symbols later today, when i am at home. Thomas __ R-

Re: [R] unicode only works with a second one

2009-03-31 Thread Jim Lemon
Hi Thomas, I get the zodiac symbols okay without the trailing \u3030 on FC9 Linux and R-2.8.1. Perhaps it's only on Windows. Might try it at work tomorrow where I can boot into WinXP. Jim __ R-help@r-project.org mailing list https://stat.ethz.ch/mai

Re: [R] unicode only works with a second one

2009-03-30 Thread Greg Snow
I don't know how to help with the Unicode issue, but one alternative is the my.symbols function in the TeachingDemos package (see ?ms.male as well as ?my.symbols). Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111

Re: [R] unicode only works with a second one

2009-03-28 Thread Thomas Steiner
I forgot to ad some info: > sessionInfo() R version 2.9.0 alpha (2009-03-23 r48200) i386-pc-mingw32 locale: LC_COLLATE=German_Austria.1252;LC_CTYPE=German_Austria.1252;LC_MONETARY=German_Austria.1252;LC_NUMERIC=C;LC_TIME=German_Austria.1252 attached base packages: [1] stats graphics grDevic

Re: [R] unicode only works with a second one

2009-03-28 Thread Thomas Steiner
I now tried a differnt R version under a drifferent OS, even worse: R version 2.9.0 alpha (2009-03-23 r48200) with Windwos XP does only show "\u2642". Do I need to install some fonts or so? Thanks Thomas 2009/3/28 Thomas Steiner : > I'd like to paste a zodiac sign on a graph, but it only prints i

Re: [R] Unicode

2009-01-29 Thread Duncan Murdoch
On 1/29/2009 1:57 PM, R Heberto Ghezzo, Dr wrote: Hello, can somebody explain me why the following program does not work? It works for me, though \u2A8A and \u222C display as boxes, something like the way they do in Firefox if I look at this page: http://unicode.coeurlumiere.com/?n=8192 (bu

Re: [R] Unicode notation \x000

2008-08-25 Thread Prof Brian Ripley
On Mon, 25 Aug 2008, Christoph Heibl wrote: Dear list, I am trying to replace Unicode notation of German and Spanish special characters (as read in by read.csv from excel spreadsheets) by character strings that can be interpreted by LaTeX. Why? LaTeX can read UTF-8 if you tell it to. E.g

Re: [R] Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)

2008-06-01 Thread Hans-Jörg Bibiko
On 31.05.2008, at 00:11, Prof Brian Ripley wrote: On Fri, 30 May 2008, Duncan Murdoch wrote: But I think with Brian Ripley's work over the last while, R for Windows actually handles utf-8 pretty well. (It might not guess at that encoding, but if you tell it that's what you're using...) Ye

Re: [R] Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)

2008-05-30 Thread Prof Brian Ripley
On Fri, 30 May 2008, Duncan Murdoch wrote: On 5/30/2008 4:12 PM, Hans-Joerg Bibiko wrote: Quoting Duncan Murdoch <[EMAIL PROTECTED]>: On 5/30/2008 12:58 PM, Hans-Jörg Bibiko wrote: to put it simply. Windows cannot handle utf-8 data. There is no utf-8 locale available. Code page 65001 is

Re: [R] Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)

2008-05-30 Thread Duncan Murdoch
On 5/30/2008 4:12 PM, Hans-Joerg Bibiko wrote: Quoting Duncan Murdoch <[EMAIL PROTECTED]>: On 5/30/2008 12:58 PM, Hans-Jörg Bibiko wrote: to put it simply. Windows cannot handle utf-8 data. There is no utf-8 locale available. Code page 65001 is utf-8. Most text editors (including Notepad

Re: [R] Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)

2008-05-30 Thread Hans-Joerg Bibiko
Quoting Duncan Murdoch <[EMAIL PROTECTED]>: On 5/30/2008 12:58 PM, Hans-Jörg Bibiko wrote: to put it simply. Windows cannot handle utf-8 data. There is no utf-8 locale available. Code page 65001 is utf-8. Most text editors (including Notepad) include an option to save in the UTF-8 encodin

Re: [R] Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)

2008-05-30 Thread Duncan Murdoch
On 5/30/2008 12:58 PM, Hans-Jörg Bibiko wrote: Hi, to put it simply. Windows cannot handle utf-8 data. There is no utf-8 locale available. Code page 65001 is utf-8. Most text editors (including Notepad) include an option to save in the UTF-8 encoding. Some programs don't fully support ut

Re: [R] Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)

2008-05-30 Thread Hans-Jörg Bibiko
Hi, to put it simply. Windows cannot handle utf-8 data. There is no utf-8 locale available. If your corpus only contains Russian data, maybe English glosses etc. you can try to set lang of Rgui.exe to Russian. Then at least you can use grep, strsplit because they are depending on the locale

Re: [R] Unicode 16-bit, Lao

2007-10-23 Thread Prof Brian Ripley
The question is 'why are you trying to use UCS-2 (aka Unicode) strings?' If it is to support characters not in the locale you are running R in, that cannot work as R runs in the native charset. Please do study the posting guide: I (as the author of RODBC and of the internationalization features