[R] rJava problem
mister_bluesman at hotmail.com
Thu May 17 16:15:46 CEST 2007
Could someone please tell me where I can find a simple example, which does
not require linux!, on how I can see if this is working and get me started
using rJava. I have read the document 'Getting Started with the
R-Java/Omegahat Interface' and have tried to type in things such as
.JavaConstructor("JButton", "A button") in the R console after loading
library(rJava). However i keep getting the error:
Error: could not find function ".JavaConstructor"
Any help would be so greatly appreciated.
> Basically, I’m trying to install rJava on my windows XP machine. I think I
> have succeeded in doing so as it appears in the list when i type library()
> in R.
> However, when i type ‘library(rJava)’ I get an error dialog box saying:
> 'This application has failed to start because jvm.dll was not found.
> Re-installing the application may fix this problem'
> When I press 'OK' on the dialog box, I get the following in the R console:
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> LoadLibrary failure: The specified module could not be found.
> Error : .onLoad failed in 'loadNamespace' for 'rJava'
> Error: package/namespace load failed for 'rJava'
> Do you have any ideas how I can fix this? I really would appreciate any
> help you could give me?
> I have tried reinstalling it and I continue to get the same problem. I am
> using java's jdk1.6.0_01
View this message in context: http://www.nabble.com/rJava-problem-tf3771205.html#a10664944
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help