similar to: Computer Modern Fonts in R

Displaying 20 results from an estimated 10000 matches similar to: "Computer Modern Fonts in R"

2011 Feb 15
2
Sweave doesn't hand on width of special characters of Computer Modern fonts to LaTeX
Hello R users, Using R, Sweave and the cmsyase.afm font it is possible to write LaTeX documents including R figures with text in the Computer Modern Fonts: \documentclass{article} \usepackage{Sweave} \begin{document} <<echo = false, results = hide>>= CM <- Type1Font("CM", c(file.path("C:/texlive/2009/texmf-dist/fonts/afm/public/cm-lgc",
2009 Aug 30
3
Computer Modern Fonts in R graphic
Hello all, I am trying to use computer modern fonts in my r grahics. I tried to do, as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html but unfortunately, it does not work. First of all I downloaded the cm-lgc package and the AFM and PFB-files from the page and put them in my R working directory, so far, so good. Then I tried to run the following code: > sn <-
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output from R, but I have run into a few problems and limitations. I did read and follow the instructions in the documentation. The first problem is that R sometimes needs to use a minus sign in the text in plots, but the non-symbol computer modern fonts contain only a hyphen. There is no way that I can find to tell R to use a
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output from R, but I have run into a few problems and limitations. I did read and follow the instructions in the documentation. The first problem is that R sometimes needs to use a minus sign in the text in plots, but the non-symbol computer modern fonts contain only a hyphen. There is no way that I can find to tell R to use a
2010 Sep 11
2
Latex fonts in R graphics
Hello, R users. I am trying to embed Computer modern fonts to an R plot and I get the following error. CM <- Type1Font("CM", + c(paste("cm-lgc/fonts/afm/public/cm-lgc/", + c("fcmr8a.afm", "fcmb8a.afm", "fcmri8a.afm", "fcmbi8a.afm"), sep=""), + "./cmsyase.afm")) > pdf("cm.pdf",
2009 Nov 17
3
CM Fonts in PDF output
Hi! On Linux I try to produce pdf graphs with computer modern fonts so that they look nice in LaTeX documents. I run for example: ------ CM <- Type1Font( "CM", c("/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmr8a.afm", "/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmb8a.afm", "/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmri8a.afm",
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');
2008 Sep 18
1
PDF fonts problem
Dear List, I am writing a paper in Hungarian, that I Sweave and than pdfLaTeX. Everything is fine, except for two accented letters in the graphs that behave strange, though on the screen and in eps exports they look perfect. The problem is that I need pdf graphs, since I would like to have a PDF after LaTeX-ing. For the example below I downloaded the following two font sets: 1. Latin Modern
2004 Mar 15
1
Correct Computer Modern font in postscript(..) output
Hi, I'm trying to get the correct font used when generating italic text in an R grahic. I have a set of labels that print correctly except it seems the italic text is justr a slanted version of the TeX computer modern normal font... I'm using R v1.8.1 on Windows XP, and I get the same result if I build the pdf using Adobe Acrobat or using MikTeX The labels:
2009 Sep 01
1
Logistic Politomic Regression in R
Hi everyone,   I'm trying to do an Logistic Politomic Regression in R. Because I have my resposes variables and the aswer is 0 and 1 in 3 bacterial genes. Somebody know how to do this in R in a easy way?   Thank so much,   José Bustos Facultad de Ciencias Universidad Catolica Ssma. Concepcion Chile --- El lun, 31/8/09, r-help-request@r-project.org <r-help-request@r-project..org>
2009 Aug 04
1
Sweave, cm-lgc and minus signs
Hello, since a couple of days I'm trying hard to elicit a certain thing out of the Sweave function of R. Unfortunately I'm quite unsuccessful. It's only about a small, ridiculous minus sign, which does not appear in the final pdf of a latex file, if I try to incorporate the Computer- Modern fonts into the plot. It seems, that R uses different encodings for minus signs, which are put
2007 Nov 20
0
Problems with fonts on linux using GDD
Hi Apologies for this question. I have read the help for GDD and font mapping, and it tells me that the config file, /usr/lib/R/library/GDD/fonts/basefont.mapping is responsible for mapping fonts to the GDD library. However: > .GDD.font() [1] "/usr/X11R6/lib/X11/fonts/Type1/l048013t.afm" [2] "/usr/X11R6/lib/X11/fonts/Type1/l048016t.afm" [3]
2009 Jul 02
2
Computer Modern
I am trying to use computer modern fonts in postscript files for a latex document. Ultimately I want to automate this through sweave. I've read the documentation ans have tried the following code to use lattice to produce a graph using computer modern: library(lattice) library(grid) testPlot=( xyplot(seq(1:10) ~ seq(1:10), main="one to ten",
2007 Aug 09
0
Mac OSX fonts in R plots
I had been looking for information about including OSX fonts in R plots for a long time and never quite found the answer. I spent an hour or so gathering together the following solution which, as far as I have tested, works. I'm posting this for feedback and and archiving. I'd be interested in any caveats about the brittleness of the technique. Thanks. F ----- 1. Find font system
2005 Nov 10
0
Fonts, Plus
Dear R Wizards: sorry, I need more help. hopefully, it will help others in the future. I am using R 2.2.0 Patched (2005-11-07 r36217). [a] # copy from the postscriptFont documentation CMitalic <- postscriptFont("ComputerModern", c("CM_regular_10.afm", "CM_boldx_10.afm", "cmti10.afm", "cmbxti10.afm",
2007 May 21
0
[OT/R+MikTeX] WinAnsi.enc fonts not found by ghostscript by default [solved]
Concerns: OS Win32 / R 2.5.0 Recently (IIRC not with R < 2.3.0), I had some problems including postscript graphics produced in R into LaTeX with MikTeX [version 2.5.2574]: yap, respectively GhostScript/GSView (versions 8.54/4.7 resp.) threw errors. In fact, I realized this was just the same problem as reported in http://tolstoy.newcastle.edu.au/R/help/06/06/28858.html Apparently, by
2013 Apr 30
0
Extrafont package: Fonts are not successfully installed
Hi, I am using Extrafont package to install more fonts for my graphs. My primary graphic tool is ggplot2. I seem to have problem installing the package, but could not pinpoint where it is. I try to follow the instruction here: https://github.com/wch/extrafont I guess (but am not sure) the fonts are successfully installed. Problem encountered: 1. The following line sometimes yields an
2007 Apr 22
0
LaTeX, Sweave, Lattice and Computer Modern fonts
Dear useRs, I am pretty sure the answer to my question is out there if I would just take the time to cross-correlate information that's scattered among different email exchanges, useR! presentations, Paul Murrel's website and assorted posters, but would some charitable soul be so kind as to explain the step by step procedure for having Sweave produce Lattice graphics with Computer Modern
2004 Feb 04
2
Latin 2 encoding + fonts
Hi, In the FAQ I read about options to specify different fonts than the default ones for the console (in the file Rprofile) and for the graphical output (Rdevga). I would however like to replace Latin 1 with Latin 2 enconding for both (console and graphical) output in Windows and just graphical output in Linux. I guess it is possible but I did not find the way. How can I use the fonts
2008 Jan 24
1
R CMD check and postscript fonts
Hello, I came across this by using R cmd check - otherwise I would probably not have noticed. One of my functions does something like this: # postscript() # plot(1, xlim = c(0, 10), ylim = c(0, 4), type = "n", ann = FALSE, axes = FALSE) # text(1:10, 2, c("a","b"), cex = seqcex, family="mono",font=2) Which results in the error: Error in text.default(1:10, 2,