Watts-College / cpp-529-spr-2022

https://watts-college.github.io/cpp-529-spr-2022/
0 stars 2 forks source link

Knitting #8

Open verogutierrezasu opened 2 years ago

verogutierrezasu commented 2 years ago

@JasonSills I keep getting this error message when I try to knit. I thought I updated everything in R and have tried library(shiny) instead and still the same message pops up.

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 In addition: Warning messages: 1: package 'tidycensus' was built under R version 4.1.3 2: package 'tidyverse' was built under R version 4.1.2 3: package 'ggplot2' was built under R version 4.1.2 4: package 'tidyr' was built under R version 4.1.2 5: package 'readr' was built under R version 4.1.2 6: package 'forcats' was built under R version 4.1.2 7: package 'viridis' was built under R version 4.1.2 8: package 'DT' was built under R version 4.1.2 9: In instance$preRenderHook(instance) : It seems your data is too big for client-side DataTables. You may consider server-side processing: https://rstudio.github.io/DT/server.html 10: In instance$preRenderHook(instance) : It seems your data is too big for client-side DataTables. You may consider server-side processing: https://rstudio.github.io/DT/server.html Execution halted

JasonSills commented 2 years ago

@verogutierrezasu

Let's double check the version of R and RStudio you are running. You can find this in the console. Watch this video for step-by-step instructions:

https://www.youtube.com/watch?v=Wvq5-UuxkQY

JasonSills commented 2 years ago

I also recommend this walkthrough on how to update R:

https://www.linkedin.com/pulse/3-methods-update-r-rstudio-windows-mac-woratana-ngarmtrakulchol/

verogutierrezasu commented 2 years ago

@JasonSills

Thank you! The video and instructions were helpful, but now I'm only getting this part of the error message :(

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 In addition: Warning messages: 1: In instance$preRenderHook(instance) : It seems your data is too big for client-side DataTables. You may consider server-side processing: https://rstudio.github.io/DT/server.html 2: In instance$preRenderHook(instance) : It seems your data is too big for client-side DataTables. You may consider server-side processing: https://rstudio.github.io/DT/server.html Execution halted

lecy commented 2 years ago

Are you trying to print an entire dataframe instead of just a preview with head()?

https://github.com/DS4PS/cpp-526-fall-2020/issues/25

verogutierrezasu commented 2 years ago

@lecy

I had head() in some of the codes but once I put it in all of the codes it was able to knit! Thank you!