Continue to use the error "loop_apply" is not allowed from the current namespace (plyr) "in ggplot2 with sample codes

I continue to beat this error today and I am already downloading plyr from github, but it still does not work. I restarted R-studio even on my PC after installing plyr ..

enter image description here

+6
source share
1 answer

It seems that the problem may be due to a change in the way that R resolves links to external DLLs, as mentioned halfway through the stream here .

Adding the PACKAGE = "plyr" parameter to the .Call function call on line 12 R / loop_apply.R in the source (clone from github), and then installing the package from this source ( install.packages ("<path to plyr source", type = "source", repos = NULL) ) seems to fix it.

+4
source

All Articles