Message-ID: <1353905456915-4650805.post@n4.nabble.com>
Date: 2012-11-26T04:50:56Z
From: sheenmaria
Subject: function call from another r file
In-Reply-To: <CANVKczOR+o+ARLv8ni9yKUuP+2PjynRsMDqzQPK9f-Hx=2ahjQ@mail.gmail.com>
Thanks for the reply .I am able to call a simple function in an R file from
another by using source().
Now I am facing another issue .I am trying to call a r file named es.r which
have lotes of R functions.
These R functions are internally calling java functions by using ".jnew()"
and ".jcall()". I have added
necessary jar's to the Classpath and I am able to run es.r from command
prompt .
But when I tried to call it from anoter r file using source()
getting Exception
Error in .jnew("com/algoTree/ClientElasticSearch/ElasticSearchLoader") :
java.lang.ClassNotFoundException
How can I solve this ?
--
View this message in context: http://r.789695.n4.nabble.com/function-call-from-another-r-file-tp4650627p4650805.html
Sent from the R help mailing list archive at Nabble.com.