search for: pdf

Displaying 20 results from an estimated 14321 matches for "pdf".

2008 Oct 21
3
pdf creation error
Hello - I am trying to create a pdf file in R, but I keep getting an error that says it cannot open the pdf device. Here is the code and output: > pdf(file="test.pdf") Error in pdf(file = "test.pdf") : unable to start device pdf In addition: Warning message: In pdf(file = "test.pdf") : cannot open &...
2006 Jun 13
2
Top margin on PDF generated with PDF::Writer
Hi, A little question. I''ve written a method that uses PDF::Writer to generate a PDF document with some images and text. This is the code on my controller: def pdf gen_pdf redirect_to("#{@request.relative_url_root}/pdf/cupones.pdf") end private def gen_pdf pdf = PDF::Writer.new(:paper => "A4") pdf.margins_cm(0) pdf.start_...
2007 Apr 16
7
pdf-file tot desktop with pdf/writer problem
Hi, I''m using pdf/Writer to generate a pdf-file, but whatever I do, it gets saved in folder of my app, and not on the users desktop. I''ve used pdf = PDF::Writer.new pdf.select_font "Times-Roman" pdf.text "Hello.pdf", :font_size => 12, :justification => :l...
2007 May 22
5
Reducing the size of pdf graphics files produced with R
...;. I don't know what it does, but it shrinks most of my plots to about 30% or original size, and I cannot detect any loss of detail even when zooming several times. But it is a pain to do this with Acrobat when you generate many plots... And you need to buy Acrobat. Is this something the pdf device could do in a future version? I tried the "million points" example from the thread above and the 55 MB file was reduced to 6.9 MB, an even better shrinking I see on my usual plots. Denis Chabot
2020 Apr 08
0
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Hi Paul, So I've run the tests (and am attaching all numerous pdfs here) but the takeaway from what I can see is as follows: raw, without specifying font family, "look good" (see plot*raw.pdf) from your branch (my eye is upset by the positioning of the phi symbol in plot2, but I've confirmed that it looks the same generated from 3.5.1, so that isn...
2003 Mar 28
8
Printing with CUPS and PDF
Trying to get one Samba server to serve several printers through CUPS and host a virtual PDF "printer" at the same time. I've gotten them working separately, but not together, and I think I know why. In the smb.conf man page under "print command": "With printing = cups, and if SAMBA is compiled against libcups, any manually set print command will be ignored...
2008 May 26
2
R 2.7.0: pdf() > pdf.options versus formals
Hi, I have a tiny question about the graphics change in R 2.7.0. If I write a script ? la: options(device="pdf") formals(pdf)[c("file","onefile","width","height")] <- list("~/Rplot %03d.pdf", FALSE, 8, 8) plot(3) plot(4) both plots will be written into ONE pdf file. (not two as expected) This worked fine under 2.6.x In R 2.7.0 I have to write: op...
2011 Nov 09
3
R to automate scatter plots
Hi R people! I have a directory of .csv files I would like to make into objects then scatter plots. I have been having varying degrees of progress. I was able make an object of all files, loop through it, and make a pdf of the last file I looped through. I kept renaming the pdf so instead of ending up with 27 pdfs I got one, with the data from the last file I have been tweaking with it and now can't even make the data object and I am not sure why. I am a bit brain dead at this point :) I am new to R a...
2010 Sep 22
1
problem opening pdf device on Windows 7
I can not open PDf device. Acrobat is closed. I have checked archives but could not find a solution. What should I do? > cont.cdfplot("myanalysis.pdf", myanalysis$CDF, ylbl.r="Stream Length (km)") Error in pdf(file = pdffile, width = width, height = height) : unable to start device pdf In...
2006 May 05
5
Attach a PDF File to an Email
Hello ~ I have an email that I need to attach a PDF to. The email is being sent, and a file is attached but it is not the original file. I am following the example: attachment :content_type => "image/jpeg", :body => File.read("an-image.jpg") changing it to: attachment :content_type => "application/pdf", :b...
2010 Jan 15
1
Using multicore with an open pdf device results in corrupt pdf (PR#14186)
The attached code produces corrupted pdfs (test2.pdf, test4.pdf and test5.pdf). The resulting pdf depends on how many cores are available on the machine. I don't see why there should be any difference between the pdfs (exept for the timestamp). Doing many operations involving mclapply can increase the size of the resulting pdf by te...
2009 Jul 30
5
PDF Compression
Hi, I am generating a large number of graphs with pdf() and incorporating them in pdf document using pdflatex. According to the pdf() help: 'pdf' writes uncompressed PDF. It is primarily intended for producing PDF graphics for inclusion in other documents, and PDF-includers such as 'pdftex' are usually able to handle .co...
2008 Aug 05
4
PDF append help
hi there, Is there any function to append the pdf file. I want to write in a pdf file some 100 plots(in one single pdf containing 100 plots) while all the plot are created using a for loop. I can create 100 pdf one for each for each plot using a for loop but i want only one pdf with 100 plots. Ramya -- View this message in context: http://www....
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
As described on wkhtmltopdf Google group (http://code.google.com/p/wkhtmltopdf/issues/detail?id=162), I have a problem generating a PDF while using popen and wkhtmltopdf. wkhtmltopdf takes HTML code as input and ouputs a PDF file. Here is what I''m doing: command = ''"C:\Program Files\wkhtmltopdf\wk...
2015 Jul 01
0
pdf-printer
...pt we use, this is the work my collega. ( see the developed by, thats his company?) This is a "as is"? share, so read the code, we added as much as possible info in there. ? Few extra pointers, - speed up the script by useing ramdisk, make sure your ramdisk has the space for the bigest pdf you want to create. ??? we did limit the max size in the mail server. - If you have really big pdf files, add a section to this script to save the file on a file server and, send the mail with a link in it for example. ? Big thanks to drmaert for letting me share it to on the samba list ! ? The...
2006 Mar 24
2
"transparent" background for PDF
Colleagues Running R2.2.1 on either a Linux (RedHat 9) or Mac (10.4) platform. I created a PDF document using pdf("FILENAME.pdf", bg="transparent", version="1.4"). I then imported the graphic into PowerPoint - background was set to a non-transparent color. I was hoping that the inserted graphic would be transparent - instead, it had a white background....
2003 May 15
4
PDF Samba Printer - ps2pdf Only Letter Size?
Hi all, I've got a nice working pdf samba printer emailing the right person thanks to PeteFwee and David F and am doing a little testing. I've just realized that it's set to Letter when it creates the .pdf file. and i've googled till i'm blue in the face and can't see any options that says page size or something s...
2012 Nov 27
3
Psych package: fa.diagram, how to re-arrange layout so numbers do not over-write each other
...to which the 11 latent factors predict the 37 items in a psychological battery. However, the display on the screen has very large font size for the coefficients of the relationship between the 11 factors and the 37 items, so the numbers overlap and are therefore illegible. When I output this to a pdf the problem is exacerbated even further (see attachments). I tried to use cex=0.8 and cex=0.4 in the pdf argument but it made no difference - what can I do? The code I used is: fa.diagram(fa.11factors.rawdata) # Start PDF device driver to save output to fa_diagram.pdf pdf(file="I:\\ZAPi\\Tabl...
2006 Sep 15
1
pdf default version
R has had the ability to generate pdfs with transparent colors for a couple of years now using pdf(..., version="1.4"). By default, Sweave uses just 'pdf' (without version 1.4), so a hack is needed when using Sweave to create pdfs with transparent colors. See http://tolstoy.newcastle.edu.au/R/help/04/11/6655.html I...
2008 Jul 21
5
ps to pdf
I need a way to convert files that I save with Firefox as a 'print to file' to 'pdf' I tried 'convert' but that rendered the text as graphics which grew the file and wasn't what I wanted. How would someone accomplish this - or can I just print to a PDF? Craig