Skip to main content

All Questions

Tagged with
0 votes
1 answer
336 views

Why does geom_segment create stroke with transparency?

I have a simplified version of my code below. The segment shows a semi transparent, as highlighted by the second segment overlaying part of the first, which shows a white with more alpha. If I open ...
Chris's user avatar
  • 1,503
5 votes
2 answers
5k views

Saving ggplot in EPS format for editing in Adobe Illustrator -- problem with text

Question I'd like to save a ggplot from R for editing in Adobe Illustrator (AI). I can save the plot in EPS or PS format with ggsave, but the plot always brings along some shading around the text. Is ...
twb10's user avatar
  • 543
1 vote
0 answers
93 views

Creating .eps file with spplot in R

I'm trying to create high resolution figures from maps I created in R. Whenever I try creating an .eps file with spplot it creates a relatively large file (~13,040 KB) that I cannot open with Adobe ...
rhpersist's user avatar
2 votes
2 answers
378 views

PDF image is 1.3 MB, but after removing text in Illustrator becomes ~35 Mb (still vector in PDF)

I have created a figure for my scientific work using ggplot (an R package for plotting data). It's a scatterplot that contains ~25.000 data points in a normal x-y-style plot. Each data point has a ...
fakechek's user avatar
  • 241
2 votes
0 answers
92 views

Exporting transparent .png in R and importing into Illustrator. MacOS vs. Windows

When I export a transparent .png in R using MacOS, the background shows up as transparent when I import it into Adobe Illustrator (which is what I want). png('example.png',bg='transparent') But ...
habd's user avatar
  • 158
1 vote
1 answer
1k views

Importing Dotplot from R to Adobe Illustrator causes dot shapes to change [duplicate]

Using ggplot, I have created a dotplot with round dots. I use ggsave to export it as a .pdf, and it opens fine on Sumatra Reader, Foxit Reader and Chrome. However, once I open the .pdf using Adobe ...
jbaut's user avatar
  • 13
1 vote
1 answer
427 views

ggplot2 bar graph exported to pdf is made up of segments instead of a solid shape

My problem is that when I output a ggplot bar graph as a pdf and import it in illustrator, each bar is made up of many tiny segments rather than being a single solid shape. How can I convert the bars ...
grittlydev's user avatar
11 votes
1 answer
12k views

ggplot legend list is larger than page

I have a plot in R which has a very large number of sample groups, and therefore the legend is larger than the page size and is cut off. I understand that this is not publication quality, but I need ...
Kenneth P. Hough's user avatar
0 votes
0 answers
156 views

What's the difference between svg() and devSVG()?

What is the difference between svg() and devSVG() of of the RSvgDevice package? I have trouble imprting plots of svg() into Illustrator but plots of RSvgDevice seem to work fine. Inkscape seems to ...
ECII's user avatar
  • 10.6k
6 votes
1 answer
782 views

Why doesn't Inkscape correctly read PDF files generated by R?

Very often, I draw graphs in R and export them in pdf or svg. Then I import them in Inkskape or Illustrator. Sometimes this generates weird results. For instance, when I generate a simple scatterplot ...
PAC's user avatar
  • 5,336
2 votes
1 answer
929 views

ggplot2 geom_point 50000 points - output to pdf - need to open in Illustrator

I need to plot 50000 points on a single scatterplot using ggplot2 that I then need to be able to open in Illustrator in vector format (making figures for a paper). There is no better way to display ...
dvanic's user avatar
  • 565
3 votes
1 answer
943 views

R Cairo pdf fonts unreadable in Adobe Illustrator

I cannot get pdf files created using the Cairo package to open in Illustrator with readable text. Any advice wjhy this is happening? library(ggplot2) library(Cairo) df = data.frame(x=rnorm(2000), y=...
geotheory's user avatar
  • 23.3k
11 votes
2 answers
2k views

R pch plotting in illustator as "q"

Every time I use pch=21 for plotting in R with lattice, my plot plots normally in the R plotting window and in pdf (circles with borders); however when I open a saved pdf version of my plot in Adobe ...
user1301593's user avatar
8 votes
1 answer
2k views

ggplot2: theme_set, pdf export, and Illustrator having difficulties

I have a list of all theme elements stored as a theme that is evoked before plotting. However, I recently found that when I export to pdf and try to open in Adobe Illustrator, I get an error "Acrobat ...
metasequoia's user avatar
  • 7,214
4 votes
1 answer
2k views

How to resize pdf graphics produced in R using Illustrator

I am making plots in R using the pdf() command. Graphs look perfect and resize nicely in Acrobat Reader. My usual workflow includes manipulating labels etc. in Illustrator, saving as .eps for ...
user1648516's user avatar

15 30 50 per page