简体   繁体   中英

Couldnt not find function “cc” Knit PDF in R

When trying to Knit PDF on R Studio i get this error. cc() is a function from package CCA() , which I've installed and loaded previously. It runs perfectly in the console as does this other function: plt.cc() , which needs the same package and library, too.

Quitting from lines 125-128 (Preview-ecc331f1f51.Rmd)  Error in eval(expr, envir, enclos) : could not find function "cc" Calls: <Anonymous> ... handle -> withCallingHandlers -> withVisible -> eval -> eval Execution halted

Need some help guys, i'm 'bout to crack my display !

You should do this

require(CCA)
cc(SOMETHING) ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM