how to suppress message when reading/downloading from http

I am trying to fread to read this data and i want to suppress the message (trying URL) that shows in the console

fread(http://comtrade.un.org/api/get?max=50000&type=C&freq=A&px=HS&ps=2010&r=4&p=all&rg=1%2C2&cc=TOTAL%2C11%2C12%2C21%2C22%2C31%2C32%2C42%2C53&fmt=csv)


trying URL 'http://comtrade.un.org/api/get?max=50000&type=C&freq=A&px=HS&ps=2010&r=4&p=all&rg=1%2C2&cc=TOTAL%2C11%2C12%2C21%2C22%2C31%2C32%2C42%2C53&fmt=csv'
Content type 'text/csv; charset=utf-8' length 31553 bytes (30 KB)
downloaded 30 KB

Hi,

Looking at the documentation of fread, ?data.table::fread, shows there is a showProgress argument. Set this to FALSE, and your message will be gone.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.