自更新到版本3.3.2后,R不起作用

时间:2016-11-07 19:47:54

标签: r opensuse

自版本3.3.2的最新更新以来,我在尝试启动R时遇到以下错误。

R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-suse-linux-gnu (64-bit)

[...] 

 Error in dyn.load(file, DLLpath = DLLpath, ...) : 
unable to load shared object '/usr/lib64/R/library/utils/libs/utils.so':
/usr/lib64/R/library/utils/libs/utils.so: undefined symbol: csduplicated
In addition: Warning messages:
1: package "methods" in options("defaultPackages") was not found 
2: S3 methods ‘[.getAnywhere’, ‘[.roman’, ‘as.character.person’,‘as.character.roman’, ‘as.person.default’, ‘as.personList.default’, ‘as.personList.person’, ‘close.txtProgressBar’, ‘edit.data.frame’, ‘edit.default’, ‘edit.matrix’, ‘edit.vignette’, ‘format.news_db’, ‘format.object_size’, ‘format.roman’, ‘head.data.frame’, ‘head.default’, ‘head.function’, ‘head.matrix’, ‘head.ftable’, ‘head.table’, ‘print.aspell’, ‘print.aspell_inspect_context’, ‘print.Bibtex’, ‘print.changedFiles’, ‘print.fileSnapshot’, ‘print.findLineNumResult’, ‘print.getAnywhere’, ‘print.hsearch’, ‘print.help_files_with_topic’, ‘print.Latex’, ‘print.ls_str’, ‘print.MethodsFunction’, ‘print.news_db’, ‘print.object_size’, ‘print.packageDescription’, ‘print.packageIQR’, ‘print.packageStatus’, ‘print.roman’, ‘print.sessionInfo’, ‘print.socket’, ‘print.summary.p [... truncated]                                                                                         
Error in dyn.load(file, DLLpath = DLLpath,...) :        
unable to load shared object '/usr/lib64/R/library/grDevices/libs/grDevices.so':                                                                           
/usr/lib64/R/library/grDevices/libs/grDevices.so: undefined symbol: mbcsToUcs2                                                                             
In addition: Warning messages:                                                                                                                               
1: package ‘utils’ in options("defaultPackages") was not found                                                                                               
2: S3 methods ‘print.recordedplot’, ‘print.colorConverter’, ‘print.RGBcolorConverter’, ‘checkFont.default’, ‘checkFont.Type1Font’, ‘checkFont.CIDFont’, ‘matchEncoding.Type1Font’, ‘matchEncoding.CIDFont’, ‘as.raster.raster’, ‘as.raster.logical’, ‘as.raster.numeric’, ‘as.raster.character’, ‘as.raster.matrix’, ‘as.raster.array’, ‘as.matrix.raster’, ‘is.na.raster’, ‘anyNA.raster’, ‘[.raster’, ‘[<-.raster’, ‘Ops.raster’, ‘print.raster’, ‘pretty.Date’, ‘pretty.POSIXt’ were declared in NAMESPACE but not found                              
[...]

我有OpenSUSE 13.2。 R-修补。

我尝试在YaST中卸载并重新安装R,但这没有帮助。

对于utils.so的ldd给出了以下内容:

ldd /usr/lib64/R/library/utils/libs/utils.so
    linux-vdso.so.1 (0x00007ffcaa53c000)
    libR.so => /usr/lib64/R/lib/libR.so (0x00007f769e25a000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f769deb0000)
    libRblas.so => /usr/lib64/R/lib/libRblas.so (0x00007f769dc82000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f769d981000)
    libreadline.so.6 => /lib64/libreadline.so.6 (0x00007f769d739000)
    libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f769d4cc000)
    liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f769d2a6000)
    libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f769d097000)
    libz.so.1 => /lib64/libz.so.1 (0x00007f769ce80000)
    librt.so.1 => /lib64/librt.so.1 (0x00007f769cc78000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f769ca74000)
    libicuuc.so.53.1 => /usr/lib64/libicuuc.so.53.1 (0x00007f769c6f1000)
    libicui18n.so.53.1 => /usr/lib64/libicui18n.so.53.1 (0x00007f769c2ae000)
    libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x00007f769c09f000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f769be81000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f769eab2000)
    libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f769bc4d000)
    libicudata.so.53.1 => /usr/lib64/libicudata.so.53.1 (0x00007f769ba4b000)
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f769b743000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f769b52c000)

有什么问题?如何让R运行agian?

提前感谢您的帮助。

0 个答案:

没有答案