similar to: embedFonts() does not embed fonts?

Displaying 20 results from an estimated 700 matches similar to: "embedFonts() does not embed fonts?"

2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
Hi, in help("R_GSCMD") it says "R_GSCMD: Optional. The path to Ghostscript, used by dev2bitmap, bitmap and embedFonts. Consulted when those functions are invoked.". However, if 'R_GSCMD' contains a full pathname to the Ghostscript executable (as above "path" indicates), e.g. > Sys.getenv("R_GSCMD") [1] "C:\\Program
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 Dec 22
0
Embed Fonts in All EPS files inside a Directory
Hi List, I would like to embed some fonts (AFM format) on 324 eps files produced by a R loop, I’m able to do so one-by-one with the following command: embedFonts('C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Cata logo/Mapas/EPS/Example.eps', outfile='C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Catalog o/Mapas/EPS/Example2.eps',
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
2009 Sep 04
3
eps file with embedded font
Dear list, I am trying to make eps file with embedded font. I use: postscript("ranking-exp-all.eps", horizontal=TRUE, onefile=FALSE, paper="special", height=8, width=12, family="Helvetica") # plot stuff dev.off() since R does not embed font, I then use: embedFonts(file="indegdistr.eps", outfile="indegdistrEMB.eps",
2011 Mar 27
1
grImport/ghostscript problems
Hi All: I've been struggling for a while trying to get grImport up and running. I'm on a Windows 7 (home premium 64 bit) machine running R-2.12.2 along with GPL Ghostscript 9.01. I've set my Windows PATH variable to point to the Ghostscript \bin and \lib directories, and I've created the R_GSCMD environment variable pointing to gswin32c.exe. I don't have any experience with
2010 Mar 30
2
jpeg() saving blank files?
Hi, I am having trouble saving graphics from R. jpeg() saves a file with the correct name to the correct directory, but it consists of a blank (white) jpeg with the specified dimensions--the image itself is not being saved. My code is jpeg(filename="myfile.jpg", height = 2.5, width = 8, units = "in", res = 72, pointsize = 12, quality = 100, bg = "white",
2007 Oct 08
3
embedFonts rotates figure
Dear All, Consider the following code: pdf(file="figure.pdf",family="URWPalladio") curve(dlnorm(x,0,1.5),0,10,xlim=c(0,10),ylim=c(0,0.85),axes=F,xlab="",ylab="f") segments(exp(-1.5^2),0,exp(-1.5^2),dlnorm(exp(-1.5^2),0,1.5),lty="dashed") segments(1,0,1,dlnorm(1,0,1.5),lty="dashed")
2011 Jan 14
1
How to point R toward Ghostscript on a Windows XP system
A colleague designed a script for a bar plot, which I'd like to export to my directory via the barplot command: bitmap(file="barplot.tif", type="tifflzw", height=4, width=6.5, res=1250) Unfortunately, this command produces the following error message: Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) : 'gswin32c.exe' not found
2007 Mar 31
1
Too long pathname in bitmap() crashes R on WinXP
Hi, using too long pathnames for bitmap() crash R on WinXP. I've verified that this is the case with R version 2.4.1 Patched (2007-03-25 r40958) and R version 2.5.0 alpha (2007-03-30 r40957). I cannot reproduce it on Linux. REPRODUCIBLE EXAMPLE: % Rterm --vanilla # Tell R where Ghostscript is gsexe <- "C:/gs/gs8.54/bin/gswin32c.exe"; gsexe <- "C:/Program
2008 Mar 05
1
embedFonts() side-effect under 2.6.2 ?
I received the following as a Debain bug report (cf http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469560) To reproduce: 1) Run the following commands: filename <- 'test.pdf' pdf(filename) plot(1:10) dev.off() 2) Open test.pdf (I use Evince, but the same with Adobe Acrobat). Make sure there are ten hollow points in the plot. This is correct.
2007 Oct 04
3
pdf() device uses fonts to represent points - data alteration?
Hello all, I discovered that the pdf device uses fonts to represent "points" symbols (as in plot(...,type="p",...) ). Namely it uses ZapfDingbats with symbol U+25cf. This can lead to problems when the font is not available, or available in another version (such as points being replaced by other symbols, or worst: slightly displaced). Furthermore, it also causes
2005 Oct 20
3
how to set environment variables?
The help file of the R bitmap function says that I have to set the environment variable R_GSCMD to the path of my Ghostscript installation. How do I set this variable (either by commandline or in R.app for Mac)? Sorry if this sounds like a very basic question, but I could not find the answer anywhere else. Many thanks Andreas -- -------------------------- Andreas Zankl, MD Division of
2003 Apr 24
1
Invalid font in bitmap()
Dear all, A few weeks ago I asked about X11() availability using CGI-perl. The general advice was to use bitmap which requires ghostscript (Xvnc and Xvbf were the other alternatives). My system administrator got around to installing Aladin Ghostscript 6.0 and the setting the R_GSCMD environment variable. Other system specification is given below. But now I have a new problem that says that font
2004 Jan 28
1
how to set R_GSCMD
I have R installed on a windows box, and I need to get a better resolution. I understand I need to set R_GSCMD. Which file has to contain this variable? Thanks! Haim
2008 Jul 21
1
dev2bitmap error, 'gs' cannot be found
Dear List, I am using the bioconductor package Category to do some gene enrichment analysis, and usually save my KEGGmnplot's using a dev2bitmap command. This has worked just fine, until suddenly earlier today I got this error-message: > dev2bitmap("04610_080721.jpg",type="jpeg", height = 10, width = 10, res = 200) Error in dev2bitmap("04610_CSF080721.jpg",
2012 Jun 24
1
Error using PostScriptTrace()
I couldn't run PostScriptTrace() from the package "grImport" without an error. At first the postscript program couldn't be found. however the problem persisted after the full path the postscript program was indicated. I read earlier post on the subject in vain. See the codes and output below. The file "Senegal_location_map.ps" was originally a "svg" file from:
2008 Apr 18
1
Embedding fonts in pdfs
Hi all, I'm having problems embedding fonts in my graphics - and I've tried embedFonts to no avail. I have a pdf file and pdffonts tells me: name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- ZapfDingbats Type 1 no no no 5 0 Helvetica
2007 Apr 15
1
mac ghostscript help
Hello R community, I am hoping to use a new package that I just installed called "grImport" to import ps images into R for further manipulation using either base graphics or grid. I downloaded the most recent version of Ghostscript from http://www.cs.wisc.edu/~ghost/ that I could find (v.8.56) for Mac OSX. However, I am apparently quite ignorant about how the required
2004 Aug 23
2
R on windows problem
Hi, I've installed several versions of R on a number of Window systems. I get the following error message (which I don't get on linux) > dev2bitmap(file="test.jpeg",type="jpeg") Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) : gswin32c.exe not found Any idea how to fix this? It seems common to all windows systems