Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 03- Issue with Memory and Code Chunks #7

Open
Mkulbida opened this issue Apr 2, 2020 · 3 comments
Open

Lab 03- Issue with Memory and Code Chunks #7

Mkulbida opened this issue Apr 2, 2020 · 3 comments
Labels

Comments

@Mkulbida
Copy link

Mkulbida commented Apr 2, 2020

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
Copy link
Collaborator

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

@Mkulbida
Copy link
Author

Mkulbida commented Apr 2, 2020

@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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants