Supressing R output -


i need supress output r function -- have found hack, feels wrong way it.

right now, i'm combining invisible , capture.output -- effective, feels hacky chain 2 similar tools supress output.

the function's output need supress blpconnect rbbg package.

require(rbbg) invisible(capture.output(conn <- blpconnect())) 

for interested, invisible returns following:

> conn <- invisible(blpconnect()) r version 3.0.1 (2013-05-16)  rjava version 0.9-4  rbbg version 0.4-155  java environment initialized successfully. looking recent blpapi3.jar file... adding c:\blp\api\apiv3\javaapi\v3.4.8.1\lib\blpapi3.jar java classpath bloomberg api version 3.4.8.1  

same output invisible(conn <- blpconnect())

what's appropriate way this?

enlightening commentary on appropriate use of 2 commands, , when , why work valuable.

conn <- blpconnect(verbose=false)


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -