如何解决R 3.6.2版本中‘package ‘ddply’ is not available’安装报错?
ddply包的报错问题 Hey there, let's fix this up for you! The error you're seeing happens because there's no standalone R package named ddply—the ddply() function you're looking for is actually part of the plyr package.
Here's how to get it working:
First, install the
plyrpackage itself using this command:install.packages("plyr")If you run into network issues (like slow downloads), you can specify a domestic CRAN mirror to speed things up (take Tsinghua's mirror as an example):
install.packages("plyr", repos = "https://mirrors.tuna.tsinghua.edu.cn/CRAN/")Once the installation finishes, load the
plyrpackage into your R session:library(plyr)Now you can use the
ddply()function just like you intended!
A quick note: Your R version 3.6.2 is fully compatible with the plyr package, so version mismatch won't be an issue here.
内容的提问来源于stack exchange,提问作者Jeremy Rios

