[Rd] change R_LIBS_USER default location

2019-05-14 Thread Matsievskiy S.V.
Dear r-devel team, By default, R_LIBS_USER is set to $HOME/R. I think that it would be better to conform with XDG Base Directory Specification ( https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html ) and use $XDG_DATA_HOME/R (~/.local/share/R) instead. P.S. This message wa

Re: [Rd] [R-pkg-devel] Three-argument S3method declaration does not seem to affect dispatching from inside the package.

2019-05-14 Thread Iñaki Ucar
CCing r-devel. On Tue, 14 May 2019 at 02:11, Pavel Krivitsky wrote: > > Dear All, > > I've run into this while updating a package with unfortunately named > legacy functions. It seems like something that might be worth changing > in R, and I want to get a sense of whether this is a problem before

Re: [Rd] [R-pkg-devel] Three-argument S3method declaration does not seem to affect dispatching from inside the package.

2019-05-14 Thread Pavel Krivitsky
Hi, Iñaki, Thanks for looking into this. On Tue, 2019-05-14 at 11:33 +0200, Iñaki Ucar wrote: > > So, calling the same generic function with the same class results > > in different dispatching behaviour depending on whether the call is > > from within the package doing the export or from the outs

Re: [Rd] [R-pkg-devel] Three-argument S3method declaration does not seem to affect dispatching from inside the package.

2019-05-14 Thread Iñaki Ucar
On Tue, 14 May 2019 at 12:31, Pavel Krivitsky wrote: > > > Note that disabling name-based dispatch implies two things: 1) the > > inability to override your method by defining gen.formula in the > > global environment, and 2) another package can break yours (i.e., > > internal calls to gen()) by r

[Rd] Pcre install

2019-05-14 Thread yueli
Hello, I downloaded R-3.6.0.tar.gz from https://cran.r-project.org/src/base/R-3/. I tried to install R-3.6.0.tar.gz in Ubuntu system. Thanks in advance for any help! yue checking for pcre.h... yes checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcr

Re: [Rd] Pcre install

2019-05-14 Thread Simon Urbanek
sudo apt-get install libpcre3-dev please read the docs [R-admin: A.1 Essential programs and libraries] - you may be missing more dependencies > On May 14, 2019, at 9:44 AM, yueli wrote: > > Hello, > > > > I downloaded R-3.6.0.tar.gz from https://cran.r-project.org/src/base/R-3/. > > > I

Re: [Rd] Pcre install

2019-05-14 Thread Dirk Eddelbuettel
On 14 May 2019 at 21:44, yueli wrote: | I downloaded R-3.6.0.tar.gz from https://cran.r-project.org/src/base/R-3/. | | | I tried to install R-3.6.0.tar.gz in Ubuntu system. You are likely better off to use fully-built and generally correctly-configured R binary for Ubuntu off the CRAN mirrors.