Displaying 20 results from an estimated 2000 matches similar to: "Marking a ticket as a (potential) regression in bug tracker?"
2019 May 31
2
[patch] add sanity checks to quantile()
The attached patch adds some sanity checks to the "type" argument of
quantile(). Output from the following commands show the change of
behavior with the current patch:
vec <- 1:10
quantile(vec, type = c(1, 2))
quantile(vec, type = 10)
quantile(vec, type = "aaa")
quantile(vec, type = NA_real_)
quantile(vec, type = 4.3)
quantile(vec, type = -1)
Current behavior
2018 May 04
0
[Rd] source(echo = TRUE) with a iso-8859-1 encoded file gives an error
On Fri, May 4, 2018 at 4:47 PM, Scott Kostyshak <skostyshak at ufl.edu> wrote:
> I have very little knowledge about file encodings and would like to
> learn more.
>
> I've read the following pages to learn more:
>
> http://stat.ethz.ch/R-manual/R-devel/library/base/html/Encoding.html
>
2018 May 01
2
source(echo = TRUE) with a iso-8859-1 encoded file gives an error
I have very little knowledge about file encodings and would like to
learn more.
I've read the following pages to learn more:
2018 May 04
2
[Rd] source(echo = TRUE) with a iso-8859-1 encoded file gives an error
I have very little knowledge about file encodings and would like to
learn more.
I've read the following pages to learn more:
http://stat.ethz.ch/R-manual/R-devel/library/base/html/Encoding.html
https://stackoverflow.com/questions/4806823/how-to-detect-the-right-encoding-for-read-csv
https://developer.r-project.org/Encodings_and_R.html
The last one, in particular, has been very
2020 Jan 04
1
[patch] add sanity checks to quantile()
On 04/01/2020 4:35 p.m., Scott Kostyshak wrote:
> On Fri, May 31, 2019 at 01:28:55AM -0400, Scott Kostyshak wrote:
>> The attached patch adds some sanity checks to the "type" argument of
...
> Bump. For this type of patch proposal, is it better to use the
> bug tracker?
For almost any patch proposal it is. Certainly if you don't get action
(or at least discussion)
2020 Jan 04
0
[patch] add sanity checks to quantile()
On Fri, May 31, 2019 at 01:28:55AM -0400, Scott Kostyshak wrote:
> The attached patch adds some sanity checks to the "type" argument of
> quantile(). Output from the following commands show the change of
> behavior with the current patch:
>
> vec <- 1:10
> quantile(vec, type = c(1, 2))
> quantile(vec, type = 10)
> quantile(vec, type = "aaa")
2018 May 01
0
source(echo = TRUE) with a iso-8859-1 encoded file gives an error
Hi Scott,
This question is appropriate for the r-help mailing list, but probably
off-topic here on r-devel.
Best,
Ista
On Tue, May 1, 2018 at 2:57 PM, Scott Kostyshak <skostyshak at ufl.edu> wrote:
> I have very little knowledge about file encodings and would like to
> learn more.
>
> I've read the following pages to learn more:
>
>
2018 Apr 01
0
Mention the case of logical(0) in ?stopifnot
I wonder if it would be helpful to mention in ?stopifnot that
stopifnot(logical(0)) does not give an error (for background on why this
is the case, see [1]). For example, ?all explicitly mentions the
following:
That all(logical(0)) is true is a useful convention
and includes an example:
all(logical(0)) # true, as all zero of the elements are true.
I think it would be nice to give examples
2017 Oct 09
1
Using response variable in interaction as explanatory variable in glm crashes R
>>>>> Jan van der Laan <rhelp at eoos.dds.nl>
>>>>> on Fri, 6 Oct 2017 12:13:39 +0200 writes:
> It is actually model.matrix that crashes, not glm. Same
> crash occurs with e.g. lm.
> model.matrix(dob_mon ~ dob_day*dob_mon, data = tab)
> also crashes R.
Yes, segmentation fault.
It only happens when these are *logical*
2017 Jul 03
0
Patch for R-exts.texi
Attached is a patch for R-exts.texi against r72880.
Here are some of the changes I made:
- Fix a broken link:
https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Introduction/Introduction.html
->
https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/index.html
- Changed a few http
2009 May 08
1
Merging two data frames with 3 common variables makes duplicated rows
I am new to R (ex SAS user) , and I cannot merge two data frames without
getting duplicated rows in the results. How to avoid this happening without
using the unique() function?
1. First data frame is called "tmv" with 6 variables and 239 rows:
> tmv[1:10,]
temps nom prenom sexe dist style
1 01:59:36 Cyr Steve H 45 free
2 02:09:55 Gosselin
2014 Jul 09
1
[patch] Rscript off-by-one error in output
Rscript eats up the last argument when reporting the command it runs:
$ Rscript --verbose "/tmp/test.R" one two three
running
'/usr/local/lib/R-devel/lib/R/bin/R --slave --no-restore
--file=/tmp/test.R --args one two'
With the patch below, I get the following:
$ Rscript --verbose "/tmp/test.R" one two three
running
'/usr/local/lib/R-devel/lib/R/bin/R --slave
2013 Aug 03
1
tk + browser() can leave R unresponsive
I don't know if this is a bug. I can reproduce the following on Ubuntu
12.04.2 and 13.04 64-bit with R version 3.0.1 and with r63479. There
is no difference if R is patched with the fix for PR#15407 or not,
although without the fix there are more ways to trigger this.
I can reproduce with the following:
1. Open R in gnome-terminal or xterm
2. Run 'library(tcltk)'
3. Run
2013 Jul 19
1
Posting Guide: changed link and other comment
I have two comments regarding the Posting Guide:
(1) The link in the following sentence did not work for me:
Take care when you quote other people's comments to respect their
rights, e.g., as summarized here[a].
[a] http://www.jiscmail.ac.uk/help/policy/copyright.htm
Has it been changed to the following?
http://www.jiscmail.ac.uk/policyandsecurity/copyrightissues.html
(2) Regarding
2014 Apr 14
1
duplication regression (?)
Below is an example of output that changed as a result of r64970. I
did not see any NEWS item suggesting this change is expected.
Note that the example is contrived and I don't have a use case for it.
I stumbled across it when playing with recent changes in R relating to
duplication. Does the example use undefined syntax?
-----
fn1 <- function(mylist) {
fn1a <- function()
2014 Oct 12
1
Turn warnings or notes into errors on CMD check ?
Hi,
I am using a local patch to have CMD check exit with error if there is
a note or warning. Am I missing an already existing way to do this?
If not, Is there any interest in having an option or environment
variable for this upstream? I would be interested in making a patch.
If so, option or environment variable? Any suggestions for the name?
Should this be two options or one option with
2014 May 20
1
[patch] Add support for editor function in edit.default
Regarding the following extract of ?options:
?editor?: a non-empty string, or a function that is called with a
file path as argument.
edit.default currently calls the function with three arguments: name,
file, and title. For example, running the following
vimCmd <- 'vim -c "set ft=r"'
vimEdit <- function(file_) system(paste(vimCmd, file_))
options(editor =
2013 Sep 09
1
tools::md5sum(directory) behavior different on Windows vs. Unix
tools::md5sum gives a warning if it receives a directory as an
argument on Unix but not on Windows.
>From what I understand, this happens because in Windows a directory is
not treated as a file so fopen returns NULL. Then, NA is returned
without a warning. On Unix, a directory is treated as a file so fopen
does not return NULL so md5 is run and fails, leading to a warning.
This is a good
2005 Dec 21
2
HTB droping packets
Hello,
I''m using htb3 with kernel 2.6.13 on debian testing release. I have a
hierarchy consisting of 10 parents clas each with 2 to 20 childs and every
child use sfq. The problem is when the default class become congested, the
system start to drop packets for 2 seconds all traffic is blocked, another 3
to 5 minutes all goes all and so on.
Anyone have any ideea about this ?
2013 Oct 12
1
[PATCH] minor suggestions for R-ints manual
Attached is a patch with minor suggestions for the R-ints manual at
r64048. The most substantial change is the following:
The top layer comprises the graphics subsystems. Although there is
-provision for 24 subsystems, after 6 years only two exist, `base' and
+provision for 24 subsystems, since 2001 only two exist, `base' and
`grid'.
Is the year 2001 correct? I base it on the date