Re: [R-SIG-Mac] R and Java 10 ➜ rJava not able to build

2018-04-04 Thread Simon Urbanek
Luis,

> On Apr 4, 2018, at 10:14 AM, Luis Puerto  wrote:
> 
> Hey Simon! 
> 
> Thanks a lot for the really quick update. I installed the package from source 
> and now works perfectly, builds and can be use in R with other packages, like 
> xlsx. 
> 
> I configured java without invoking root privileges. 
> 

Great, thanks - I think I'll push the new version out pretty soon.


> I know that the Homebrew users are more or less in our own, but I think there 
> is nothing wrong in ask since probably the problem isn’t cause by the 
> Homebrew install. Finally, Homebrew is just a way to install R from source. 
> 


Yes, sure, but there used to be issues with the Homebrew toolchain that caused 
a lot of trouble that didn't exist in the official R so all I'm saying is that 
your mileage may vary. I think the situation is improving as more people 
familiar with R are entering the HB community, but it used to be pretty bad 
hence my disclaimer :).

Thanks,
Simon


> Anyhow, thanks a lot for your help! 
> 
> Best Regards
> Luis Puerto
> http://luisspuerto.net
> 
>> On 4 Apr 2018, at 16:51, Simon Urbanek  wrote:
>> 
>> Luis,
>> 
>> first, you seem to be using Homebrew R so you're pretty much on your own 
>> (=ask the Homebrew maintainer) since we don't support that. (In official R 
>> you do NOT want to use sudo as Jeff pointed out)
>> 
>> That said, you can try the latest rJava 0.9-10 version (see 
>> http://rforge.net/rJava ) which is trying to work around the issue of Java 
>> 10 lacking javah and provide feedback.
>> There are more macOS changes in the making to work around other Oracle 
>> issues so once the full batch is through I'd expect a CRAN release.
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>>> On Mar 28, 2018, at 7:10 AM, Prof Brian Ripley  
>>> wrote:
>>> 
>>> On 27/03/2018 20:25, Luis Puerto wrote:
>>> ...
 rJava is not yet compatible with Java 10
>>> 
>>> Is the correct answer.  How to work around this is in the current manual, 
>>> specifically R-admin for R 3.5.0 alpha or R-devel.
>>> 
>>> Java 10 has been out for 8 days, and the rJava maintainer was made aware of 
>>> the issues early this month, several other package maintainers only today.  
>>> The advice is to stick to an LTS release of Java (currently 8) unless you 
>>> know what you are doing.
>>> 
>>> And don't post to multiple lists!
>>> 
>>> -- 
>>> Brian D. Ripley,  rip...@stats.ox.ac.uk
>>> Emeritus Professor of Applied Statistics, University of Oxford
>>> 
>>> ___
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac@r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 
> 
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] R and Java 10 ➜ rJava not able to build

2018-04-04 Thread Luis Puerto
Hey Simon! 

Thanks a lot for the really quick update. I installed the package from source 
and now works perfectly, builds and can be use in R with other packages, like 
xlsx. 

I configured java without invoking root privileges. 

I know that the Homebrew users are more or less in our own, but I think there 
is nothing wrong in ask since probably the problem isn’t cause by the Homebrew 
install. Finally, Homebrew is just a way to install R from source. 

Anyhow, thanks a lot for your help! 

Best Regards
Luis Puerto
http://luisspuerto.net

