[[Programming]] Omegahatのhttp://www.omegahat.org/RSJava/を普通に R CMD INSTALL -c SJava_0.69-0.tar.gz とすると,私のUbuntu上ではこんなエラーが出まくる. gcc -std=gnu99 -g -O2 -D_R_ -I/usr/local/lib/R/include -I/usr/local/lib/R/include/R_ext -I/tmp/R.INSTALL.L16016/SJava/src/RSJava -I. -I/tmp/R.INSTALL.L16016/SJava/inst/include -I/usr/lib/jvm/java-6-sun-1.6.0.03/include -I/usr/lib/jvm/java-6-sun-1.6.0.03/include/linux -c CtoJava.c CtoJava.cweb:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm1_args' CtoJava.cweb:215: error: static declaration of 'std_env' follows non-static declaration CtoJava.cweb:195: error: previous declaration of 'std_env' was here CtoJava.cweb: In function 'create_Java_vm': CtoJava.cweb:256: error: 'vm1_args' undeclared (first use in this function) CtoJava.cweb:256: error: (Each undeclared identifier is reported only once CtoJava.cweb:256: error: for each function it appears in.) make: *** [CtoJava.o] Error 1 そこで CtoJava.c, CtoJava.h を編集する. //色々参考にする.//http://www.ht.sfc.keio.ac.jp/~niya/niyalist/2006/10/sjavawindows_xp.html //http://cheminfo.informatics.indiana.edu/~rguha/misc/tipsntricks.html