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"...
cderv
April 26, 2021, 2:53pm
2
For reference, this is a duplicate of an issue posted in Github already:
opened 02:15PM - 26 Apr 21 UTC
closed 03:33PM - 26 Apr 21 UTC
I'm setting up Rmarkdown in windows setting and everything can run properly in C… onsole, But CANNOT run in Rmarkdown chunk .
If I click that green little play button to run the chunk, it returns a confusing Error:
`Error in rbind(info, getNamespaceInfo(env, "S3methods")) : number of columns of matrices must match (see arg 2)
`
The confusing part is that there's absolutely NOTHING in my code that is even remotely related to rbind! Even if the entire chunk only contains "1+1" it still says "Error in rbind"...
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)
```
@chenyinggao for next time please reference when you cross post:
Posting the same question both here and on other sites
Posting the same question to multiple forums at the same time is often considered impolite. We don't completely ban such cross-posting, but we ask you to think hard before you do it and to follow some rules.
Cross-post sparingly
Rather than post the same thing here and elsewhere from the get-go, post in one place at a time. Let enough time go by (think days, not hours) before you take your question somewhere else. Sometimes people at another site may suggest you post here if your question doesn't fit within the scope of the other site.
Always link to your other posts, and update everywhere with any solution…
system
Closed
May 17, 2021, 2:53pm
3
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.