similar to: R2.6 + Error saving plots as PDF

Displaying 20 results from an estimated 20000 matches similar to: "R2.6 + Error saving plots as PDF"

2007 Nov 06
3
Saving Graphics File as .ps or .pdf (PR#10403)
Full_Name: Jane L. Harvill Version: 2.6.0 OS: Microsoft Windows XP Professional, Version 2002, Service Pack 2 Submission from: (NULL) (129.62.21.93) PROBLEM: The ability to save the contents of an R Graphics window as a postscript or PDf file through the drop-down menu (File -> Save As -> Postscript, or File -> Save As -> PDF) results in the error message below being printed to the R
2007 Oct 22
2
save as pdf
Hello, I just wanted to save a graphic in the pdf-format. But id failed: Fehler: Invalid font type Zus?tzlich: Warning messages: 1: font family not found in PostScript font database 2: font family not found in PostScript font database I use R 2.6.0 with all packages updated recently. Any idea? Thank you very much! Best, Denis __ Denis Aydin mailto:Denis.Aydin at stud.unibas.ch Montag, 22.
2007 Nov 27
2
Postscript saving failed. (PR#10473)
Full_Name: Zhihua Liu Version: 2.6.0 OS: Submission from: (NULL) (66.176.38.107) When I produced a .ps graph in the screen, I had problem to save them. The following warnings show up: Error: Invalid font type In addition: Warning messages: 1: font family not found in PostScript font database 2: font family not found in PostScript font database But it works fine with R 2.5.0.
2007 Oct 17
1
Problem with saving pdf file graphics in R-2.6.0
Hi, # Example of my problem of saving pdf file graphics in R-2.6.0 > x<-1:10;y<-1:10 > plot(x,y,type="b") # attempting to save the plot as a *pdf file fails # and the following error meassge is shown. Error: Invalid font type In addition: Warning messages: 1: font family not found in PostScript font database 2: font family not found in PostScript font database >
2008 Mar 06
1
Try to save as PDF: font family not found in PostScript font database
Hi I'm using 2.6.0 on Windows XP SP2. I realise I'm on an old version, please tell me if the problem is fixed in the newer versions. When I try and use the graphics window menu to save a graph as PDF, I get the following error, and no PDF produced Error: Invalid font type In addition: Warning messages: 1: font family not found in PostScript font database 2: font family not found in
2016 Apr 02
3
apply mean function to a subset of data
Dear all; This must have a rather simple answer but haven't been able to figure it out: I have a data frame with say 2 groups (group 1 & 2). I want to select from group 1 say "n" rows and calculate the mean; then select "m" rows from group 2 and calculate the mean as well. So far I've been using a for loop for doing it but when it comes to a large data set is
2016 Apr 03
1
apply mean function to a subset of data
Here are several ways to get there, but your original loop is fine once it is corrected: > for (i in 1:2) smean[i] <- mean(toy$diam[toy$group==i][1:nsel[i]]) > smean [1] 0.271489 1.117015 Using sapply() to hide the loop: > smean <- sapply(1:2, function(x) mean((toy$diam[toy$group==x])[1:nsel[x]])) > smean [1] 0.271489 1.117015 Or use head() > smean <- sapply(1:2,
2016 Apr 02
0
apply mean function to a subset of data
Hi Pedro, This may not be much of an improvement, but it was a challenge. selvec<-as.vector(matrix(c(nsel,unlist(by(toy$diam,toy$group,length))-nsel), ncol=2,byrow=TRUE)) TFvec<-rep(c(TRUE,FALSE),length.out=length(selvec)) toynsel<-rep(TFvec,selvec) by(toy[toynsel,]$diam,toy[toynsel,]$group,mean) Jim On 4/3/16, Pedro Mardones <mardones.p at gmail.com> wrote: > Dear all; >
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
Hello, The current xfig device lacks the functionality to set the textspecial flag and use the defaultfont in xfig. This is necessary when you want to export to xfig and use interpreted text (e.g., $ \frac{1}{e}$ gets interpreted by latex). The attached patch adds this functionality. Why would you like to do this? - Use math in labels (e.g., name your variables $r_{xy}$, do a
2007 Jun 14
4
question about formula for lm
Dear all; Is there any way to make this to work?: .x<-rnorm(50,10,3) .y<-.x+rnorm(50,0,1) X<-data.frame(.x,.y) colnames(X)<-c("Xvar","Yvar") Ytext<-"Yvar" lm(Ytext~Xvar,data=X) # doesn't run lm(Yvar~Xvar,data=X) # does run The main idea is to use Ytext as input in a function, so you just type "Yvar" and the model should fit....
2007 Nov 09
2
PDF file creation, font problem
I have recently installed R v. 2.6.0. I am running Windows XP. I have done the package update as recommended by Brian Ripley. I wish to create a PDF version of a graph but I am getting the error messages: Error: Invalid font type In addition: Warning messages: 1: font family not found in PostScript font database 2: font family not found in PostScript font database I am using the standard
2007 May 11
3
how to get column/row info from a dist object?
Dear R users; Is it possible to get the row and column number of a particular entry in a dist object? Let's say that I want to find the position of the value 1.1837 (the last entry on the dist object below), that is [6,3]. Can I get those values without transforming the object to a matrix?, i.e. working with the dist object only. 1 2 3 2 0.23935864
2011 Sep 20
5
help in interpreting paired t-test
Dear all; A very basic question. I have the following data: ************************************************************************************ A <- 1/1000*c(347,328,129,122,18,57,105,188,57,257,53,108,336,163, 62,112,334,249,45,244,211,175,174,26,375,346,153,32, 89,32,358,202,123,131,88,36,30,67,96,135,219,122, 89,117,86,169,179,54,48,40,54,568,664,277,91,290,
2009 Mar 14
4
persp plot + plotting grid lines
Dear all; Does anyone know how to add grid lines to a persp plot? I've tried using lines(trans3d..) but the lines of course are superimposed into the actual 3d surface and what I need is something like the plot shown in the following link: http://thermal.gg.utah.edu/tutorials/matlab/matlab_tutorial.html I'll appreciate any ideas Thanks PM
2007 Jul 23
2
R2.6 bug in arithmetics of S4 classes inherited from 'array', or intended behavior?
Hi, I have an S4 class directly derived from 'array' as shown in the code below (EBImage package of Bioconductor 2.1, devel), it simply contains array adding a couple of slots: setClass ("Image", representation (colormode="integer", filename="character", compression="character", resolution="numeric", features="list" ),
2016 May 31
1
Suggestion: pdf.options(embed=TRUE)
I learned last week that I generated a lot of PDFs and forgot to go back and embed the fonts in them. It would be very pleasant for me if pdf.options included an argument to turn on font embedding and have fonts always embedded. Always. Thanks for your time, as always. -- Paul E. Johnson http://pj.freefaculty.org Director, Center for Research Methods and Data Analysis http://crmda.ku.edu I
2007 Nov 07
2
Save as postScrips latest R version
Hi, I was using the 2.4.1 R version and I had no problem saving my plots as postScript. Now that I have installed the latest version 2.6.0 I can not save any plot as postScript. When I try the following message appears: Erro: Invalid font type Al?m disso: Warning messages: 1: font family not found in PostScript font database 2: font family not found in PostScript font database What should I
2009 Jan 18
2
don't print object attributes on screen
Dear all; I have a function written in R that returns as a list of values as output that has associated some user defined attributes to it. How can hide these attributes when printing the output on screen? I'm using R-2.8.1 on WinXP....it's like hiding the attr of the output from the scale function.... Thanks in advance PM
1998 Jun 06
1
R-beta: Problem with Multi-Figure Plots
I was trying to make some multi figure plots and I had some strange problems. I'm using R 0.61.2. When I make this plot >postscript(file="timeplot5.ps",horizontal=TRUE) >par(mfrow=c(2,2)) >plot(dados$a1) >plot(dados$a2) >plot(dados$a3) >plot(dados$a4) The last panel is ploted without the box and it is always ploted in landscape mode. Can anyone reproduce this
2013 Mar 13
1
calculating column difference in a matrix
Dear R users; Consider the following toy example: a <- matrix(c(2,3,4,NA,NA,5,8,NA,8,NA), 5, 2) b <- cbind(a,apply(a, 1, diff, na.rm = TRUE)) What I would like be able to get is: c <- matrix(c(2,3,4,NA,NA,5,8,NA,8,NA,3,5,-4,8,NA), 5, 3) i.e., for each row if both values (column 1 and 2) are NA then the difference must return NA, but if any of those two values is different from NA