Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API version mismatch #71

Closed
StefanReuscher opened this issue Aug 17, 2016 · 2 comments
Closed

API version mismatch #71

StefanReuscher opened this issue Aug 17, 2016 · 2 comments

Comments

@StefanReuscher
Copy link

StefanReuscher commented Aug 17, 2016

>svglite("./anyplot.svg")
Error in svglite_(file, bg, width, height, pointsize, standalone) : Graphics API version mismatch

I am running R 3.3.1 on Ubuntu 14.04. svgLite is version 1.1.0. The same error occurs when trying to use ggsave to save a .svg.

Any ideas ?

Cheers,

Stefan

@hadley
Copy link
Member

hadley commented Sep 6, 2016

I'd recommend reinstalling svglite.

@franzbischoff
Copy link

franzbischoff commented Jul 17, 2021

Back to the same issue...

platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          1.0                         
year           2021                        
month          05                          
day            18                          
svn rev        80317                       
language       R                           
version.string R version 4.1.0 (2021-05-18)
nickname       Camp Pontanezen

figured out that "reinstalling" doesn't always solve. This must be linked with some internal library issue.
install.packages("svglite") still bugs, but:
install.packages("svglite", type = "source") and recompiling in your environment, solves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants