DS4PS / cpp-529-spr-2020

Course shell for CPP 529 Data Practicum on Community Analytics for Spring 2020.
http://ds4ps.org/cpp-529-spr-2020
1 stars 1 forks source link

Lab 03- Issue with Memory and Code Chunks #7

Open Mkulbida opened 4 years ago

Mkulbida commented 4 years ago

Hello,

I am running into an error message when I try to run several of the code chunks in the lab, and from what I can tell it looks like my computer may not have enough memory to run them?

tmap_mode("view")
tm_basemap( "HikeBike.HillShading"  ) +
  tm_shape( phx, bbox=bb ) + 
  tm_polygons( col="phisp12", n=7, style="quantile", palette="-inferno" ) 

tmap mode set to interactive viewing Error: C stack usage 15923664 is too close to the limit

Then this is coming up when I try and knit the file:

Error: evaluation nested too deeply: infinite recursion / options(expressions=)? In addition: Warning messages: 1: package 'mclust' was built under R version 3.6.3 2: package 'tmap' was built under R version 3.6.3

The error repeats several times throughout the lab. I can't seem to figure out how to assign more memory to R from what I am finding online...

AntJam-Howell commented 4 years ago

@Mkulbida can you attach your .rmd file? I will take a look.

Mkulbida commented 4 years ago

@Anthony-Howell-PhD I managed to fix it, it looks like one of the packages was recently updated and I was running the old version. Thank you!

AntJam-Howell commented 4 years ago

Ok, great. Nice job finding the error! Best,