DS4PS / cpp-527-fall-2020

http://ds4ps.org/cpp-527-fall-2020/
0 stars 1 forks source link

Code-through not knitting #43

Open malmufre opened 3 years ago

malmufre commented 3 years ago

I am having an issue with kitting my code-through as I am getting this error:

pandoc.exe: getMBlocks: VirtualAlloc MEM_COMMIT failed: The paging file is too small for this operation to complete. Error: pandoc document conversion failed with error 251 Execution halted

The dataset that I have used is 220 MB , Is that a problem ?

Thanks

malmufre commented 3 years ago

I tried multiple solutions like rmarkdown::render('codethrough-TM-PACKAGE.Rmd') knitr::knit_exit()

but none of them worked because my dataset has 229000 rows in it.

So I went for this solution which seemed to be the most convenient:

d <- read.csv("https://query.data.world/s/wmaxggxnhn4wi4jah3q73vjpvldaj6", header = TRUE, stringsAsFactors = FALSE, nrows = 7000)

which was to reduce my row numbers to 7000, and this gave me approximately the same findings.