This question already has an answer here:
这个问题已经有了答案:
- What does “The following object is masked from 'package:xxx'” mean? 1 answer
- “下面的对象从包中被屏蔽了:xxx”是什么意思?1回答
When I start R on my windows machine, I get below log. Why do i get 2 errors below? how could I debug them? Is the problem associated with packages Arules and Matrix? Why do I get this error only for these 2 packages? I also installed rest of the packages in the same location...
当我在windows机器上启动R时,我得到的是日志。为什么会有两个错误?我怎么调试它们呢?包装的问题和矩阵有关系吗?为什么只有这两个包会出现这个错误?我还在相同的位置安装了其他的包…
What does it mean when it says " The following objects are masked from ‘package:base’: "?
它是什么意思,当它说“下面的对象被包装:base”:“?
R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[Workspace loaded from ~/.RData]
**Error installing package: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error installing package: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.**
Loading required package: arules
Loading required package: Matrix
Attaching package: ‘arules’
The following objects are masked from ‘package:base’:
%in%, write
2 个解决方案
#1
1
This may be related to a space in the install location of R, which is not recommended see:
这可能与R的安装位置的空间有关,不推荐使用:
错误安装R包
#2
0
Did you just re-install R? It looks like it is complaining when it tries to reload an old .RData file and that is looking for something that no longer exists. It could also be a problem with spaces in file names. I typically override the default path and install R in a directory with no spaces in the path (typically C:\Apps\R\R-3.1.0 with Rtools in C:\Apps\R\Rtools). This makes batch scripts a lot less hassle...
你刚刚重新安装了R吗?当它试图重新加载一个旧的. rdata文件时,它看起来就像是在抱怨,它正在寻找不再存在的东西。它也可能是文件名称空间的问题。我通常会覆盖默认路径,并在路径中没有空格的目录中安装R(通常是C:\ app \R-3.1.0,在C:\Apps\ Rtools中使用Rtools)。这使得批处理脚本减少了很多麻烦……
#1
1
This may be related to a space in the install location of R, which is not recommended see:
这可能与R的安装位置的空间有关,不推荐使用:
错误安装R包
#2
0
Did you just re-install R? It looks like it is complaining when it tries to reload an old .RData file and that is looking for something that no longer exists. It could also be a problem with spaces in file names. I typically override the default path and install R in a directory with no spaces in the path (typically C:\Apps\R\R-3.1.0 with Rtools in C:\Apps\R\Rtools). This makes batch scripts a lot less hassle...
你刚刚重新安装了R吗?当它试图重新加载一个旧的. rdata文件时,它看起来就像是在抱怨,它正在寻找不再存在的东西。它也可能是文件名称空间的问题。我通常会覆盖默认路径,并在路径中没有空格的目录中安装R(通常是C:\ app \R-3.1.0,在C:\Apps\ Rtools中使用Rtools)。这使得批处理脚本减少了很多麻烦……