本人安装SPSS 25 希望使用PSM 1:N分析 安装R3.3.0-win.e

本人安装SPSS 25 希望使用PSM 1:N分析 安装R3.3.0-win.exe, R essential statistics 25, STATS R33-configuration, PSMATCHING3.04, spss 运行后  显示

PSMATCHING3

   /VARS

      TREAT = Status

      COVS = Age FiO2 bleeding 

   /MATCHIT

      MATCH=NEAREST

      EST =LOGIT

      DISCARD = NONE

      MORDER = LARGEST

      RATIO = 2

      CALIPER = .7

   /OPTIONS DETAILEDBAL DETAILEDBAL_CLUSTER

   /PLOT HISTBAL DOTPLOT INDBAL RESOLUTION = 96

   /OUTPUT PAIRED.

Loading required package: optmatch

Installing package into 'C:/ProgramData/IBM/SPSS/Statistics/25/extensions'

(as 'lib' is unspecified)

--- Please select a CRAN mirror for use in this session ---

also installing the dependencies 'SparseM', 'abind', 'xtable', 'svd', 'Rcpp', 'RItools', 'digest'

 

 

  There are binary versions available but the source versions are later:

          binary source needs_compilation

xtable     1.8-2  1.8-4             FALSE

svd        0.4.1  0.4.3              TRUE

Rcpp     0.12.16  1.0.2              TRUE

RItools   0.1-15 0.1-17             FALSE

digest    0.6.14 0.6.20              TRUE

optmatch   0.9-8 0.9-11              TRUE

 

  Binaries will be installed

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/SparseM_1.77.zip'

Content type 'application/zip' length 950937 bytes (928 KB)

downloaded 928 KB

 

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/abind_1.4-5.zip'

Content type 'application/zip' length 40157 bytes (39 KB)

downloaded 39 KB

 

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/svd_0.4.1.zip'

Content type 'application/zip' length 495008 bytes (483 KB)

downloaded 483 KB

 

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/Rcpp_0.12.16.zip'

Content type 'application/zip' length 4358189 bytes (4.2 MB)

downloaded 4.2 MB

 

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/digest_0.6.14.zip'

Content type 'application/zip' length 173830 bytes (169 KB)

downloaded 169 KB

 

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/optmatch_0.9-8.zip'

Content type 'application/zip' length 1607810 bytes (1.5 MB)

downloaded 1.5 MB

 

package 'SparseM' successfully unpacked and MD5 sums checked

package 'abind' successfully unpacked and MD5 sums checked

package 'svd' successfully unpacked and MD5 sums checked

package 'Rcpp' successfully unpacked and MD5 sums checked

package 'digest' successfully unpacked and MD5 sums checked

package 'optmatch' successfully unpacked and MD5 sums checked

 

The downloaded binary packages are in

C:\Users\AppData\Local\Temp\spss3564\RtmpCkeFYe\downloaded_packages

installing the source packages 'xtable', 'RItools'

 

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/xtable_1.8-4.tar.gz'

Content type 'application/x-gzip' length 564589 bytes (551 KB)

downloaded 551 KB

 

trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/RItools_0.1-17.tar.gz'

Content type 'application/x-gzip' length 47550 bytes (46 KB)

downloaded 46 KB

 

 

The downloaded source packages are in

'C:\Users\AppData\Local\Temp\spss3564\RtmpCkeFYe\downloaded_packages'

Loading required package: survival

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :

  there is no package called 'RItools'

 

在SPSS 运行时提示选择CRAN 镜像,我选择了清华TUNA的站点镜像,后来提示的文件包,我都下载,放入R lib当中。但仍然无法使用。 还请高手指导,如何修正。