[Rd] Error "Warning in read_symbols_from_dll(so, rarch): this requires 'objdump.exe' to be on the PATH

2017-03-19 Thread Christophe Genolini
Hi all, I try to compile my package kml and I get the message Warning in read_symbols_from_dll(so,rarch): this requires 'objdump.exe' to be on the PATH I check 'Writing R Extensions' but I did not find any reference to this error. Does someone know how to fix that? Thank you very much for

Re: [Rd] [PATCH] Improve utf8clen and remove utf8_table4

2017-03-19 Thread Sahil Kang
Some of the code that uses utf8clen checks the validity of the utf8 string before making the call. However, there were some hairy areas where I felt that the new semantics may cause issues (if not now, then in future changes). I've attached two patches: * new_semantics.diff keeps the new

Re: [Rd] Experimental CXX_STD problem in R 3.4

2017-03-19 Thread Martyn Plummer
C++ support across different platforms is now very heterogeneous. The standard is evolving rapidly but there are also platforms in current use that do not support the recent iterations of the standard. Our goal for R 3.4.0 is to give as much flexibility as possible. The default compiler is

Re: [Rd] RFC: (in-principle) native unquoting for standard evaluation

2017-03-19 Thread Hadley Wickham
On Mon, Mar 20, 2017 at 7:36 AM, Radford Neal wrote: > Michael Lawrence (as last in long series of posters)... > >> Yes, it would bind the language object to the environment, like an >> R-level promise (but "promise" of course refers specifically to just >> _lazy_

Re: [Rd] RFC: (in-principle) native unquoting for standard evaluation

2017-03-19 Thread Radford Neal
Michael Lawrence (as last in long series of posters)... > Yes, it would bind the language object to the environment, like an > R-level promise (but "promise" of course refers specifically to just > _lazy_ evaluation). > > For the uqs() thing, expanding calls like that is somewhat orthogonal > to

Re: [Bioc-devel] Writing examples for accessing web API

2017-03-19 Thread Martin Morgan
A belated thanks for this update. Martin On 03/08/2017 09:53 AM, Welliton Souza wrote: Martin, I am using the "Template for Resource Queries" (http://bioconductor.org/developers/how-to/web-query/). I think the correct is: while (N.TRIES > 0L) { # line 5 instead of while (N.TRIES >= 0L) { #

Re: [Rd] [PATCH] Improve utf8clen and remove utf8_table4

2017-03-19 Thread Duncan Murdoch
On 19/03/2017 2:31 AM, Sahil Kang wrote: Given a char `c' which should be the start byte of a utf8 character, the utf8clen function returns the byte length of the utf8 character. Before this patch, the utf8clen function would return either: * 1 if `c' was an ascii character or a utf8

[Rd] outer not applying a constant function

2017-03-19 Thread Gebhardt, Albrecht
Hi, the function outer can not apply a constant function as in the last line of the following example: > xg <- 1:4 > yg <- 1:4 > fxyg <- outer(xg, yg, function(x,y) x*y) > fconstg <- outer(xg, yg, function(x,y) 1.0) Error in outer(xg, yg, function(x, y) 1) : dims [product 16] do not match the

[Rd] [PATCH] Improve utf8clen and remove utf8_table4

2017-03-19 Thread Sahil Kang
Given a char `c' which should be the start byte of a utf8 character, the utf8clen function returns the byte length of the utf8 character. Before this patch, the utf8clen function would return either: * 1 if `c' was an ascii character or a utf8 continuation byte * An int in the range [2,