Dear all. This is probably more PDF then R issue but anyway, maybe somebody can help me. I try to persuade pdf device to use eastern european (Czech) encoding but I was not successful yet. Working on W 2000, R 1.9.0, lattice plots. pdf("redprov.pdf", width = 5, height = 5, bg="white", family="Times", encoding="WinAnsi") The characters are OK when using other devices (screen, png, ...) but in case of pdf, some characters are not correctly shown nor printed. After reading help pages and some archives I understand I shall change encoding and/or font but after I used several combinations without making any progress I gave up. Shall I install some other encoding and/or fonts? Any help is greatly appreciated. Best regards Petr Pikal petr.pikal at precheza.cz
Hi, Is there any IDE or any editor or any pice of code for .vimrc is available? Please let me know. Thanks SP _______________________________
I am not sure what does an IDE consist besides syntax highlighting and ability to parse lines from script into console. Nor am I familiar with VIM but IMHO emacs with ESS is the best for R. On Thu, 2004-08-19 at 19:13, S Peri wrote:> Hi, > Is there any IDE or any editor or any pice of code > for .vimrc is available? > > Please let me know. > > Thanks > SP > > > > _______________________________ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Hi SP, I prefer to use kate (KDE advanced text editor), because it is easier to learn than emacs or vim and IMHO it is also very convenient to use. I have the kate window split into 3 parts: a) the file selector, b) the editor window, and c) a command line with "R". I can either source() whole files or select some lines in the editor and execute them by a middle-click in the command line window. You can download the latest version of the syntax highlighting definitions for R from my homepage (scroll to the very bottom): http://www.uni-kiel.de/agrarpol/ahenningsen/index-e.html All the best, Arne On Thursday 19 August 2004 20:13, S Peri wrote:> Hi, > Is there any IDE or any editor or any pice of code > for .vimrc is available? > > Please let me know. > > Thanks > SP > > > > _______________________________ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html
Petr Pikal wrote:>Dear all. > >This is probably more PDF then R issue but anyway, maybe >somebody can help me. > >I try to persuade pdf device to use eastern european (Czech) >encoding but I was not successful yet. Working on W 2000, R >1.9.0, lattice plots. > >pdf("redprov.pdf", width = 5, height = 5, bg="white", >family="Times", encoding="WinAnsi") > >The characters are OK when using other devices (screen, png, ...) >but in case of pdf, some characters are not correctly shown nor >printed. > >After reading help pages and some archives I understand I shall >change encoding and/or font but after I used several combinations >without making any progress I gave up. Shall I install some other >encoding and/or fonts? > >Any help is greatly appreciated. > >Best regards > > > >Petr Pikal >petr.pikal at precheza.cz > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >If you are working under Linux I would suggest using bitmap(type="pdfwrite") instead of pdf(). Bitmap function is a shortcut for postscript() and ps2pdf command from ghostscript (so as far as you manage to install national fonts into ghostscript it will be OK with non ascii symbols). As I have heard Windows has some problems with postscript, so do not know how it will work under Windows.