Full_Name: TOBY MARTHEWS
Version: 2.2.1
OS: Windows XP
Submission from: (NULL) (139.133.7.37)
Just a small one, but it did trip me up today. On the ?symbols man page the
following paragraph:
inches: If 'inches' is 'FALSE', the units are taken to be those of
the x
Full_Name: TOBY MARTHEWS
Version: 2.1.1
OS: Windows XP
Submission from: (NULL) (139.133.7.38)
I think you should have better examples on the ?plot man page, if you don't mind
me saying. Can I suggest something like this, which would probably stop so many
emails to the R help about how to p
Full_Name: Toby Muhlhofer
Version: 2.2.0, 2.1.1
OS: Solaris 2.9
Submission from: (NULL) (128.83.62.46)
I'm trying to compile R on a Solaris machine. The default C compiler is cc
(although gcc is available) and the default Fortran compiler is f95 (although
g77 is available).
Without definin
complexity which is quadratic in subject size) for strsplit with
perl=TRUE. My patch does NOT fix that, but I suspect that a similar fix
could be accomplished (because I see that strlen is being called in a while
loop in do_strsplit as well).
Thanks
Toby Dylan Hocking
[[alternative HTML
f substrings to
extract. Maybe the C code is calling strlen for each of these (identical)
text/subject elements?
Anyway, it would be useful to have some feedback to make sure this is
indeed a bug before I post on bugzilla. (btw thanks Martin for signing me
up for an account)
Toby
[[al
-substring-bug.R
To me this is a clear indication of a bug in substring, but again it would
be nice to have some feedback/confirmation before posting on bugzilla.
Also this suggests a fix -- just need to copy whatever stringi::stri_sub is
doing.
On Wed, Feb 20, 2019 at 11:16 AM Toby Hocking wrote
Hi all,
I am having an issue related to installing packages on windows with
R-3.6.0. When installing a package that is in use, I expected R to stop
with an error. However I am getting a warning that the DLL copy was not
successful, but the overall package installation IS successful. This is
quite
.0.1 assertthat_0.2.1 dplyr_0.8.1 crayon_1.3.4
[5] R6_2.4.0 grid_3.6.0 plyr_1.8.4 magic_1.5-9
[9] gtable_0.3.0 magrittr_1.5 scales_1.0.0 ggplot2_3.1.1
[13] pillar_1.4.0 rlang_0.3.4 lazyeval_0.2.2 geometry_0.4.1
[17] tools_3.6.0 glue_1.3.1 pur
et an error if they want one. I tried
setting options(warn=2) but for some reason I still get a warning.
I believe that is a bug in install.packages -- if I specify options(warn=2)
it should convert that warning to an error (but it currently does not).
Toby
On Thu, May 30, 2019 at 4:50 PM Pages,
If anybody else has this issue, please add a comment on
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17478 so we are more
likely to get R-core to address this.
Thanks
Toby
On Tue, Jun 4, 2019 at 2:58 PM Pages, Herve wrote:
> On 5/31/19 08:41, Toby Hocking wrote:...
> > In m
if you want "to extract regex matches into a new column in a data.frame"
then there are some package functions which do exactly that. three examples
are namedCapture::df_match_variable, rematch2::bind_re_match, and
tidyr::extract. For a more detailed discussion see my R journal submission
(under re
ave been even faster / easier if R CMD build failed
early, with an error message that says something like "Can not build
package XXX because it Suggests: tidyr (>= 1.0) but tidyr 0.8.3 is
installed"
Is that possible?
Toby
[[alternative HTML
several
seconds for data.table::melt)
For a fix, I would suggest looking into how they implemented the same
operation in the data.table package, which in my test shows computation
times that seem to be linear.
Toby
[[alternative HTML version deleted
as jss.cls).
thanks and happy new year
Toby
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
hi there, thanks for the feedback, sorry about the cross-posting, and that
makes sense given the nojss option, which I was not aware of.
On Wed, Jan 8, 2020 at 9:16 AM Achim Zeileis
wrote:
> On Wed, 8 Jan 2020, Iñaki Ucar wrote:
>
> > On Wed, 8 Jan 2020 at 19:21, Toby Ho
Can someone please add documentation for that environment variable to
Writing R Extensions? An appropriate place would be section
https://cloud.r-project.org/doc/manuals/r-release/R-exts.html#Suggested-packages
which already discusses _R_CHECK_DEPENDS_ONLY_=true
[[alternative HTML version
I agree with the doc updates Gabe proposes, they would be helpful.
On Wed, May 13, 2020 at 12:56 PM Gabriel Becker
wrote:
> Hi Toby,
>
> As Gabor pointed out the place where the various levers R CMD check
> supports is in the R-internals manual, but there is a link directly to that
Dear R-devel,
I am running mclapply with many iterations over a function that modifies
nothing and makes no copies of anything. It is taking up a lot of memory,
so it seems to me like this is a bug. Should I post this to
bugs.r-project.org?
A minimal reproducible example can be obtained by first
ector touches objects, as pointed out by Radford Neal
> here:
> http://r.789695.n4.nabble.com/Re-R-devel-Digest-Vol-149-Issue-22-td4710367.html
>
> If so, I don't think this would be easily avoidable, but there may be
> mitigation strategies.
>
> ~G
>
> On Wed, Sep 2,
N <- length(X)
i.list <- splitIndices(N, N/maxjobs)
result.list <- list()
for(i in seq_along(i.list)){
i.vec <- i.list[[i]]
result.list[i.vec] <- mclapply(X[i.vec], FUN)
}
result.list
}
On Thu, Sep 3, 2015 at 5:27 PM, Simon Urbanek
wrote:
> Toby,
>
&g
I am getting the following on CRAN windows and winbuilder
https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/penaltyLearning-00check.html
Apparently there is an error in re-building vignettes, but I do not have
any idea what it is, because all that is listed is three dots (...). I
Hi all,
I'm on Ubuntu 18.04, running R-4.0.0 which I compiled from source, and
using valgrind I am always seeing the following message. Does anybody
else see that? Is that a known false positive? Any ideas how to
fix/suppress? Seems related to TRE, do I need to upgrade that?
(base) tdhock@maude-M
mtests/README.txt . Set
> suppressions in ~/.valgrindrc, e.g. the CRAN check machine has
>
> --suppressions=/data/blackswan/ripley/wcsrtombs.supp
>
> It is an issue in your OS (glibc), not TRE nor R.
>
> On 10/06/2020 00:21, Toby Hocking wrote:
> > Hi all,
> >
> >
ar give an error but regexpr works for
telling me the length:
> regexpr(".*", "Jens Oehlschl\xe4gel-Akiyoshi")
[1] 1
attr(,"match.length")
[1] 29
Is that inconsistency normal/intended?
btw this example comes from our very own list:
> readLines("
https:
AM Ivan Krylov wrote:
> On Fri, 26 Jun 2020 15:57:06 -0700
> Toby Hocking wrote:
>
> >invalid multibyte string at 'gel-A<6b>iyoshi'
>
> >https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html
>
> The server says that the text is UTF-8:
Hi Luke,
I just wanted to say thanks for taking the time to add this tag. That is
very helpful to know which bugs are worth working on and need help. Keep up
the good work!
Toby
On Wed, Aug 5, 2020 at 7:23 AM wrote:
> Just a quick note to mention that we have added a HELPWANTED keyword
&
Hi the reference to R Internals
https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Tools
in ?check (PkgUtils.Rd in utils package) is stale. Here is my proposed
patch (use named reference rather than numeric reference to avoid any
similar broken links in the future).
Index: src/library/ut
Hi win-builder certificate expired on Aug 15. My student on the other side
of the world is also seeing this problem so I think it needs to be fixed...
> download.file("https://win-builder.r-project.org";, "/tmp/wb.html")
trying URL 'https://win-builder.r-project.org'
Error in download.file("https:/
WRE explains for C++11 14 etc standards but I don't know about C
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Using-C_002b_002b11-code
BTW I believe this question would be more appropriate for R-package-devel.
On Mon, Sep 28, 2020 at 4:44 AM Andreas Kersting
wrote:
> Hi,
>
> wha
Hi all, Today I noticed bug(s?) in R-4.0.5, which seem to be fixed in
R-devel already. I checked on
https://developer.r-project.org/blosxom.cgi/R-devel/NEWS and there is no
mention of these changes, so I'm wondering if they are intentional? If so,
could someone please add a mention of the bugfix in
t;
Encoding(x) <- "unknown"
Sys.setlocale(locale="C")
f <- tempfile()
cat("", file = f)
two <- c(x, f)
file.exists(two)
and in that case the correct response from R, in my opinion, would be
c(FALSE, TRUE) -- not an error.
Toby
On Wed, Apr 28, 2021 at 3:10 A
Apr 28, 2021 at 9:04 AM Tomas Kalibera
wrote:
>
> On 4/28/21 5:22 PM, Martin Maechler wrote:
> >>>>>> Toby Hocking
> >>>>>> on Wed, 28 Apr 2021 07:21:05 -0700 writes:
> > > Hi Tomas, thanks for the thoughtful reply. That makes se
By the way, where is the documentation for INTEGER_ELT, REAL_ELT, etc? I
looked in Writing R Extensions and R Internals but I did not see any
mention.
REAL_ELT is briefly mentioned on
https://svn.r-project.org/R/branches/ALTREP/ALTREP.html
Would it be possible to please add some mention of them to
_t i, SEXP v);
>
> So the indexing is with R_xlen_t and they return the value itself as one
> would expect.
>
> Cheers,
> Simon
>
>
> > On Jun 17, 2021, at 2:22 AM, Toby Hocking wrote:
> >
> > By the way, where is the documentation for INTEGER_ELT, REAL_ELT,
na.omit is documented as "na.omit returns the object with incomplete cases
removed." and "At present these will handle vectors," so I expected that
when it is used on a list, it should return the same thing as if we subset
via is.na; however I observed the following,
> L <- list(NULL, NA, 0)
> str
ass")= chr "AsIs"
> is.na(f)
L
[1,] FALSE
[2,] TRUE
[3,] FALSE
> na.omit(f)
L
1
2 NA
3 0
On Wed, Aug 11, 2021 at 9:58 PM Toby Hocking wrote:
> na.omit is documented as "na.omit returns the object with incomplete cases
> removed." and "At present these
Hi Gabe thanks for the feedback.
On Thu, Aug 12, 2021 at 1:19 PM Gabriel Becker
wrote:
> Hi Toby,
>
> This definitely appears intentional, the first expression of
> stats:::na.omit.default is
>
>if (!is.atomic(object))
>
> return(object)
>
> Based on t
data.frame had a list column representing the lat-lon
> of an observation, we might only be able to represent missing values
> like c(NA, NA).
>
> On Fri, 13 Aug 2021 at 17:27, Iñaki Ucar wrote:
> >
> > On Thu, 12 Aug 2021 at 22:20, Gabriel Becker
> wrote:
> > >
>
task is not
> equivalent to the conceptual task na.omit is doing, in my opinion, as
> illustrated by what the data.frame method does.
>
> Thus what i was getting at above about it not being clear that lst[is.na(lst)]
> being the correct thing for na.omit to do
>
> ~G
>
> ~G
Another option is to use https://emacspeak.sourceforge.net/ (version of
emacs editor/ide which can speak letters/words/lines -- has a blind
maintainer) with https://ess.r-project.org/ (interface for editing and
running R code from within emacs)
On Thu, Sep 22, 2022 at 9:42 AM Duncan Murdoch
wrote
ence it is
important that your code contribution makes minimal changes in that area.
Did you hear about the R project sprint 2023?
https://contributor.r-project.org/r-project-sprint-2023/ Your work falls
into the "new developments" category so I think you could apply for that
funding to parti
, please see
https://github.com/tdhock/atime/issues/8
Sincerely,
Toby Dylan Hocking
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
://github.com/tdhock/atime/issues/10
Sincerely,
Toby Dylan Hocking
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
BTW this is documented here
http://pcre.org/current/doc/html/pcre2api.html#infoaboutpattern with a
helpful example, copied below.
As a simple example of the name/number table, consider the following
pattern after compilation by the 8-bit library (assume PCRE2_EXTENDED
is set, so white space - incl
Hi Michael, it sounds like you don't want to use a CRAN package for
this, but you may try re2, see below.
> grepl("(invalid","subject",perl=TRUE)
Error in grepl("(invalid", "subject", perl = TRUE) :
invalid regular expression '(invalid'
In addition: Warning message:
In grepl("(invalid", "subject
k the CheckUserInterrupt patch is a good idea, though.
Best,
Toby
On Sat, Dec 16, 2023 at 2:49 AM Ivan Krylov wrote:
>
> On Wed, 13 Dec 2023 09:04:18 +0100
> Hilmar Berger via R-devel wrote:
>
> > Still, I feel that default partial matching cripples the functionality
> > of
k the CheckUserInterrupt patch is a good idea, though.
Best,
Toby
On Sat, Dec 16, 2023 at 2:49 AM Ivan Krylov wrote:
>
> On Wed, 13 Dec 2023 09:04:18 +0100
> Hilmar Berger via R-devel wrote:
>
> > Still, I feel that default partial matching cripples the functionality
> > of
My opinion is that the proposed feature would be greatly appreciated by users.
I had always wondered if I was the only one doing paste(readLines(f),
collapse="\n") all the time.
It would be great to have the proposed, more straightforward way to
read the whole file as a string: readChar("my_file.tx
directly (following a very
> nice substring approach that I've seen implemented by Toby Hocking
> in the nc package - nc::capture_first_vec).
>
> strcapture2 <- function(pattern, x, proto, perl = FALSE, useBytes = FALSE) {
> if (isTRUE(perl)) {
> m &l
Hi Ivan
Can you please clarify what input files should be used with your
proposed function? I tried a few files in r-svn/src/include and one of
them gave me an error.
> getdecl("~/R/r-svn/src/include/R.h")
[1] "R_FlushConsole" "R_ProcessEvents" "R_WaitEvent"
> getdecl("~/R/r-svn/src/include/Rdefi
Hi! I expected that t.test should report a very large p-value (close
to 1), even when using paired=TRUE, for the data below (which are very
similar). However, I observe p-value = 0.02503 which indicates a
significant difference, even though there is none. Can this be fixed
please? This is with R-4.
I am the author of R package animint which uses testthat for unit tests.
This means that there is a single test file (animint/tests/testthat.R) and
during R CMD check we will see the following output
* checking tests ...
Running ‘testthat.R’
I run these tests on Travis, which has a policy that i
Thanks for the detailed analysis and proposition Ivan. The patch you
are proposing to base R is
https://github.com/Rdatatable/data.table/issues/6566#issuecomment-2428912338
right?
On Thu, Oct 24, 2024 at 8:48 AM Ivan Krylov via R-devel
wrote:
>
> Hello,
>
> The "[" primitive operator currently ha
/wiki/table%20of%20proposed%20coding%20projects
and instead of using R-devel, the more appropriate list for
GSOC-related info is
https://groups.google.com/forum/?pli=1#!forum/gsoc-r
Thanks!
Toby
On Wed, Jan 22, 2025 at 1:19 AM Simon Urbanek
wrote:
>
> Please see the GSoC schedule - for 20
ivated a conda environment with libcurl package installed.
Is this an issue that R could fix?
Thanks
Toby
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Thanks for the contribution Mikko!
For testing future patches, you can actually do it right in the web
browser, thanks to Heather Turner's R Dev Container, see instructions here
https://contributor.r-project.org/r-dev-env/container_setup/
Best
Toby
On Mon, May 26, 2025 at 6:28 PM Martin Mae
them.
Would you consider integrating this patch into the R source code for
future releases, so the larger R community can take advantage of this
feature? If there's anything else I can do to help please let me know.
Sincerely,
Toby Dylan Hocking
http://cbio.ensmp.fr/~thocking/
Index: ../r-d
lf: I am just hoping that this feedback might go somewhere useful. R can
really do 99% of things kind of perfectly so it seems churlish to point out the
1%, but if this is an easy thing to add in then at least I would use it pretty
much every project I work on!
Many thanks and best regards,
Best
58 matches
Mail list logo