Open Sanaz-27 opened 1 year ago
@Sanaz-27 can you attach or email me your rmd file for me to take a look?
@AntJam-Howell Hi! I am having a knitting error as well.
Error in cartogram_dorling(x = msp.sp, weight = "pop.w", k = 0.05) :
could not find function "cartogram_dorling"
Calls:
I get this error for the following code:
msp.sp <- spTransform( msp.sp, CRS("+init=epsg:3395")) msp.sp <- msp.sp[ msp.sp$POP != 0 & (! is.na( msp.sp$POP )) , ]
msp.sp$pop.w <- msp.sp$POP / 9000 msp_dorling <- cartogram_dorling( x=msp.sp, weight= "pop.w", k=0.05 ) plot( msp_dorling )
Can you please help me determine why this error is happening.
Thank you,
Courtney
@Sanaz-27 can you attach or email me your rmd file for me to take a look?
Hi Dr. @AntJam-Howell. I send the file by email. Thank you, Sana
Hi Dr. @AntJam-Howell,
I keep getting this error when knitting my RMD, although when I run the chunks one by one, no issues are found!
Error in file(file, ifelse(append, "a", "w")) : cannot open the connection Calls: <Anonymous> ... <Anonymous> -> png -> .handleSimpleError -> h -> cat -> file In addition: There were 13 warnings (use warnings() to see them) Execution halted
I googled it but nothing worked from the suggestions, that all have to do with knitr::opts_knit$set or knitr::opts_chunk$set!
Can you please Help?
Thanks, Sana'