Re: [R] Problem Installing rJava on MS Win 7 Platform

From: Daniel Nordlund <>
Date: Thu, 07 Apr 2011 14:19:15 -0700

-----Original Message-----
From: [] On Behalf Of David Winsemius
Sent: Thursday, April 07, 2011 11:41 AM
To: Stephen P Molnar
Cc:; 'Uwe Ligges'
Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform

He said "Java", not "rJava.

On Apr 7, 2011, at 11:51 AM, Stephen P Molnar wrote:

> Thanks for the reply.
> Yes, you are quite correct, but:
>> install.packages('rJava')
> Warning in install.packages("rJava") :
> argument 'lib' is missing: using
> 'C:\Users\Stephen\Documents/R/win64-library/2.11'
> --- Please select a CRAN mirror for use in this session ---
> Warning: unable to access index for repository

> trying URL

> Content type 'application/zip' length 658913 bytes (643 Kb)
> opened URL
> downloaded 643 Kb
> package 'rJava' successfully unpacked and MD5 sums checked
> The downloaded packages are in
> C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb
> \downloaded_packages
> install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb
> \downloaded_

  There is a semi-colon in that path above that looks wrong. You might first want to check that all your PATH entries are recorded properly.


> $
> Error: '\U' used without hex digits in character string starting "C;
> \U"
> So, obviously, at this point I am attempting something that R does
> not like.
In addition, for Windows you need to either double your back-slashes in the file path, or use forward-slashes instead. Hope this is helpful, Dan Daniel Nordlund Bothell, WA USA ______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code.
Received on Thu 07 Apr 2011 - 21:25:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Apr 2011 - 21:50:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive