首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu中R与Openfoam的冲突

Ubuntu中R与Openfoam的冲突
EN

Stack Overflow用户
提问于 2014-03-16 01:22:40
回答 1查看 615关注 0票数 4

我在一台装有Ubuntu12.04LTS的pc上工作,这台电脑有OpenFoam库。最近,我安装了R软件。在安装R的过程中,我没有遇到任何问题。我发现的问题与运行R有关。当我在终端中写入R时,我会得到如下结果:

代码语言:javascript
复制
luke@glinux:~$ R
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.0                                 
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.0-5be49240882f
Exec   : R
Date   : Mar 15 2014
Time   : 10:56:27
Host   : "glinux"
PID    : 7525
Case   : /home/luke
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
fileName::stripInvalid() called for invalid fileName UbuntuOne
    For debug level (= 2) > 1 this is considered fatal
Aborted (core dumped)

为什么当我想使用R时,终端会向我显示OpenFoam版本?我能做些什么来解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2017-02-09 21:35:42

通过运行which -a Rwhereis R,您可以找出系统知道R的哪些版本(以及默认情况下将使用哪些版本)。

如果您想运行统计程序R而不是OpenFoam,您可以运行/usr/bin/R (填写系统的实际完整路径),或者为R:alias R=/usr/bin/R设置一个别名(感谢@XavierStuvw)

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22427169

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档