我想使用R运行GEE程序,但我无法在Mac上加载geepack。这是我得到的错误。请有人帮我解释一下这意味着什么?为什么我需要加载这么多其他软件包才能使用geepack。谢谢。
> library(geepack)
Loading required package: doBy
Loading required package: survival
Loading required package: splines
Loading required package: R2HTML
Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: lme4
Loading required package: Matrix
Loading required package: lattice
Attaching package: 'Matrix'
The following object(s) are masked from 'package:base':
det
Attaching package: 'lme4'
The following object(s) are masked from 'package:stats':
AIC, BIC
Loading required package: snow
Error: package 'snow' could not be loaded
In addition: Warning messages:
1: package 'survival' was built under R version 2.13.2
2: In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :
there is no package called 'snow'
答案 0 :(得分:2)
错误消息似乎足够清楚。你没有安装包'snow'。
答案 1 :(得分:0)
我删除了R.2.13.2版本并安装了旧版本R 2.11,它运行得很好。我认为R.2.13.2版本可能需要一些修复。也许R2.14版本可能会更好。