piersharding / RMDX

RMDX is an XML/A OLAP MDX interface
GNU General Public License v3.0
4 stars 2 forks source link

Unable to suppress connection message #2

Open oskjoh opened 2 years ago

oskjoh commented 2 years ago

Super nice package overall. The actual connection works like a charm. However, whenever I run any of the functions to retrive data, i.e. mdxquery, cubelevels etc. the function prints a long message of connection info, in addition to returning the data frame. I guess this is an intentional feature. However, it would be nice to have a feature to be able to suppress all the additional info.

oskjoh commented 2 years ago

Looking at the source code, I can see that there are some lines referring to the “verbose” argument that is part of the call to RCurl:getURL. Setting verbose to FALSE and recompiling the package seems to remove the output message, but adding “debug=FALSE” as an argument to RMDX while defining the connection does not.

Maybe it’s just a combination of limited documentation and me not knowing enough S4.