Cov txheej txheem:

RJava yog dab tsi?
RJava yog dab tsi?

Video: RJava yog dab tsi?

Video: RJava yog dab tsi?
Video: СРОЧНО_ Мирзиёев Шокировал Весь Мир_ Вот что он сделал 2024, Kaum ib hlis
Anonim

rJav yog ib qho yooj yim R-rau- Java interface. rJav muab tus choj qis nruab nrab ntawm R thiab Java (ntawm JNI). Nws tso cai rau tsim cov khoom, hu rau txoj kev thiab nkag teb ntawm Java cov khoom los ntawm R. rJav tso tawm versions tuaj yeem tau txais los ntawm CRAN - feem ntau yog nruab. pob khoom(" rJav ") hauv R yuav ua kom yuam kev.

Kuj paub, kuv tuaj yeem rub tawm rJava li cas?

Txhim kho rJava ntawm Windows 10

  1. Xyuas seb R yog 32/64 ntsis nrog sessionInfo().
  2. Download tau qhov tshwj xeeb 32/64 ntsis ntawm Java.
  3. Download Java JDK rau 32/64 ntsis.
  4. Yog tias koj nruab 32-ntsis Java ces txhua yam yuav tsum tau khaws cia hauv C: / Program Files (x86) / Java /.
  5. Nruab rJava nrog nruab.
  6. Teem koj JAVA_HOME ib puag ncig nrog Sys.

Kuj Paub, R puas siv Java? R yog ib qho ntawm feem ntau siv software pob khoom rau kev suav suav thiab cov duab kos thiab Java yog feem ntau siv programming lus. rJav yog ib JNI ( Java Native Interface)-raws li, R -rau- Java interface nrog uas Java tej zaum yuav tsim thiab Java txoj kev hu ua thiab Java teb nkag los ntawm R.

Hais txog qhov no, dab tsi yog r pab?

Khaws cia yog TCP/IP server uas tso cai rau lwm cov kev pab cuam siv cov chaw ntawm R (saib www. r -project.org) los ntawm ntau hom lus yam tsis tas yuav pib pib R los yog txuas tawm tsam R tsev qiv ntawv. Txhua qhov kev sib txuas muaj qhov chaw ua haujlwm sib cais thiab cov npe ua haujlwm.

Kuv yuav teeb JavaHome hauv R li cas?

Txheej txheem

  1. Nrhiav koj Java installation thiab ua ib daim ntawv ntawm nws.
  2. Pib qhov kev sib kho ntawm TIBCO Enterprise Runtime rau R console.
  3. Ntawm TIBCO Enterprise Runtime rau R hais kom sai, ntaus cov lus txib Sys.
  4. Yeem: Txheeb xyuas qhov chaw rau JAVA_HOME los ntawm TIBCO Enterprise Runtime rau R los ntawm kev ntaus Sys.

Pom zoo: