r - no font could be found for family "CM Roman" error -


i plotting rolling correlations using chart.rollingcorrelation performanceanalytics package. want use "cm roman" font title of plot looks same latex's default font. following code reproduce error:

library("extrafont") library("fontcm") font_install("fontcm") loadfonts()  set.seed(2) x<-ts(rnorm(100), start=c(1,1900)) y<-ts(rnorm(100), start=c(1,1900)) chart.rollingcorrelation(x,y,width=12, ylab="") title(main= "x , y", family="cm roman") 

i checked "cm roman" font registered fonts(). however, throws me following error:

warning messages: 1: in title(main = "x , y", family = "cm roman") :   no font found family "cm roman" 2: in title(main = "x , y", family = "cm roman") :   no font found family "cm roman" 3: in title(main = "x , y", family = "cm roman") :   no font found family "cm roman" 

any thought why gives me error?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -