Conflict between R and Openfoam in Ubuntu

I work on a computer with Ubuntu 12.04 LTS, and there are OpenFoam libraries on this computer. I recently installed the R. software. I had no problems during the installation process of R. The problem I found was related to starting R. When I write R in the terminal, I get the following:

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)

Why, when I want to work with R, does the terminal show the version of OpenFoam? What can I do to solve this problem?

+4
source share
1 answer

You can find out which version of R the system knows (and which it will use by default) by running which -a Ror whereis R.

R OpenFoam, /usr/bin/R ( ) R: alias R=/usr/bin/R ( @XavierStuvw)

+2

Source: https://habr.com/ru/post/1531943/


All Articles