Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Mikko Korpela
nother directory before starting long-running jobs on such a system.' On 21/04/2017 11:49, Mikko Korpela wrote: Temporary files not accessed for a long time are automatically removed in some Linux distributions and probably other operating systems too, depending on system configuration. This m

Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Mikko Korpela
s and directories periodically from /tmp, for example by a cron job running tmpwatch. Set TMPDIR to another directory before starting long-running jobs on such a system.' I am sorry for having missed this part of the manual, where the issue indeed is clearly documented. On 21/04/2017 11:49, Mik

[Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Mikko Korpela
4': No such file or directory b <- print(tempdir()) # [1] "/tmp/user/1069138/RtmpGc9M5z" identical(a, b) # [1] TRUE dir.exists(b) # [1] FALSE -- Mikko Korpela Department of Geosciences and Geography University of Helsinki __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Update copyright year in manuals

2017-02-23 Thread Mikko Korpela
With new R releases soon to come, I suggest updating the Rcopyright macro in "doc/manual/R-defs.texi" to use year 2017. -- Mikko Korpela Department of Geosciences and Geography University of Helsinki __ R-devel@r-project.org mailing

Re: [Rd] R CMD build error during vignettes build

2017-02-22 Thread Mikko Korpela
re the error occurs: Error in quantile.default(Ad1.maybe.nat, probs = (1 - ascent.crit.q)) : missing values and NaN's not allowed if 'na.rm' is FALSE The error can be investigated with the usual tools, e.g. traceback() and debug(). -- Mikko Korpela Department of Geoscien

[Rd] [patch] Eliminate warnings from gcc -Wold-style-declaration

2017-02-20 Thread Mikko Korpela
h 'bison -l -y' (GNU Bison version 2.7.1, erroneusly reporting the version as 2.7.12-4996) to create the corresponding .c files. As the warnings are only given when the user asks for "extra" warnings, this is obviously non-critical and not urgent, but might be something

Re: [Rd] changes in src/unix/system.c break builds on FreeBSD

2017-02-09 Thread Mikko Korpela
ugs.freebsd.org/bugzilla/show_bug.cgi?id=209729>. I'll add a workaround in R-devel in r72147: let us know if that does not suffice. Please let me know, if I should provide more information or can test something. Many thanks in advance, Rainer Hurling -- Mikko

[Rd] R Bugzilla down

2017-02-02 Thread Mikko Korpela
7; (2) Is your database installed and up and running? Do you have the correct username and password selected in localconfig? -- Mikko Korpela Department of Geosciences and Geography University of Helsinki __ R-devel@r-project.org mailing list https://sta

[Rd] Typos in manuals

2017-02-01 Thread Mikko Korpela
I found some trivial typos, mostly unmatched parentheses, in the R manuals. More information and suggested fixes are in the attached diff file. -- Mikko Korpela Department of Geosciences and Geography University of Helsinki Index: doc/manual/R-admin.texi

Re: [Rd] parallel::detectCores() bug on Raspberry Pi B+

2017-01-17 Thread Mikko Korpela
R bugzilla, <https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17213>. The patch included in that report is mainly about detecting physical CPUs across multiple CPU sockets, but should also fix this issue. -- Mikko Korpela Department of Geosciences and Geography Univer

[Rd] Two typos in manuals

2016-11-28 Thread Mikko Korpela
be "dialects of TeX are used for different purposes". A patch file against R-devel revision 71696 is included. -- Mikko Korpela Department of Geosciences and Geography University of Helsinki Index: doc/manual/R-intro.texi ===

[Rd] A few typos in config.site

2016-10-26 Thread Mikko Korpela
I noticed the following typos in the file "config.site": The word "compilier" should be "compiler", occurs twice (in the R-devel version). Also, "It not" should be "If not" and "overriden" should be "overridden". -- Mikko

Re: [Rd] library() asks user to accept license of some built-in packages

2016-10-02 Thread Mikko Korpela
On 02/10/16 11:59, Prof Brian Ripley wrote: On 27/09/2016 10:49, Mikko Korpela wrote: When 'getOption("checkPackageLicense")' is 'TRUE' and the user calls 'library(grid)' for the first time, R asks the user to either accept or decline the package lice

[Rd] library() asks user to accept license of some built-in packages

2016-09-27 Thread Mikko Korpela
ary.R". I think one solution could be to add something like if(identical(pkgInfo$DESCRIPTION[["Priority"]], "base")) return() to the beginning of checkLicense(), or add more packages to the hard-coded exemption list checked before calling checkLicense(). Also, in find.pa

[Rd] Typo in ?image

2016-09-22 Thread Mikko Korpela
In ?image (src/library/graphics/man/image.Rd), the text fragment "will show though" should probably be "will show through". -- Mikko Korpela Department of Geosciences and Geography University of Helsinki __ R-devel@r-project.or

Re: [Rd] Error in texi2dvi

2016-06-20 Thread Mikko Korpela
dance=TRUE} The package builds just fine after doing that, on this computer. The R-Forge history of sos.Rnw shows the line was added on May 12, revision 237. -- Mikko Korpela Department of Geosciences and Geography University of Helsinki __ R-dev

