• Register
search
Log In
0 votes
483 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.9k points

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.

36.1k points

Related questions

0 votes
1 answer 367 views
367 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 663 views
663 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 20 views
20 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 Martin K 6.6k points
1 vote
1 answer 23 views
23 views
Problem: I am a naive to R. I am trying to create the bar graph using the ggplot2 to compare a type of 2016 primary election and the Bernie Sanders's respective percentage of the votes in that election. I have below code: y = $ Type : Factor w/ 2 levels ... data of class uneval. I have already tried to search the solution on above error around but because of some unknown reasons to me I am stuck.
asked May 27 Martin K 6.6k points
1 vote
1 answer 9 views
9 views
Problem : I am trying to understand R and I am very new to Programming as wel. If I try to create the box chart with the use of standard error bars I often face below error message: “Error: ggplot2 doesn't know how to deal with data of class numeric”. Looking for help in quick fixing the above error.
asked May 5 stewart 4k points