• Register
0 votes
1.4k views

Problem :

I installed RStudio on Mac OS X, version 10.7.3 but facing following issue.
 error in grid.call(c_textbounds, as.graphicsannot(x$label), x$x, x$y, : polygon edge not found
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I researched alot and i got  solution for your issue. 

Firstly try to run below command to ensure the fonts are existing:

loadfonts(dev="win")

After that need to call the following to ensure the name you are calling is same as R knows:

windowsFonts()

Or else try the following:

library(extrafont)
extrafont::font_import()

The above solution fixed problems for me.

9 7 4
38,600 points

Related questions

0 votes
1 answer 3 views
3 views
Problem : facing following issue: error in grid.call(c_textbounds, as.graphicsannot(x$label), x$x, x$y, : polygon edge not found. Any help!!
asked Mar 15 Wafa Abu Yousef 6.1k points
0 votes
1 answer 4 views
4 views
Problem: Please help me … how can I solve it? error in .call.graphics(c_palette, value) : invalid graphics state
asked Mar 31 Ifra 24.4k points
0 votes
1 answer 2K views
2K views
Problem : I think my dataframe is correct and my code is also okay. But I am facing following error: Error in .Call.graphics(C_palette2, .Call(C_palette2, NULL)) : invalid graphics state What is wrong with my below data? date trt var val 1/12/2019 cc sw5 0.2684138 1/12/2019 ... ] Also I want to make the scatterplot as follows: ggplot(data = df,aes(x = date,y = val)) + geom_point(aes(group = trt))
asked Dec 6, 2019 alecxe 7.5k points
0 votes
1 answer 458 views
458 views
Problem: I have very good knowledge of r, ggplot and unix. I am now a days trying to analyze the dataset of the GSR values. I had first transformed my all the required unix values into the readable data and after that I created the plot of my GSR values in the ... . But I had already supplied the origin when I tried to transform my unix into the readable data and also again in the ggplot code.
asked Jul 27, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 1.8K views
1.8K views
Problem : I am getting bellow error message error in grid.call.graphics(c_setviewport, vp, true) : non-finite location and/or size for viewport
asked Nov 7, 2019 peterlaw 6.9k points
1 vote
1 answer 1.2K views
1.2K views
Problem: I have limited knowledge of R and ggplot. I have recently written a function and trying to run the function as shown below: ggplot(datfr, aes(x = dat1[1:951,], y = dat2[1:951,])) + geom_point() After executing above function I am facing below error: Don't ... and when I try to use nrow on my two datasets it again returns the same number of rows. How can I fix above ggplot related error.
asked May 26, 2020 Martin K 6.6k points
0 votes
1 answer 202 views
0 votes
1 answer 313 views
0 votes
1 answer 24 views
24 views
Problem: how i can fix this ? any help ! error: cannot add ggproto objects together. did you forget to add this object to a ggplot object?.
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 72 views
72 views
Problem: ggplot error: discrete value supplied to continuous scale.
asked Feb 23 Dan phillip 4.8k points