Displaying 20 results from an estimated 6000 matches similar to: "HOW TO PASS MY JAVA ARGUMENT INTO RSCRIPT FILE"
2017 Oct 30
3
Pass Parameters to RScript?
Thanks Eric,
I saw that page, too, but it states:
"This post describes how to pass external arguments to R when calling a Rscript with a command line."
Not what I'm trying to do.
Thanks for your reply.
Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.
> -------- Original Message --------
> Subject: Re: [R] Pass Parameters to RScript?
> Local
2011 Sep 01
1
rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''
Good Morning,
I'm trying to install the rJava package on a local (work) machine and having
some trouble. The following occurred in an RGui session.
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252
LC_NUMERIC=C
[5]
2017 Oct 30
0
Pass Parameters to RScript?
I do not program in Java but it seems a Java program can make system calls
which would be equivalent to running from the command line, but done from
within a Java program. Not sure whether that would meet your needs and if
not why not. Just a suggestion.
Check out
http://www.java-samples.com/showtutorial.php?tutorialid=8
On Mon, Oct 30, 2017 at 5:10 PM, Morkus <morkus at protonmail.com>
2011 Oct 28
2
Can't install rJava
Hello. I have this error:
> install.packages("rJava")
Installing package(s) into ?C:/PROGRA~1/R/R-212~1.0/library?
(as ?lib? is unspecified)
Warning in install.packages :
package ?rJava? is not available
Does this mean that rJava is not available at all?
--
View this message in context: http://r.789695.n4.nabble.com/Can-t-install-rJava-tp3948460p3948460.html
Sent from the R help
2010 Mar 30
2
Trouble in using rJava
Hello,
I'm using rJava and JRI to call R scripts from my Java code, but my
scripts are sometimes executed, and very often they don't run throwing a
Java exception.
I'm using a 2.7 version of R, with rJava 0.8.4 and Java Sun 1.6.
Somebody can help me please ??
Thank you very much,
Nabila
2007 Sep 27
2
rJava and RJDBC
I am desperate for help.
I am trying to get the RJDBC and rJava .5to work on both my windows xp
and linux Redhat EL5 Server. On both I get a
ava.lang.ClassNotFoundException when calling JDBC().
My example is
require(RJDBC)
classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar'
driverClass=c("com.mysql.jdbc.Driver")
drv <-
2009 Oct 28
1
how can i call R program from one java program?
Dear All
I want to call the R program from one Java program because In my project R
program parameters are set by one web page developed by java.
Is this possible to call R program from java?
many thanks in advance
--
Wesley C Mathew
[[alternative HTML version deleted]]
2011 Dec 29
1
rJava and JRI
Dear All,
I am writing R code and I want to interface with JAVA using netbeans.
I want to call R from JAVA. What i should pick?rJAVA or JRI?
and can someone provide me step-by-step to installing and code for
connecting to R.
As i am using path analysis. Is it possible to use?
Thank you in advance
regards,
Permata
--
View this message in context:
2011 Apr 07
1
Problem Installing rJava on MS Win 7 Platform
I''m a new R user and, frankly, this problem has got me stumped.
I''m using the 64 bit version of RGui and followed the installation
instructions on http://www.rforge.net/rJava/
Here is the result:
package ''rJava'' successfully unpacked and MD5 sums checked
> library(rJava)
Error in utils::readRegistry(key, "HLM", 2) :
Registry key
2012 Aug 27
2
littler and rJava
Hello list,
I'm having some difficulty getting rJava to load in littler. Even
after a R CMD javareconf and a reinstall of littler, I get this:
jlaing at xenon:~$ r -e "require(rJava)"
Loading required package: rJava
Loading required package: methods
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable
2011 Jan 07
3
R packages for R 2.11.1
Hi ,
I am using R 2.11.1 . I need to download few packages for the same for
Windows.But in CRAN i see the latest packages for R 2.12.1 only. Can you
help me out with the locations where i can find the packages for R 2.11.1
Windows zip?
Thanks in advance
--
View this message in context: http://r.789695.n4.nabble.com/R-packages-for-R-2-11-1-tp3178633p3178633.html
Sent from the R help mailing
2012 May 20
3
dot - comma problem
Dear all
I am trying to use the ODB package to connect to an libreoffice-odb database.
The libreoffice package is german, thus, decimal separator is a comma. However,
I can open the database and upload a it without error,
library(ODB)
db <- odb.open("Test.odb")
but a soon as the "odb.open" command is executed, the decimal separator in R
is changed to comma.
Before
2013 Nov 11
2
problem using rJava with parallel::mclapply
Dear all,
I got an issue trying to parse excel files in parallel using XLConnect, the
process hangs forever.
Martin Studer, the maintainer of XLConnect kindly investigated the issue,
identified rJava as a possible cause of the problem:
This does not work (hangs):
library(parallel)
require(rJava)
.jinit()
res <- mclapply(1:2, function(i) {
2009 Sep 03
1
Rscript and default packages
Hi,
Is is possible to embed inside an R script, the name of the default
packages to be loaded when the script is invoked with Rscript.
I know about the --default-packages argument, but I was wondering if
there was a mechanism to embed this information within the script itself
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|-
2014 Jun 17
1
rJava Java debugger API
Hi,
I use rJava and call Java code that uses JVMTI code like this
VM vm = VM.getVM();
Universe universe = vm.getUniverse();
CollectedHeap heap = universe.heap();
This code attaches to another JVM and to get its internals. This is legal
Java and it works. But when I use rJava to call this code, the call is
successfull and it throws an error. I believe there is Java
2010 Nov 12
2
JGR install problem
when i double click JGR.exe, it show " Can't Find Java/R interface (JRI)..."
my R version is R 2.12.0.
Did anyone know how to install the JGR?
--
View this message in context: http://r.789695.n4.nabble.com/JGR-install-problem-tp3039013p3039013.html
Sent from the R help mailing list archive at Nabble.com.
2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
I have been experiencing issues with an R script hanging when connecting to
an Oracle database. To help debug, I found a function here in the nabble
forum and made a small test script:
#!/usr/bin/Rscript --no-restore --no-save --no-init-file
library("RJDBC")
drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'")
dbCheck =
2007 Nov 20
1
Help with talking to R from Java (on Window)
Hi - I read through RServe page carefully and it turns out that it's not recommended to use RServe on windows. I have different applications that are calling R to do their own things at the same time. So architecture like R(D)COM or RServe is preferred where I can create a dedicated process for a single application. However, if I have to go with R(D)COM from Java, I'd have to find Java
2009 Feb 28
2
Using JRI and Java 1.6 on MAC OS X
Dear R-Help,
I am trying to get JRI (the rJava interface allowing Java to connect
to R) to work. I was able to run it a week ago when I was doing some
testing using Java 1.5. However, I am developing a GUI application
using some of the new Java 1.6 features and I just can't get JRI to
work with this setup.
Here is what I get:
Cannot find JRI native library!
Please make sure that the JRI
2011 Sep 19
0
[SOLVED] Rscript path problem on R 2.13.1 for Ubuntu 11.04?
Dear all,
I Located my previous problem: an orphan Rscript was still in /usr/local/bin,
and since /usr/local/bin came before /usr/bin/ in the PATH, the "wrong"
Rscript was called. Removing /usr/local/bin/Rscript solved the installation
issue with Ubuntu 11.04+R 2.13.1 but I'm still unsure on the exact details
why/where/when the error "Rscript execution error: No such file or