[Rd] Small mistake in ?raw

2016-06-07 Thread Mikko Korpela
d: > iconv("\x9c25.63", from = "latin1") [1] "\u009c25.63" > iconv("\xa325.63", from = "latin1") [1] "£25.63" -- Mikko Korpela Department of Geosciences and Geography University of Helsinki __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [patch] Error in reg-tests-1c.R (R-devel)

2016-05-18 Thread Mikko Korpela
On 18/05/16 13:50, Martin Maechler wrote: Mikko Korpela on Wed, 18 May 2016 13:05:24 +0300 writes: > I get an error when running "make check" after building > R-devel r70629 on Ubuntu 14.04. > Here are the relevant > lines in the file &

[Rd] [patch] Error in reg-tests-1c.R (R-devel)

2016-05-18 Thread Mikko Korpela
en_GB" LC_COLLATE="en_GB" LC_MONETARY=fi_FI.UTF-8 LC_MESSAGES="en_GB" LC_PAPER="en_GB" LC_NAME="en_GB" LC_ADDRESS="en_GB" LC_TELEPHONE="en_GB" LC_MEASUREM

Re: [Rd] iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)

2016-02-29 Thread Mikko Korpela
after checking against R-devel rev 70247 > or higher. > > Duncan Murdoch > > On 25/02/2016 5:54 AM, Mikko Korpela wrote: >> On 25.02.2016 11:31, Mikko Korpela wrote: >>> On 23.02.2016 14:06, Mikko Korpela wrote: >>>> On 23.02.2016 11:37, Martin

Re: [Rd] Sys.readlink (on BSD vs Linux)

2016-02-29 Thread Mikko Korpela
ttp://linux.die.net/man/1/realpath What do you mean by "different meaning"? How are the command line tools [1] relevant when R is using the C function 'readlink'? http://pubs.opengroup.org/onlinepubs/9699919799/functions/readlink.html https://www.freebsd.org/cgi/man.cgi?query=r

Re: [Rd] iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)

2016-02-25 Thread Mikko Korpela
On 25.02.2016 11:31, Mikko Korpela wrote: > On 23.02.2016 14:06, Mikko Korpela wrote: >> On 23.02.2016 11:37, Martin Maechler wrote: >>>>>>>> nospam@altfeld-im de >>>>>>>> on Mon, 22 Feb 2016 18:45:59 +0100 writes: >>> >>

Re: [Rd] iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)

2016-02-25 Thread Mikko Korpela
On 23.02.2016 14:06, Mikko Korpela wrote: > On 23.02.2016 11:37, Martin Maechler wrote: >>>>>>> nospam@altfeld-im de >>>>>>> on Mon, 22 Feb 2016 18:45:59 +0100 writes: >> >> > Dear R developers >> > I think

