Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress verbose in textmineR::CreateDtm() #28

Closed
sunsiyu opened this issue Feb 28, 2017 · 5 comments
Closed

suppress verbose in textmineR::CreateDtm() #28

sunsiyu opened this issue Feb 28, 2017 · 5 comments

Comments

@sunsiyu
Copy link

sunsiyu commented Feb 28, 2017

Hi,

When using the function CreateDtm() in textmineR, the progress status verbose cannot be suppressed regardless of suppressWarnings(), suppressMessages(), invisible(), or try(silent = T) etc.

For strictly non-verbose environment, this is very undesirable. Could this be somehow modified in a way that leave the option of verbose to the user?

stackoverflow question here

@TommyJones
Copy link
Owner

Thanks for bringing this to my attention. I will have to add a verbose argument since the underlying function producing the output is text2vec::create_dtm. Shouldn't be an issue. I will add that to the next minor release. It will be up on CRAN sometime in March.

@TommyJones
Copy link
Owner

Yikes. Upon testing that doesn't do it because the source is in text2vec::create_vocabulary which does not have a verbose argument. I will have to dig deeper to see what can be done.

@dselivanov
Copy link

dselivanov commented Mar 3, 2017 via email

@TommyJones
Copy link
Owner

It worked! Thank you @dselivanov. I'll close this issue once the next version is released to CRAN

@TommyJones
Copy link
Owner

Closing. Latest version includes this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants