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
Post a Comment