Bug in extrafont/ggplot2/knitR Edward Wallace 9 May 2015 Load packages and define theme options(stringsAsFactors=FALSE) library(ggplot2) library(grid) library(extrafont) ## Registering fonts with R loadfonts() theme_test_font <- function(base_size=9)

theme_minimal(base_size=base_size,base_family="Arial")

This plot prints just fine in R and in knitR: qplot(data=iris,x=Petal.Length,y=Petal.Width)

2.5

Petal.Width

2.0

1.5

1.0

0.5

0.0 2

4

6

Petal.Length With font family set to Arial, the same plot prints fine in R, but crashes in knitR if eval==TRUE. That’s the bug. qplot(data=iris,x=Petal.Length,y=Petal.Width) + theme_test_font() The error is: Quitting from lines 35-36 (Test_Font_Problem.Rnw) 1

Error in grid.Call.graphics(L_text, as.graphicsAnnot(x$label), x$x, x$y, invalid font type Calls: knit ... drawDetails -> drawDetails.text -> grid.Call.graphics My setup: R.Version() ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

$platform [1] "x86_64-apple-darwin13.4.0" $arch [1] "x86_64" $os [1] "darwin13.4.0" $system [1] "x86_64, darwin13.4.0" $status [1] "" $major [1] "3" $minor [1] "2.0" $year [1] "2015" $month [1] "04" $day [1] "16" $`svn rev` [1] "68180" $language [1] "R" $version.string [1] "R version 3.2.0 (2015-04-16)" $nickname [1] "Full of Ingredients"

packageVersion("ggplot2") ## [1] '1.0.1' packageVersion("knitr") ## [1] '1.9' packageVersion("extrafont") ## [1] '0.17' packageVersion("grid") ## [1] '3.2.0' 2

:

Bug in extrafont/ggplot2/knitR -

May 9, 2015 - Load packages and define theme options(stringsAsFactors=FALSE) library(ggplot2) ... Call.graphics. My setup: R.Version(). ## $platform.

88KB Sizes 10 Downloads 197 Views

Recommend Documents

Bug in extrafont/ggplot2/knitR -
May 9, 2015 - Calls: knit ... drawDetails -> drawDetails.text -> grid.Call.graphics. My setup: R.Version(). ## $platform. ## [1] "x86_64-apple-darwin13.4.0". ##.

CBD BUG
modes) over private motor vehicles in improving Queensland's traffic system. ... current budget/s for improving infrastructure across the state for cycling, walking and public ... vulnerable road users injured in crashes with motorists, so it is up t

bug tracking system project in php free download
bug tracking system project in php free download. bug tracking system project in php free download. Open. Extract. Open with. Sign In. Main menu. Displaying ...

CBD BUG Meeting
Mar 21, 2007 - CBD BUG could raise this with BCC and property managers if any further instances are reported. .... Jeff Griffin. Project Manager, Tank Street.

Characterizing Verification of Bug Fixes in Two Open ...
ware projects to support coordination among stakeholders. They record discussion and progress of software evolution ... The next section contains some background information about bug tracking systems and software verification. ... and the operating

boggo road cycleway - CBD BUG
The Boggo Road cycleway will be delivered as part of the development of the Boggo ... Building the cycleway at a later date could result in an additional cost.

bed bug data.pdf
killing heater FF3T-13 to concentrate the. heating power. A single heater will work with. a 3M x 2M tent. Page 2 of 2. bed bug data.pdf. bed bug data.pdf. Open.

BUG Slow Jam Song List -
Oct 1, 2014 - Breakfast In Hell. Bm. | d - D u - u d u |. Scrambled Eggs. C. | d - D u d - D u | over the melody of Yesterday. Cupid. G. | d - R u - u d u | led by Anna-Maria. Dona Nobis. See Tab. Cockles and Mussels. D. | d - d u d u |. Spooky - Dus

Bug Out Bag List.pdf
bug out bag list is even more important. Everyone living in a city or a suburban environment is. at an increased risk to experience political and civil unrest, riots and will likely feel the effects of. a man-made disaster before those in less popula

bug tracking system free download
bug tracking system free download. bug tracking system free download. Open. Extract. Open with. Sign In. Main menu. Displaying bug tracking system free ...

Bug Club Intro Letter.pdf
place the book was written or sometimes information about the author or illustrator. Inside back cover: these notes suggest puzzles and challenges that help ...

Bug-out Grab & Go List.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Bug-out Grab ...

Automatic Bug-Finding for the Blockchain - GitHub
37. The Yellow Paper http://gavwood.com/paper.pdf ..... address=contract_account, data=seth.SByte(16), #Symbolic buffer value=seth.SValue #Symbolic value. ) print "[+] There are %d reverted states now"% .... EVM is a good fit for Symbolic Execution.

Bug Auctions: Vulnerability Markets Reconsidered
The security of software is difficult to measure, leaving software producers no ... Stuart Schechter proposes that firms create a vulnerability market in order ..... them out of the game, testers who wish to avoid sleeping with the fishes will be ...

Bug bounty vs. Big companies.pdf
83-101. 4. E. Colla et M. Dupuis, Le Défi mondial du bas prix, Publi-Union, Paris, 1997. Distrib Livre.fm Page 11 Mardi, 20. octobre 2009 11:13 11. Page 3 of 55. Bug bounty vs. Big companies.pdf. Bug bounty vs. Big companies.pdf. Open. Extract. Open

brown marmorated stink bug page.pdf
Page 1 of 3. Hemiptera: Heteroptera. Descriptions of Field Crop Pests. PESTS. 55. Hosts. Field corn and soybean are preferred field crop. hosts for nymphs and ...

New Features Maintenance and Bug Fixes - GitHub
master fix_... maintenance_1.0.x feature_… fix_... Bugfix Release. Tag 1.0.1. Bugfix Release. Tag 1.0.2. Feature Release. Tag 1.1.0 maintenance_1.1.x.

Kissing bug brochure 130910.pdf
There was a problem previewing this document. Retrying... Download. Connect more ... Kissing bug brochure 130910.pdf. Kissing bug brochure 130910.pdf.

Bug Club Trouble Shooting Guide.pdf
Whoops! There was a problem previewing this document. Retrying... Download ... Bug Club Trouble Shooting Guide.pdf. Bug Club Trouble Shooting Guide.pdf.

Bug Auctions: Vulnerability Markets Reconsidered
section 8, I note some fundamental problems with both the vulnerability market and the bug auction. ... released. Post-release, the product is commercially available and used by cus- tomers. Post-depreciation, the producer is no longer interested in

Bug bounty vs. Big companies.pdf
Big companies.pdf. Bug bounty vs. Big companies.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Bug bounty vs. Big companies.pdf. Page 1 of ...

Slug Bug Sentence Scramble.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Slug Bug Sentence Scramble.pdf. Slug Bug Sentence Scramble.pdf. Open. Extract. Open with. Sign In. Main menu