Displaying 20 results from an estimated 200 matches similar to: "Font Encodings --- some work, some don't"
2008 Feb 08
2
question_encoding
Hallo,
I would like to ask you, for one question. When I export graph to .pdf
and I need some czech font, I use a parameter encoding="ISOLatin2.enc"
for these special fonts. But exported text is bad. I try ISOLatin1 and
MacRoman, but it is some one. I don't know, what Iam doing bad, because
in quartz is the graph ok. Sorry....I forget....I have a Mac with
Leopard and R ver. 2.6.1.
2003 Mar 24
1
writing to file with encodings (PR#2674)
Full_Name: Jean-Pierre Müller
Version: 162
OS: Mac OS (carbon)
Submission from: (NULL) (130.223.101.43)
Encodings valid only in rwading files? The following give identical output
files.
"ascii" <-
c(
"\040","\041","\042","\043","\044","\045","\046","\047", # 040-047
2008 Jan 15
1
using LaTeX-fonts with R
Hi,
I try to use the sfrm1000.pfb Type-1 font with my postscript plots. When I
add family=CM to the postscript() command the output is empty. What am I
doing wrong?
# define font
CM <- Type1Font('ComputerModern', # font ID
c(file.path(getwd(), c('sfrm1000.afm', '', '', ''))), # font metrics
encoding='AdobeStd');
2007 Oct 08
1
special characters in linux using dev.print
Hi List,
I want to print ? in a lattice graph label. This works in windows, but the linux version has problems - it cannot translate the character. Error is "invalid input in mbcsToLatin1".
I use the standard encoding and also dev.print(file="filename",dev=pdf, encoding="PDFDoc.enc")
I am afraid I don't know enough about the linux font encodings to figure out
2010 Jan 02
0
Print a PDF directly after prawnto with iframes
Hi,
I think I''m very near of accomplishing this but I have a problem.
This is the code:
<%- content_for :head do -%>
<script type="text/javascript" charset="utf-8">
function printPDF(){
var pdf = document.getElementById("pdfDoc").contentWindow;
pdf.focus();
pdf.print();
}
</script>
<%- end -%>
2003 Mar 17
0
file encoding
Hello,
Is file("out.txt", open="wt", encoding=ISOLatin1)
(resp: MacRoman, WinAnsi) broken/unimplemented ?
I am trying:
zz <- file("out.txt", open="wt", encoding=ISOLatin1)
cat(ASCII,file = zz, sep="\n")
close(zz)
on R162 for MacOs (carbon).
Thanks.
--
------------------------------------------------------------------------------
Jean-Pierre
2009 Aug 27
1
set pdf.options() encoding to UTF-8
Dear all
Can anyone point to a list of valid pdf.options() encodings? I checked
?pdf and ?postscript, but they do not quite answer my questions. I
would like to try UTF-8 instead of the default "ISOLatin1.enc" for
Sweave plots (I have issues with Greek characters in labels).
Thank you
Liviu
--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
2007 Jan 25
1
using non-ASCII strings in R packages
Hello dear useRs and wizaRds,
I am currently developing a package that will enable to use administrative map of Poland in R plots. Among other things I wanted to include region names in proper Polish language so that they can be used in creating graphics etc. I am working on Windows and when I build the package it is complaining about non-ASCII characters R code files.
I was wondering what would
2005 Mar 09
3
Decimal point as a comma in postcript and pdf graphics
Hi,
after a lengthy but unsuccessfull search I couldn't come up with a solution to
the following problem:
I would like to have a "comma" instead of a "point" as the decimal point in my
graphics, i.e. postscript and pdf files, for I write my thesis in German. My
system is:
OS: Debian Unstable
R-Version: 2.0.1
System locale: de_DE at euro
Could someone, please, help
2001 Sep 24
1
Printing Central European characters
Dear R-users,
I have problems with printing Central European (CE) characters
(e.g. {\H o} and {\H u}) in graphics made by R.
After executing the following code I can see the CE characters with gv
on my screen, but I cannot print them on a postscript printer.
> postscript(file="proba.ps",enc="ISOLatin2.enc")
> plot(0:15,0:15,type="n")
> grid(15,15,lty=1)
2005 Feb 10
2
Writing output to a file in a loop
Hello,
My problem is, that I have to build hundreds of GARCH models to obtain
volatility forecasts. I would like to run a loop, that would build those
forecasts for me. There is no problem, with writing only the results of
the forecasts, but I'd like to have stored results of the models in some
file, that I could check later, what are the models like, to be able to
compare if I should use
2004 Sep 08
2
Hot to configure Samba 3 as PDC and BDC for a Windows network
Hi all,
I hoping someone out there might be able to tell my how to configure and Samba
box to be a PDC and BDC for a windows network? I'd like to use the LDAP
backend, but and too new to the Unix world to understand how this is
accomplished. Any help would be greatly appreciated.
Thanks,
Charlie
2006 Sep 19
4
How to draw a per mille symbol?
Dear list,
Following advice posted to this list a while back by Prof Ripley [1], I
have been trying to draw a per mille character [2] in an axis label.
This should give the correct character:
plot(1:10, ylab = "\u2030")
but all I get is '"S'. I'm running linux (FC5) and have fonts installed
that have the correct character (viewed in the Gnome character map at
least).
2010 Sep 09
1
scalable < > delimiters in plotmath
Dear list,
I read in ?plotmath that I can use bgroup to draw scalable delimiters
such as [ ] and ( ). The same technique fails with < > however, and I
cannot find a workaround,
grid.text(expression(bgroup("<",atop(x,y),">")))
Error in bgroup("<", atop(x, y), ">") : invalid group delimiter
Regards,
baptiste
sessionInfo()
R version
2010 Sep 09
1
scalable < > delimiters in plotmath
Dear list,
I read in ?plotmath that I can use bgroup to draw scalable delimiters
such as [ ] and ( ). The same technique fails with < > however, and I
cannot find a workaround,
grid.text(expression(bgroup("<",atop(x,y),">")))
Error in bgroup("<", atop(x, y), ">") : invalid group delimiter
Regards,
baptiste
sessionInfo()
R version
2005 Aug 22
1
Example in pdf() help file (PR#8083)
The example in the help file for pdf() plots the characters outside
the plotting area in this for loop:
for(i in c(32:255)) {
x <- i
y <- i
points(x, y, pch=i)
}
The following loop seems to be working as intended
for(i in c(32:255)) {
x <- (i-31)%%16
y <- (i-31)%/%16
points(x, y, pch=i)
}
As an extra
2007 Oct 18
1
R-graphics printing greeks
I have tried to print a table of greek alphabet names and symbols
without success. I can print one character at a time but can't seem to
find a way to automate an entire list of the symbols. Some of the code I
have tried is below. I have searched on help, worked the examples in the
December 2002 R Help Desk article and plotmath but have not been able
to find a way to accomplish the
2009 Apr 01
1
Latex symbols in R (\perp and \parallel)
Dear All,
I am sure this is a one-liner, but I cannot find the R command to
generate the LaTex symbols \perp and \parallel. Consider for instance
the figure
(one can use any kind of data for the plot)
pdf("friction_linear_chain_perpendicular.pdf")
par( mar = c(4.5,5, 2, 1) + 0.1)
plot(data[ ,1], data[
2002 Mar 15
1
Non-english fonts in plots
Hello to all
I've got a question concerning use of fonts while making plots in R. I
wanted to know if it is possible for me to use polish letters in functions
like text() title() etc. Looked up characters, which can be obtained via
Hershey(), but there are none of them.
I made plots using postscript(), pdf() or png() device to export them to
MSWord or LaTeX.
Windows ANSI CE #dec codes of
2005 Aug 30
0
TeXtext font encoding?
Dear R wizards:
Has anyone gotten the TeXtext font encoding to work? If I execute:
if (is.null(postscriptFonts()$lucida)) {
luafmfiles <- c("/usr/share/texmf/fonts/afm/yandy/lubright/lbr.afm",
"/usr/share/texmf/fonts/afm/yandy/lubright/lbd.afm",
"/usr/share/texmf/fonts/afm/yandy/lubright/lbi.afm",