r - Cannot get verbose=FALSE working for "joinCountryData2Map" -


i using 'r presentation' r studio create slide show project. using below code , whatever not able rid of output message code. not want progress message included in presentation slide.

i have below portion of code in different chunk , did not me either. cleared cache , tried stuffs, not rid of progress message.

any idea how rid of output message ?

spdf <- joincountrydata2map(subset(world_all, year==year.list[i]),joincode = "iso3 ,namejoincolumn = "country_code" , mapresolution = "coarse",verbose=false) 

it generates below output message , not want show in presentation slide

154 codes data matched countries in map 0 codes data failed match country code in map 90 codes map weren't represented in data

that did not work either. went source code of function , found "cat" command being used print messages. so, muted cat command output using below method , , worked !!

capture.output( 'the whole function' , file='nul' )


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -