"R Extension - runs but..."
alien
New Altair Community Member
Hi
I have the R extension running (Ubuntu 64 bit), however any R graphics commands in the embedded R console result in the error message:
>>>Error in plot.new() : no active or default device
However plotting works fine in the standalone R.
The rapidminer startup log shows an error
2010-11-23 16:38:22 CONFIG: Loading perspectives. (ApplicationPerspectives.loadAll())
ARGUMENT 'LANGUAGE=en' __ignored__
* installing *source* package ‘e1071’ ...
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
ERROR: configuration failed for package ‘e1071’
* removing ‘/home/alan/.RapidMiner5/rLibPath/e1071’
ERROR: dependencies ‘reshape’, ‘e1071’ are not available for package ‘mlr’
* removing ‘/home/alan/.RapidMiner5/rLibPath/mlr’
* installing *source* package ‘JavaGD’ ...
checking for gcc... Hi there
gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: WARNING: Cache variable ac_cv_prog_ac_ct_CC contains a newline.
ERROR: configuration failed for package ‘JavaGD’
* removing ‘/home/alan/.RapidMiner5/rLibPath/JavaGD’
initGui(MainFrame mainFrame
but i'm not sure where the config.log file is to understand the root cause of the error. The java I am running is as below. Is the use of openjdk a problem? Or just privileges? I'm not launching rapidminer under sudo.
$ sudo R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_18
Java home path : /usr/lib/jvm/java-6-openjdk/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path: $(JAVA_HOME)/lib/amd64/server:$(JAVA_HOME)/lib/amd64:$(JAVA_HOME)/../lib/amd64::/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server -L$(JAVA_HOME)/lib/amd64 -L$(JAVA_HOME)/../lib/amd64 -L -L/usr/java/packages/lib/amd64 -L/usr/lib/jni -L/lib -L/usr/lib -ljvm
JNI cpp flags : -I$(JAVA_HOME)/../include
Updating Java configuration in /etc/R
Done.
Many thanks in advance!
Al
I have the R extension running (Ubuntu 64 bit), however any R graphics commands in the embedded R console result in the error message:
>>>Error in plot.new() : no active or default device
However plotting works fine in the standalone R.
The rapidminer startup log shows an error
2010-11-23 16:38:22 CONFIG: Loading perspectives. (ApplicationPerspectives.loadAll())
ARGUMENT 'LANGUAGE=en' __ignored__
* installing *source* package ‘e1071’ ...
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
ERROR: configuration failed for package ‘e1071’
* removing ‘/home/alan/.RapidMiner5/rLibPath/e1071’
ERROR: dependencies ‘reshape’, ‘e1071’ are not available for package ‘mlr’
* removing ‘/home/alan/.RapidMiner5/rLibPath/mlr’
* installing *source* package ‘JavaGD’ ...
checking for gcc... Hi there
gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: WARNING: Cache variable ac_cv_prog_ac_ct_CC contains a newline.
ERROR: configuration failed for package ‘JavaGD’
* removing ‘/home/alan/.RapidMiner5/rLibPath/JavaGD’
initGui(MainFrame mainFrame
but i'm not sure where the config.log file is to understand the root cause of the error. The java I am running is as below. Is the use of openjdk a problem? Or just privileges? I'm not launching rapidminer under sudo.
$ sudo R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_18
Java home path : /usr/lib/jvm/java-6-openjdk/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path: $(JAVA_HOME)/lib/amd64/server:$(JAVA_HOME)/lib/amd64:$(JAVA_HOME)/../lib/amd64::/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server -L$(JAVA_HOME)/lib/amd64 -L$(JAVA_HOME)/../lib/amd64 -L -L/usr/java/packages/lib/amd64 -L/usr/lib/jni -L/lib -L/usr/lib -ljvm
JNI cpp flags : -I$(JAVA_HOME)/../include
Updating Java configuration in /etc/R
Done.
Many thanks in advance!
Al
Tagged:
0
Answers
-
Hi,
it seems that during the installation of the R Package JavaGD the compiler causes an error. The Compiler is used because there are no precompiled binaries for your platform. Since I'm not a unix expert, I don't know where the GCC puts the log file.
To pursue this error, you could start R and install the JavaGD package manually there. This rules out RM related issues. Might be root privileges would help...
Greetings,
Sebastian0