“long vectors not supported yet” error in Rmd but not in R Script

前端 未结 2 1547
陌清茗
陌清茗 2020-12-15 02:33

I am operating matrices with R 3.1 and RStudio 0.99.

I have my R Script and with cmd+enter it works without problem.

I created an Rmd for reporting but I ha

2条回答
  •  生来不讨喜
    2020-12-15 03:02

    I also ran into this today, and fixed it by using cache.lazy = FALSE in the setup chunk in my .Rmd.

    So what is inside of the first chunk in my R Markdown file looks like this:

    library(knitr)
    knitr::opts_chunk$set(cache = TRUE, warning = FALSE, 
                          message = FALSE, cache.lazy = FALSE)
    

提交回复
热议问题