Displaying 20 results from an estimated 1000 matches similar to: "[patch] Fix automatic domain in ngettext(), Bug 14605"
2016 Feb 29
0
Sys.readlink (on BSD vs Linux)
> On Feb 29, 2016, at 5:59 AM, Sven Templer <sven.templer at gmail.com> wrote:
>
> Hello,
>
> sorry for not being clear enough.
>
> My problem is represented with the following code, running on OSX:
>
> mkdir ~/test
> ln -s ~/test ~/testlink
> touch ~/test/foo
> Rscript -e 'Sys.readlink(c("~/test/foo", "~/testlink/foo"));
2016 Feb 29
3
Sys.readlink (on BSD vs Linux)
Hello,
sorry for not being clear enough.
My problem is represented with the following code, running on OSX:
mkdir ~/test
ln -s ~/test ~/testlink
touch ~/test/foo
Rscript -e 'Sys.readlink(c("~/test/foo", "~/testlink/foo")); normalizePath(c("~/test/foo","~/testlink/foo"))'
I expected `Sys.readlink` to show the same output as `normalizePath`.
Also,
2014 Jun 29
0
[patch] Fix n arg in mclapply call to ngettext
Regarding the following code,
warning(sprintf(ngettext(has.errors,
"scheduled core %s encountered error in user code, all values of
the job will be affected",
"scheduled cores %s encountered errors in user code, all values
of the jobs will be affected"),
paste(has.errors, collapse = ", ")),
domain = NA)
has.errors is a vector whose elements are the
2015 Nov 18
3
Outdated information in regex.Rd
The NEWS for R-devel has the following item:
> The previously included versions of zlib, bzip2, xz and PCRE have
> been removed, so suitable external (usually system) versions are
> required (see the ?R Installation and Administration? manual).
Therefore I believe the following information in
'src/library/base/man/regex.Rd' is no longer valid:
> If PCRE support was compiled
2006 Mar 30
0
request to add "..." to cat(ngettext in "warnings" function
Madams & Sirs,
I am working on porting some R code to one of our servers to run under web or crontab direction. With that in mind I have been working on directing informative, warning, and error messages to outputs as I require. I would like to suggest a change to the "warnings" function; that the passed arguments be enabled to all instances of "cat" in the function,
2012 Jun 20
1
Possible bug in is.na.data.frame(): input without columns
Hello list!
Let's construct a matrix / data.frame with 0 columns, but > 0 rows, and
non-NULL rownames. Then, call is.na() on both the data.frame and the
matrix. We find that is.na.data.frame() gives an error. When row.names
are removed, is.na.data.frame() returns NULL. I think that the NULL
result is also wrong. From ?is.na:
The method ?is.na.data.frame? returns a logical matrix with
2016 Feb 24
0
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
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 at altfeld-im de <nospam at altfeld-im.de>
>>>>>>>> on Mon, 22 Feb 2016 18:45:59 +0100 writes:
>>>
>>> > Dear R developers
>>> > I think
2012 Jul 04
1
Suggestion / patch to support more Unicode characters in R CMD Rd2pdf
Hi list,
When using R CMD Rd2pdf, it is possible to set environment variable
RD2PDF_INPUTENC to value "inputenx" and enjoy better support for UTF-8
characters (see ?Rd2pdf). This enables LaTeX package "inputenx" instead
of "inputenc".
Even better support for UTF-8 encoded characters can be had by better
using the facilities provided by inputenx and making R CMD
2015 Nov 28
0
[patch] Use JIT for PCRE pattern matching
According to ?pcre_config, just-in-time compilation support in the
PCRE library <http://pcre.org/> is "desirable for speed". However, it
seems that the pattern matching functions defined in src/main/grep.c
make no effort to utilize the possible JIT support. Therefore it
appears that currently R does not benefit from JIT support in PCRE.
The attached patch is an attempt to enable
2010 Jan 21
0
domain join & kinit woes
Hi
I've got problems getting things to work here.. The setup:
AD: W2008R1
client: Ubuntu 10.04 (lucid alpha2), with samba 3.4.3, MIT 1.7
I get an error when joining the domain, and when trying to kinit using the
machine principal with any other name than HOST$ (and that worked only
after forcing the crypto to des-cbc-crc):
nexus6 etc # net ads join -W ORG.AALTO.FI -U wa.aaltonen
Enter
2013 Apr 25
1
lsfit: Error in formatting error message
Hi,
in R-3.0 I get the following error when calling lsfit with more
observations than variables, which seems to come from an error in the
formatting of the error message (note that this was not happening in
2.15.3):
> nobs <- 5; nvar <- 6; lsfit(matrix(runif(nobs*nvar), ncol=nvar),
runif(nobs), intercept=FALSE)
Error in sprintf(ngettext(nry, "%d response", "%d
2009 Apr 07
1
typo in R-ints.texi's description of P_ macro
I think there are some missing words in "R Internals"'s description of
the P_ macro.
It currently has "A macro as a wrapper for ngettext", which I think
ought to be
something like "The macro P_ may be used as a wrapper for ngettext".
The following patch also makes the 2 alternate definitions of P_ have
the same argument names,
StringS and StringP. Expanding the
2016 May 19
0
[patch] Error in reg-tests-1c.R (R-devel)
>>>>> Mikko Korpela <mikko.korpela at helsinki.fi>
>>>>> on Wed, 18 May 2016 14:18:20 +0300 writes:
> On 18/05/16 13:50, Martin Maechler wrote:
>>>>>>> Mikko Korpela <mikko.korpela at helsinki.fi> on Wed, 18
>>>>>>> May 2016 13:05:24 +0300 writes:
>>
>> > I get an error
2016 Feb 24
2
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
On 23/02/2016 7:06 AM, Mikko Korpela wrote:
> On 23.02.2016 11:37, Martin Maechler wrote:
>>>>>>> nospam at altfeld-im de <nospam at altfeld-im.de>
>>>>>>> on Mon, 22 Feb 2016 18:45:59 +0100 writes:
>>
>> > Dear R developers
>> > I think I have found a bug that can be reproduced with two lines of code
2018 Apr 26
1
Possible bug in package installation when R_ICU_LOCALE is set
(Belated) thanks for the confirmation, Ista. I just reported this issue on the R bug tracker:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17412
Best regards,
- Mikko
-----Alkuper?inen viesti-----
L?hett?j?: Ista Zahn [mailto:istazahn at gmail.com]
L?hetetty: 7. helmikuuta 2018 17:05
Vastaanottaja: Korpela Mikko (MML)
Kopio: r-devel at r-project.org
Aihe: Re: [Rd] Possible bug in
2016 May 18
2
[patch] Error in reg-tests-1c.R (R-devel)
On 18/05/16 13:50, Martin Maechler wrote:
>>>>>> Mikko Korpela <mikko.korpela at 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
> > lines in the file
2010 Jan 28
2
winbind confused about the DC's
Hi
Problems with wbinfo this time. With -u/-g/-n it works, but -i doesn't.
The log.winbindd-idmap is filled with this:
[2010/01/28 10:32:56, 4] libsmb/namequery_dc.c:73(ads_dc_name)
ads_dc_name: domain=*
[2010/01/28 10:32:56, 3] libsmb/namequery.c:1972(get_dc_list)
get_dc_list: preferred server list: ", *"
[2010/01/28 10:32:56, 3] libads/dns.c:343(dns_send_req)
2020 Aug 31
1
make check fails due to NA / NaN mismatch
Thank you for the introduction to these recent changes, Martin.
I think this was the second time I ran "make check" on that platform (Raspberry Pi 32-bit), and the first time (some months ago) it worked fine. So, that makes it kind of "suddenly", although I must say that my use of "make check" is very irregular.
I compared code before and after the split you are
2016 May 18
0
[patch] Error in reg-tests-1c.R (R-devel)
>>>>> Mikko Korpela <mikko.korpela at 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
> lines in the file "reg-tests-1c.Rout.fail":
> > ## m1z uses match(x, *) with
2016 Feb 29
2
Sys.readlink (on BSD vs Linux)
Hello together,
the function `Sys.readlink` uses the system's readlink command to resolve symlink paths. On OSX/BSD the command has a different meaning than on Linux [1].
There exists the tool 'realpath', which seems suitable for the task, at least applied at the command line level [2]. It is used in `normalizePath`.
I suggest (at least the latter) to
* use realpath instead readlink