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

2017-04-21 Thread Mikko Korpela
t TMPDIR to another 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 configurat

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

2017-04-21 Thread Mikko Korpela
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, Mikko Korpela

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

2017-04-21 Thread Mikko Korpela
o 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
t, 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 Geosciences and Geography University of Helsinki __

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

2017-02-20 Thread Mikko Korpela
oneusly 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 to consider. -- Mikko Korpela Department of Geosciences

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

2017-02-09 Thread Mikko Korpela
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 Korpela Department of Geosciences and Geography University of He

[Rd] R Bugzilla down

2017-02-02 Thread Mikko Korpela
tabase 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://stat.ethz.ch/mailman/li

[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
, <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 University of He

[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-03 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 license. This should not be

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

2016-09-27 Thread Mikko Korpela
ion 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.package(), the shortcut list

[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
is 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-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[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 <mikko.korp...@helsinki.fi> 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

[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
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 Maechler wrote: >>>>>>>>&

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

2016-02-29 Thread Mikko Korpela
.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=readlink=2 http://man7.org

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 <nos...@altfeld-im.de> >>>>>>>> on Mon, 22 Feb 2016 18:45:59 +0100 w

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 <nos...@altfeld-im.de> >>>>>>> on Mon, 22 Feb 2016 18:45:59 +0100 writes: >> >> > Dear R developers >>

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 <nos...@altfeld-im.de> >>>>>>>> on Mon, 22 Feb 2016 18:45:59 +0

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

2016-02-23 Thread Mikko Korpela
length input */ } 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&

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
s set to > ‘"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

[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

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

2014-09-05 Thread Mikko Korpela
, suggests using the most recent R-devel for package checking before submission. -- Mikko Korpela Aalto University School of Science Department of Information and Computer Science __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

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

2012-07-04 Thread Mikko Korpela
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 === --- src/library/tools/R