Re: [Rd] iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)

2016-02-24 Thread Mikko Korpela
On 24.02.2016 15:47, Duncan Murdoch wrote: > On 23/02/2016 7:06 AM, Mikko Korpela wrote: >> On 23.02.2016 11:37, Martin Maechler wrote: >>>>>>>> nospam@altfeld-im de >>>>>>>> on Mon, 22 Feb 2016 18:45:59 +0100 writes: >>>

Re: [Rd] iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)

2016-02-23 Thread Mikko Korpela
else > > But just looking a bit at such a file() object with writeLines() > seems slightly revealing, as e.g., 'eol' does not seem to > "work" for this encoding: > > > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encod

Re: [Rd] inconsistency in treatment of USE.NAMES argument

2016-02-15 Thread Mikko Korpela
The two CRAN packages I'm (co)authoring, dplR and sisal, would both be OK with the change. (Cc'ing to the Maintainer of dplR and my other email address) - Mikko On 11.02.2016 17:02, Michael Lawrence wrote: > Changing the vapply() behavior makes sense in principle. I analyzed > the CRAN code base

[Rd] [patch] Fix automatic domain in ngettext(), Bug 14605

2015-12-14 Thread Mikko Korpela
; ‘"R-pkg"’. Otherwise there is no default domain. At least "1.8.2 R messages" in R-exts implies that automatic domain applies to ngettext(), too. Tested on "R Under development (unstable) (2015-12-14 r69773)", Platform: x86_64-pc-linux-gnu (64-bit). -- Mikko Korp

[Rd] [patch] Use JIT for PCRE pattern matching

2015-11-28 Thread Mikko Korpela
ould be nice if R could provide some protection against this, but it seems to be a non-trivial task. Compiling the PCRE library with --disable-stack-for-recursion is one solution. -- Mikko Korpela Aalto University School of Science Department of Computer Science Index: src/main/grep.c

Re: [Rd] Outdated information in regex.Rd

2015-11-19 Thread Mikko Korpela
On 19.11.2015 12:05, Martin Maechler wrote: >>>>>> Mikko Korpela >>>>>> on Wed, 18 Nov 2015 11:35:14 +0200 writes: > > > The NEWS for R-devel has the following item: > >> The previously included versions of zlib, bzip2, xz and

[Rd] Outdated information in regex.Rd

2015-11-18 Thread Mikko Korpela
mation in 'src/library/base/man/regex.Rd' is no longer valid: > If PCRE support was compiled from the sources within R, the PCRE > version is 8.36 as described here. -- Mikko Korpela Aalto University School of Science Department of Computer Science ___

[Rd] Typo in ?Memory

2015-10-02 Thread Mikko Korpela
I noticed a small typo in ?Memory. See the diff at the bottom of the message. - Mikko Index: src/library/base/man/Memory.Rd === --- src/library/base/man/Memory.Rd (revision 69448) +++ src/library/base/man/Memory.Rd (working

Re: [Rd] R CMD check --as-cran does not show all error messages.

2014-09-05 Thread Mikko Korpela
nhances. For good practice with packages in the Suggests field, > see §1.1.3.1 of ‘Writing R Extensions‘. The CRAN Repository Policy, http://cran.r-project.org/web/packages/policies.html, suggests using the most recent R-devel for package checking before submission. -- Mikko Korpela Aalto Univers

[Rd] Suggestion / patch to support more Unicode characters in R CMD Rd2pdf

2012-07-04 Thread Mikko Korpela
directory. Tested on R development version r59731 running on Ubuntu 10.10 64 bit. -- Mikko Korpela Aalto University School of Science Department of Information and Computer Science encTest3.tar.gz Description: GNU Zip compressed data Index: src/library/tools/R/Rd2pdf.R ===