> On 4 Apr 2018, at 16:51, Simon Urbanek  wrote:
> 
> Luis,
> 
> first, you seem to be using Homebrew R so you're pretty much on your own 
> (=ask the Homebrew maintainer) since we don't support that. (In official R 
> you do NOT want to use sudo as Jeff pointed out)
> 
> That said, you can try the latest rJava 0.9-10 version (see 
> http://rforge.net/rJava ) which is trying to work around the issue of Java 10 
> lacking javah and provide feedback.
> There are more macOS changes in the making to work around other Oracle issues 
> so once the full batch is through I'd expect a CRAN release.
> 
> Cheers,
> Simon
> 
> 
> 
>> On Mar 28, 2018, at 7:10 AM, Prof Brian Ripley  wrote:
>> 
>> On 27/03/2018 20:25, Luis Puerto wrote:
>> ...
>>> rJava is not yet compatible with Java 10
>> 
>> Is the correct answer.  How to work around this is in the current manual, 
>> specifically R-admin for R 3.5.0 alpha or R-devel.
>> 
>> Java 10 has been out for 8 days, and the rJava maintainer was made aware of 
>> the issues early this month, several other package maintainers only today.  
>> The advice is to stick to an LTS release of Java (currently 8) unless you 
>> know what you are doing.
>> 
>> And don't post to multiple lists!
>> 
>> -- 
>> Brian D. Ripley,  rip...@stats.ox.ac.uk
>> Emeritus Professor of Applied Statistics, University of Oxford
>> 
>> ___
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] R and Java 10 ➜ rJava not able to build

2018-04-04 Thread Simon Urbanek
Luis,

first, you seem to be using Homebrew R so you're pretty much on your own (=ask 
the Homebrew maintainer) since we don't support that. (In official R you do NOT 
want to use sudo as Jeff pointed out)

That said, you can try the latest rJava 0.9-10 version (see 
http://rforge.net/rJava ) which is trying to work around the issue of Java 10 
lacking javah and provide feedback.
There are more macOS changes in the making to work around other Oracle issues 
so once the full batch is through I'd expect a CRAN release.

Cheers,
Simon



> On Mar 28, 2018, at 7:10 AM, Prof Brian Ripley  wrote:
> 
> On 27/03/2018 20:25, Luis Puerto wrote:
> ...
>> rJava is not yet compatible with Java 10
> 
> Is the correct answer.  How to work around this is in the current manual, 
> specifically R-admin for R 3.5.0 alpha or R-devel.
> 
> Java 10 has been out for 8 days, and the rJava maintainer was made aware of 
> the issues early this month, several other package maintainers only today.  
> The advice is to stick to an LTS release of Java (currently 8) unless you 
> know what you are doing.
> 
> And don't post to multiple lists!
> 
> -- 
> Brian D. Ripley,  rip...@stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] R and Java 10 ➜ rJava not able to build

2018-03-28 Thread Luis Puerto
Hi Jeff, 

Sorry if I’ve done something wrong posting to more that one list. Perhaps I 
should have written just different emails for each list so people from one list 
don’t reply to the other lists. Apologies for that. 

On another note, thanks for your reply. Let’s hope that we soon can have only 
one version of Java. 


Best Regards
Luis Puerto
http://luisspuerto.net

> On 28 Mar 2018, at 14:10, Prof Brian Ripley  wrote:
> 
> On 27/03/2018 20:25, Luis Puerto wrote:
> ...
>> rJava is not yet compatible with Java 10
> 
> Is the correct answer.  How to work around this is in the current manual, 
> specifically R-admin for R 3.5.0 alpha or R-devel.
> 
> Java 10 has been out for 8 days, and the rJava maintainer was made aware of 
> the issues early this month, several other package maintainers only today.  
> The advice is to stick to an LTS release of Java (currently 8) unless you 
> know what you are doing.
> 
> And don't post to multiple lists!
> 
> -- 
> Brian D. Ripley,  rip...@stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] R and Java 10 ➜ rJava not able to build

2018-03-28 Thread Prof Brian Ripley

On 27/03/2018 20:25, Luis Puerto wrote:
...

rJava is not yet compatible with Java 10


Is the correct answer.  How to work around this is in the current 
manual, specifically R-admin for R 3.5.0 alpha or R-devel.


Java 10 has been out for 8 days, and the rJava maintainer was made aware 
of the issues early this month, several other package maintainers only 
today.  The advice is to stick to an LTS release of Java (currently 8) 
unless you know what you are doing.


And don't post to multiple lists!

--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac