Thanks for the information, Simon.

I had both the 64-bit version of R and the 64-bit Windows 7, but not the
64-bit version of Java.

Now that I've downloaded the proper version of Java, the problem has been
solved.

Thanks -

SR
Steven H. Ranney



On Mon, Oct 15, 2012 at 5:12 PM, Simon Knapp <sleepingwell@gmail.com> wrote:

> My guess would be that your running the 32 bit version of R - and
> rJava is looking for the 64 bit dll. I'd suggest starting the 64 bit
> version of R explicitly (e.g. the 64 bit version of Rgui lives at
> <R_HOME>/bin/x64/Rgui.exe, whereas the 32 bit version lives at
> <R_HOME>/bin/i386/Rgui.exe).
>
> On Tue, Oct 16, 2012 at 2:37 AM, Steven Ranney <steven.ranney@gmail.com>
> wrote:
> > All –
> >
> >
> >
> > I’m having a problem with the rJava package.  I can download it to my
> > machine (Win 7 64-bit) but when I try to load the package into R (2.15.1,
> > 64-bit version), I get the following error:
> >
> >
> >> require(rJava)
> >
> > Loading required package: rJava
> >
> > Error : .onLoad failed in loadNamespace() for 'rJava', details:
> >
> >   call: inDL(x, as.logical(local), as.logical(now), ...)
> >
> >   error: unable to load shared object
> > 'C:/Users/sranney/Documents/R/win-library/2.15/rJava/libs/x64/rJava.dll':
> >
> >   LoadLibrary failure:  %1 is not a valid Win32 application.
> >
> >
> > I have verified that the file R is looking for is in the appropriate
> place,
> > but I continue to get the error.  I have tried to download rJava from
> > another source, but still get the error.
> >
> >
> > I have not been able to find another user with this same issue.
> >
> >
> > Thanks for your help –
> >
> >
> > Steven Ranney
> >
> >         [[alternative HTML version deleted]]
> >
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>

	[[alternative HTML version deleted]]


