search for: tdhock5

Displaying 20 results from an estimated 38 matches for "tdhock5".

Did you mean: tdhock
2024 Oct 25
1
Could .Primitive("[") stop forcing R_Visible = TRUE?
On Thu, 24 Oct 2024 13:23:56 -0400 Toby Hocking <tdhock5 at gmail.com> wrote: > The patch you are proposing to base R is > https://github.com/Rdatatable/data.table/issues/6566#issuecomment-2428912338 > right? Yes, it's this one, thank you for providing the link. Surprisingly, a very cursory check of 100 packages most downloaded from cl...
2020 May 13
2
docs about _R_CHECK_FORCE_SUGGESTS_ ?
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 deleted]]
2020 May 13
1
docs about _R_CHECK_FORCE_SUGGESTS_ ?
...re that one or both of these changes make sense. Best, ~G On Wed, May 13, 2020 at 11:07 AM G?bor Cs?rdi <csardi.gabor at gmail.com> wrote: > See at https://cran.r-project.org/doc/manuals/r-devel/R-ints.html#Tools > > Gabor > > On Wed, May 13, 2020 at 7:05 PM Toby Hocking <tdhock5 at gmail.com> wrote: > > > > 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 alr...
2020 Jun 26
2
Error in substring: invalid multibyte string
Hi all, I'm getting the following error from substring: > substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100) Error in substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100) : invalid multibyte string at '<e4>gel-A<6b>iyoshi' Is that normal / intended? I've tried setting the Encoding/locale to Latin-1/UTF-8 but that does not help. nchar
2015 Sep 02
4
mclapply memory leak?
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 starting a memory monitoring program such as htop, and then executing the following code while
2020 Jan 08
1
add jsslogo.jpg to R sources?
On Wed, 8 Jan 2020, I?aki Ucar wrote: > On Wed, 8 Jan 2020 at 19:21, Toby Hocking <tdhock5 at gmail.com> wrote: >> >> Hi R-core, I was wondering if somebody could please add jsslogo.jpg to the >> R sources? (as I reported yesterday in this bug) >> >> https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17687 >> >> R already includes jss.cls whi...
2020 Jan 08
2
add jsslogo.jpg to R sources?
Hi R-core, I was wondering if somebody could please add jsslogo.jpg to the R sources? (as I reported yesterday in this bug) https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17687 R already includes jss.cls which is the document class file for Journal of Statistical Software. Actually, for the jss.cls file to be useful, it also requires jsslogo.jpg in order to compile JSS articles without
2020 Jun 27
1
Error in substring: invalid multibyte string
...e: In stringi::stri_length("<I>Jens Oehlschl\xe4gel-Akiyoshi") : invalid UTF-8 byte sequence detected; try calling stri_enc_toutf8() On Sat, Jun 27, 2020 at 2:12 AM Ivan Krylov <krylov.r00t at gmail.com> wrote: > On Fri, 26 Jun 2020 15:57:06 -0700 > Toby Hocking <tdhock5 at gmail.com> wrote: > > >invalid multibyte string at '<e4>gel-A<6b>iyoshi' > > >https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html > > The server says that the text is UTF-8: > > curl -sI \ > https://stat.ethz.ch/pipermail/r-de...
2019 Feb 22
1
Bug: time complexity of substring is quadratic as string size and number of substrings increases
...as a result of the patch. The patch is going to do other easy optimizations that will not complicate the code, including avoiding the strlen() call (taking advantage of pre-computed length of R character object). Best Tomas > > > > On Wed, Feb 20, 2019 at 11:16 AM Toby Hocking <tdhock5 at gmail.com> wrote: > >> Hi all, (and especially hi to Tomas Kalibera who accepted my patch sent >> yesterday) >> >> I believe that I have found another bug, this time in the substring >> function. The use case that I am concerned with is when there is a single...
2019 Feb 20
2
Bug: time complexity of substring is quadratic as string size and number of substrings increases
Hi all, (and especially hi to Tomas Kalibera who accepted my patch sent yesterday) I believe that I have found another bug, this time in the substring function. The use case that I am concerned with is when there is a single (character scalar) text/subject, and many substrings to extract. For example substring("AAAA", 1:4, 1:4) or more generally, N=1000
2015 May 04
0
Print output during long tests?
Dear Toby, Have you tried adding output to the tests with the context() function? Best regards, Thierry Op 4 mei 2015 18:28 schreef "Toby Hocking" <tdhock5 at gmail.com>: 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...
2015 Sep 02
0
mclapply memory leak?
...ge collector 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, 2015 at 10:12 AM, Toby Hocking <tdhock5 at gmail.com> wrote: > 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? &gt...
2017 Nov 29
1
Un-informative Error in re-building vignettes
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 (...). Is this a bug in R CMD check? If not, the only solution I can think of is removing the vignette
2020 Jan 08
0
add jsslogo.jpg to R sources?
On Wed, 8 Jan 2020 at 19:21, Toby Hocking <tdhock5 at gmail.com> wrote: > > Hi R-core, I was wondering if somebody could please add jsslogo.jpg to the > R sources? (as I reported yesterday in this bug) > > https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17687 > > R already includes jss.cls which is the document class fil...
2020 Jun 27
0
Error in substring: invalid multibyte string
On Fri, 26 Jun 2020 15:57:06 -0700 Toby Hocking <tdhock5 at gmail.com> wrote: >invalid multibyte string at '<e4>gel-A<6b>iyoshi' >https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html The server says that the text is UTF-8: curl -sI \ https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html | \ grep C...
2024 Oct 25
1
Could .Primitive("[") stop forcing R_Visible = TRUE?
...ought it on themselves by choosing to (ab)use R extraction syntax to have side effects. Surely you or they should be the ones to run the test across all of CRAN? Duncan Murdoch On 2024-10-25 6:35 a.m., Ivan Krylov via R-devel wrote: > On Thu, 24 Oct 2024 13:23:56 -0400 > Toby Hocking <tdhock5 at gmail.com> wrote: > >> The patch you are proposing to base R is >> https://github.com/Rdatatable/data.table/issues/6566#issuecomment-2428912338 >> right? > > Yes, it's this one, thank you for providing the link. > > Surprisingly, a very cursory check of...
2019 Feb 20
0
Bug: time complexity of substring is quadratic as string size and number of substrings increases
...ubstring-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 <tdhock5 at gmail.com> wrote: > Hi all, (and especially hi to Tomas Kalibera who accepted my patch sent > yesterday) > > I believe that I have found another bug, this time in the substring > function. The use case that I am concerned with is when there is a single > (character scalar)...
2024 Oct 24
1
Could .Primitive("[") stop forcing R_Visible = TRUE?
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 <r-devel at r-project.org> wrote: > > Hello, > > The "[" primitive operator currently has the 'eval' flag set to 0 in >
2015 Sep 03
0
mclapply memory leak?
Toby, > On Sep 2, 2015, at 1:12 PM, Toby Hocking <tdhock5 at gmail.com> wrote: > > 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.or...
2023 Mar 30
1
write.csv performance improvements?
Dear R-devel, I did a systematic comparison of write.csv with similar functions, and observed two asymptotic inefficiencies that could be improved. 1. write.csv is quadratic time (N^2) in the number of columns N. Can write.csv be improved to use a linear time algorithm, so it can handle CSV files with larger numbers of columns? For more details including figures and session info, please see