Re: [Rd] Can't build R 3.6.1 or 3.5.3 on Ubuntu 18.04 LTS

2019-11-24 Thread Saren Tasciyan

Hi,

Yes I am aware of it.

And yes, I have libicu60 installed. Is it the configure script making a 
mistake?


Best,

Saren

On 11/22/19 4:12 PM, Jeroen Ooms wrote:

On Fri, Nov 22, 2019 at 2:58 PM Saren Tasciyan  wrote:

Hi,

I am trying to build a more recent version (3.6.1 or 3.5.3) of R on
Ubuntu 18.04 LTS.

Are you aware you can get up-to-date binaries either from PPA or CRAN:

   sudo add-apt-repository ppa:marutter/rrutter
   sudo apt-get install r-base-dev


and I ran ./configure
During "make", I get the following error:
platform.o: In function `do_eSoftVersion':
/home/user/Desktop/R-3.6.1/src/main/platform.c:3129: undefined reference
to `u_getVersion_58'

Such linking errors indicate you are not linking against the correct
library that you compiled against. In this case, there seems to be a
version conflict because you compiled against version 58 of ICU, but
Ubuntu Bionic actually has ICU60:
https://packages.ubuntu.com/bionic/libicu-dev

So the question is how do you end up with ICU58 headers? I am guessing
your either installed a custom libicu in /usr/local/, or you upgraded
from an older version of ubuntu but haven't upgraded libicu-dev.
Either way the solution is to clean up your system and make sure there
is only one version of libicu.


__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] switch to reference counting in R-devel

2019-11-24 Thread peter dalgaard


> On 24 Nov 2019, at 15:30 , Tierney, Luke  wrote:
> 
> Baring any unforeseen issues 

Freudian slip, if ever I saw one

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cbs.dk  Priv: pda...@gmail.com

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] switch to reference counting in R-devel

2019-11-24 Thread Tierney, Luke
Baring any unforeseen issues R-devel will switch in about a week from
the NAMED mechanism to reference counting for determining when objects
can be safely mutated in base C code. This is expected to have minimal
impact on packages not using unsupported coding practices in their C
code.


The transition to reference counting has been in progress for a
number of years. Some older notes on this are available at
http://developer.r-project.org/Refcnt.html.  These may no longer be
completely accurate but should give you an idea of what is going on.

If you want to test your package under reference counting you can do
so by building R with -DSWITCH_TO_REFCNT added to CFLAGS or DEFS in a
config.site file.

A small number of packages are still using the NAMED or SET_NAMED
functions even though this has been discouraged for some  time.
For now these will not produce errors but also not do anything useful.
They will probably be removed before R 4.0.0 is released, so you
should look at why you are using them and adjust accordingly.

Best,

luke


-- 
Luke Tierney
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa  Phone: 319-335-3386
Department of Statistics andFax:   319-335-3017
Actuarial Science
241 Schaeffer Hall  email:   luke-tier...@uiowa.edu
Iowa City, IA 52242 WWW:  http://www.stat.uiowa.edu

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel