Displaying 20 results from an estimated 27 matches for "jimhest".
Did you mean:
jimmest
2016 Jul 13
2
Nested tracing with custom callback
Hi all,
I would like to install a trace function that gets executed whenever *any* R function is called. In Python, for example, this functionality is provided by the `sys.settrace` function.
I am not aware of any public interface, at the R or C level, that can accomplish this. The `trace` function is inadequate because it does not support nested functions. The `Rprof` function provides only
2016 Mar 10
2
getParseData() for installed packages
...n on installed
package (Ubuntu 15.10, UTF-8 locale, R 3.2.3). Same behavior with
r-devel (r70303).
The parse data helps reliable coverage analysis [3]. Please advise.
Best regards
Kirill
[1] https://github.com/krlmlr/covr.dummy
[2] http://rpubs.com/krlmlr/getParseData
[3] https://github.com/jimhester/covr/pull/154
2015 May 11
1
LDFLAGS defined in R_MAKEVARS_USER file is ignored for R CMD SHLIB on Windows
Example input and output to reproduce this can be found at
https://gist.github.com/jimhester/b7f05f50794c88e44b17.
I tested this attempting to compile the [digest](
http://cran.r-project.org/web/packages/digest/index.html) package, `run.sh`
and `run.bat` were both run in the package source directory on Ubuntu 14.01
and Windows 7 respectively.
In particular while the `CFLAGS` values wer...
2017 Jul 15
2
readLines without skipNul=TRUE causes crash
hello, the last line of the code below causes a segfault for me on 3.4.1.
i think i should submit to https://bugs.r-project.org/ unless others have
advice? thanks
install.packages( "devtools" )
devtools::install_github("ajdamico/lodown")
devtools::install_github("jimhester/archive")
file_folder <- file.path( tempdir() , "file_folder" )
tf <- tempfile()
# large download! cachaca saves on your local disk if already downloaded
lodown::cachaca( '
http://download.inep.gov.br/microdados/microdados_enem2009.rar' , tf , mode
= 'wb'...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...to trigger the segfault. If you can't do that, then
likely the bug is with one of those packages, not with R.
Duncan Murdoch
>
>
>
>
>
> install.packages( "devtools" )
> devtools::install_github("ajdamico/lodown")
> devtools::install_github("jimhester/archive")
>
>
> file_folder <- file.path( tempdir() , "file_folder" )
>
> tf <- tempfile()
>
> # large download! cachaca saves on your local disk if already downloaded
> lodown::cachaca( '
> http://download.inep.gov.br/microdados/microdados_ene...
2017 Jul 15
4
readLines without skipNul=TRUE causes crash
...o that, then likely
> the bug is with one of those packages, not with R.
>
> Duncan Murdoch
>
>
>>
>>
>>
>>
>> install.packages( "devtools" )
>> devtools::install_github("ajdamico/lodown")
>> devtools::install_github("jimhester/archive")
>>
>>
>> file_folder <- file.path( tempdir() , "file_folder" )
>>
>> tf <- tempfile()
>>
>> # large download! cachaca saves on your local disk if already downloaded
>> lodown::cachaca( '
>> http://download.i...
2020 May 07
1
defining r audio connections
https://github.com/jimhester/archive was not allowed on CRAN when I
submitted it 3 years ago due to this restriction.
Being able to write custom connections is a useful feature for a number of
applications, I would love this policy to be reconsidered.
On Wed, May 6, 2020 at 10:30 PM Henrik Bengtsson <henrik.bengtsson at...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...of those packages, not with R.
>>
>> Duncan Murdoch
>>
>>
>>>
>>>
>>>
>>>
>>> install.packages( "devtools" )
>>> devtools::install_github("ajdamico/lodown")
>>> devtools::install_github("jimhester/archive")
>>>
>>>
>>> file_folder <- file.path( tempdir() , "file_folder" )
>>>
>>> tf <- tempfile()
>>>
>>> # large download! cachaca saves on your local disk if already downloaded
>>> lodown::cachaca(...
2015 Dec 22
0
unloadNamespace() does not address unevaluated promises in the S3 Methods Table
Given the extremely simple package at
https://github.com/jimhester/testUnload, which includes only one S3 method
'print.object' the following code produces a lazy load error from a new R
session (R-devel r69801)
install.packages("testUnload", repos = NULL)
library("testUnload")
unloadNamespace("testUnload")
install.packages...
2017 May 16
0
Consider increasing the size of HSIZE
The HSIZE constant, which sets the size of the hash table used to
store symbols is currently defined as `#define HSIZE 4119`. This value
was last increased in r5182 on 1999-07-15.
https://github.com/jimhester/hashsize#readme contains a code which
simulates a normal R workflow by loading a handful of packages. In the
example more than 20,000 symbols are included in the hash table,
resulting in a load factor of greater than 5. The histogram in the
linked repository shows the distribution of bucket sizes...
2017 Sep 06
3
withr::set_makevars
...CRAN (R 3.4.0)
rstudioapi 0.6 2016-06-27 CRAN (R 3.4.0)
stats * 3.4.1 2017-07-06 local
tools 3.4.1 2017-07-06 local
utils * 3.4.1 2017-07-06 local
whoami 1.1.1 2015-07-13 CRAN (R 3.4.0)
withr 2.0.0 2017-09-05 Github (jimhester/withr at eff4818)
xml2 1.1.1 2017-01-24 CRAN (R 3.4.0)
xmlparsedata 1.0.1 2016-06-18 cran (@1.0.1)
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Superviso...
2016 Mar 10
2
getParseData() for installed packages
...ll there,
it's just that the parse data is not where I'd expect it to be.
-Kirill
>>
>> Best regards
>>
>> Kirill
>>
>>
>> [1] https://github.com/krlmlr/covr.dummy
>> [2] http://rpubs.com/krlmlr/getParseData
>> [3] https://github.com/jimhester/covr/pull/154
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
2015 Jul 29
1
Mapping parse tree elements to tokens
As Michael guessed my main use cases was code analysis. A concrete example
where this would help is with my test code coverage tool covr. There is
currently a bug when tracking coverage for if / else statements when the
clauses do not contain brackets (https://github.com/jimhester/covr/issues/39).
Because only one source reference is generated in this case (because it is
parsed as a single expression), it is not possible to track each of the
clauses separately. While I can get the source reference for the entire
statement, in order to extract the if/else clauses I need to...
2017 Sep 07
0
withr::set_makevars
...pi 0.6 2016-06-27 CRAN (R 3.4.0)
> stats * 3.4.1 2017-07-06 local
> tools 3.4.1 2017-07-06 local
> utils * 3.4.1 2017-07-06 local
> whoami 1.1.1 2015-07-13 CRAN (R 3.4.0)
> withr 2.0.0 2017-09-05 Github (jimhester/withr at eff4818)
> xml2 1.1.1 2017-01-24 CRAN (R 3.4.0)
> xmlparsedata 1.0.1 2016-06-18 cran (@1.0.1)
>
>
> **********************
> "The contents of this message do not reflect any position of the U.S.
> Government or NOAA."
> **********...
2017 Jul 15
3
readLines without skipNul=TRUE causes crash
...>>> Duncan Murdoch
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>> install.packages( "devtools" )
>>>> devtools::install_github("ajdamico/lodown")
>>>> devtools::install_github("jimhester/archive")
>>>>
>>>>
>>>> file_folder <- file.path( tempdir() , "file_folder" )
>>>>
>>>> tf <- tempfile()
>>>>
>>>> # large download! cachaca saves on your local disk if already downloaded
&g...
2015 Jan 26
0
matrixStats 0.13.1 - Methods that Apply to Rows and Columns of a Matrix (and Vectors)
...C
source code coverage has recently gone up from 59% to 96% (? and
counting) [https://coveralls.io/r/HenrikBengtsson/matrixStats?branch=develop].
Some of the bugs were discovered as part of this effort. Here a
special thank should go out to Jim Hester for his great work on covr
[https://github.com/jimhester/covr], which provides me with on-the-fly
coverage reports via Coveralls. (You can run covr locally or via
GitHub + Travis CI, which is very easy if you're already up and
running there. Try it!) I would also like to thank the R core team and
the CRAN team for their continuous efforts on improv...
2015 Jan 26
0
matrixStats 0.13.1 - Methods that Apply to Rows and Columns of a Matrix (and Vectors)
...C
source code coverage has recently gone up from 59% to 96% (? and
counting) [https://coveralls.io/r/HenrikBengtsson/matrixStats?branch=develop].
Some of the bugs were discovered as part of this effort. Here a
special thank should go out to Jim Hester for his great work on covr
[https://github.com/jimhester/covr], which provides me with on-the-fly
coverage reports via Coveralls. (You can run covr locally or via
GitHub + Travis CI, which is very easy if you're already up and
running there. Try it!) I would also like to thank the R core team and
the CRAN team for their continuous efforts on improv...
2017 Jul 16
3
readLines without skipNul=TRUE causes crash
...t;
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> install.packages( "devtools" )
>>>>>> devtools::install_github("ajdamico/lodown")
>>>>>> devtools::install_github("jimhester/archive")
>>>>>>
>>>>>>
>>>>>> file_folder <- file.path( tempdir() , "file_folder" )
>>>>>>
>>>>>> tf <- tempfile()
>>>>>>
>>>>>> # large download! c...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...gt;
>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> install.packages( "devtools" )
>>>>> devtools::install_github("ajdamico/lodown")
>>>>> devtools::install_github("jimhester/archive")
>>>>>
>>>>>
>>>>> file_folder <- file.path( tempdir() , "file_folder" )
>>>>>
>>>>> tf <- tempfile()
>>>>>
>>>>> # large download! cachaca saves on your loc...
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
...>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> install.packages( "devtools" )
>>>>>>> devtools::install_github("ajdamico/lodown")
>>>>>>> devtools::install_github("jimhester/archive")
>>>>>>>
>>>>>>>
>>>>>>> file_folder <- file.path( tempdir() , "file_folder" )
>>>>>>>
>>>>>>> tf <- tempfile()
>>>>>>>
>>>>>&...