Rmarkdown Cannot Run Chunk but Can Run in Console

I'm setting up Rmarkdown in windows setting and everything can run properly in Console, But CANNOT run in Rmarkdown chunk .

If I click that green little play button to run the chunk, it returns a confusing error:

FYI This is the environment:

R version 3.5.1 (2018-07-02) -- "Feather Spray"

Copyright (C) 2018 The R Foundation for Statistical Computing

Platform: x86_64-w64-mingw32/x64 (64-bit)

and this is the Error message:

Error in rbind(info, getNamespaceInfo(env, "S3methods")) : number of columns of matrices must match (see arg 2)

The confusing part is that there's NOTHING in my code even remotely related to rbind! Even if the entire chunk only contains "1+1" it still says "Erro in rbind"...

For reference, this is a duplicate of an issue posted in Github already:

@chenyinggao for next time please reference when you cross post:

This topic was automatically closed 21 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.