Displaying 20 results from an estimated 56 matches for "henr".
Did you mean:
hear
2019 May 31
0
use of buffers in sprintf and snprintf
...try to use relative instead of
absolute pathnames. The limitation is deep down in the file system
itself and it is the absolute pathname that counts."
Admittedly, it's been several years when I last looked into it, but at
the time when I wrote that I spent lots of time investigating it.
/Henrik
>
> Cheers,
> Simon
>
>
>
>
> > On May 29, 2019, at 11:49 AM, jing hua zhao <jinghuazhao at hotmail.com> wrote:
> >
> > Dear R-developers,
> >
> > I am struggling with packaging with sprintf and snprintf() as the following WARNINGS from gc...
2019 Oct 10
1
R-specific environment variables: Naming convention?
...BLE_JIT and _R_RNG_VERSION_. I always
considered R_* variables to be "public" and _R_*_ ones being
"internal" but realized I don't have a reference for this. Is this
true, or is there another reason? Is the difference between the two
kinds documented anywhere?
Thank you,
Henrik
2019 Nov 22
0
Patch idea: an environment variable for setting the user ID
Another thing to consider if one wants to anonymize the build is the
UID/GID of the files in the tarball. So there might be a need for a
R_BUILD_UID and R_BUILD_GID, e.g. by setting those to 32767
("nobody").
/Henrik
On Fri, Jan 25, 2019 at 9:25 AM Will L <will.landau at gmail.com> wrote:
>
> Thanks, Kurt.
>
> I think I now have enough time to write a patch. What are the steps? I have
> read https://www.r-project.org/bugs.html#how-to-submit-patches but I do not
> seem to have permissi...
2020 Feb 29
0
tcl problem with R-3.6.3?
...quot;, "again"), graphics=TRUE)
Does it?
FYI, I installed R 3.6.3 from source on CentOS 7 a few hours ago, and
for me the above works just fine.
For your immediate needs of selecting a CRAN mirror, you can set:
options(menu.graphics = FALSE)
as a workaround to skip Tcl-based menus.
/Henrik
On Sat, Feb 29, 2020 at 10:01 AM Charles Geyer <charlie at stat.umn.edu> wrote:
>
> Just built 3.6.3 from source and tcl doesn't work. Worked fine with the
> same laptop in 3.6.2. Here's the exact error.
>
> blurfle$ R --vanilla
>
> R version 3.6.3 (2020-02-2...
2020 Aug 14
0
Bug in stats:::`[.formula`: (~ NULL)[2] gives Error ... missing value where TRUE/FALSE needed
...e"))
ans <- NextMethod("[")
## as.character gives a vector.
if(length(ans) == 0L || is.null(ans[[1L]]) ||
as.character(ans[[1L]])[1L] == "~") {
class(ans) <- "formula"
environment(ans) <- environment(x)
}
ans
}
/Henrik
2023 Mar 19
0
CRAN 'R Sources' page: Provide link to https://svn.r-project.org/R/
...tps://svn.r-project.org/R/), hence might not even compile on your
platform and can contain any number of bugs. They will probably work,
but maybe not. Use them to verify whether a bug you're tracking has
been fixed or a new feature you always wanted has already been
implemented."
Thanks,
Henrik
2023 May 18
1
suprising behaviour of tryCatch()
...tch({
sexsnp[i] = fisher.test(table(data[,3], data[,i+38]))$p
}, error=function(e) print(NA))
Exercise: Compare
> list(a = 2)
$a
[1] 2
with
> list({ a = 2 })
[[1]]
[1] 2
and
> list(b = { a = 2 })
$b
[1] 2
BTW, note how the latter two assigned a <- 2 to the global environment.
/Henrik
On Thu, May 18, 2023 at 8:22?AM Berwin A Turlach
<berwin.turlach at gmail.com> wrote:
>
> G'day Federico,
>
> On Wed, 17 May 2023 10:42:17 +0000
> "Calboli Federico (LUKE)" <federico.calboli at luke.fi> wrote:
>
> > sexsnp = rep(NA, 1750)
> &g...
2024 Jan 07
0
tools::startDynamicHelp(): Randomly prevents R from exiting (on MS Windows)
Thank you for confirming this. I just filed PR#18650
(https://bugs.r-project.org/show_bug.cgi?id=18650).
FWIW, I've found two other issues with startDynamicHelp() prior to this:
* https://bugs.r-project.org/show_bug.cgi?id=18645
* https://bugs.r-project.org/show_bug.cgi?id=18648
/Henrik
On Sat, Jan 6, 2024 at 5:53?PM Steve Martin <marberts at protonmail.com> wrote:
>
> Henrik,
>
> I was able to reproduce this both with Rscript and interactively using the same version of R you're using (fresh install) and Windows 10.0.22621.2715. It took about a dozen tries...
2020 Sep 03
2
Rgui never processes ~/.Renviron
...ill cause Rgui to
process ~/.Renviron, e.g.
C:\User\alice> set R_USER=%UserProfile%\Documents
C:\User\alice> Rgui
The background for finding this is R-help thread '[R] tempdir() does
not respect TMPDIR' on 2020-08-29
(https://stat.ethz.ch/pipermail/r-help/2020-August/468573.html).
/Henrik
2019 Mar 28
0
issue with latest release of R-devel
...can be requested using RNGkind() or
RNGversion() if necessary for reproduction of old results. Thanks to
Duncan Murdoch for contributing the patch and Gabe Becker for further
assistance."
If so, testing with
export _R_RNG_VERSION_=3.5.0
might remove/explain those errors.
Just a thought
Henrik
On Wed, Mar 27, 2019 at 8:16 PM Therneau, Terry M., Ph.D. via R-devel
<r-devel at r-project.org> wrote:
>
> I'm getting ready to submit an update of survival, and is my habit I run the checks on all
> packages that depend/import/suggest survival. I am getting some very odd b...
2019 Apr 11
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...ORKS` and corresponding R
option `enable.forks` that both take logical scalars. By setting
`R_ENABLE_FORKS=false` or equivalently `enable.forks=FALSE`,
`parallel::mclapply()` will fall back to `lapply()`.
For `parallel::mcparallel()`, we could produce an error if forks are disabled.
Comments?
/Henrik
2023 Mar 17
1
Request: better default R_LIBS_USER
...ould be
doable without major troubles. On MS Windows, this move has already
been made. When R 4.2.0 was released, the default R_LIBS_USER location
on MS Windows was changed, similarly, to the Local Application Data
directory in R (>= 4.2.0), e.g.
C:\Users\alice\AppData\Local\R\win-library\4.2.
/Henrik
On Thu, Mar 16, 2023 at 3:09?PM Dirk Eddelbuettel <edd at debian.org> wrote:
>
>
> On 16 March 2023 at 13:39, Felipe Contreras wrote:
> | I see R by default installs packages in ~/R. I know I can change the
> | default directory with R_LIBS_USER, but software shouldn't b...
2023 Oct 29
1
dim<-() changed in R-devel; no longer removing "dimnames" when doing dim(x) <- dim(x)
...2] "a" "b"
> dim(x) <- dim(x) ## No longer removes "dimnames"
> str(dimnames(x))
List of 2
$ : chr "A"
$ : chr [1:2] "a" "b"
> dim(x) <- rev(dim(x)) ## Still removes "dimnames"
> str(dimnames(x))
NULL
/Henrik
2020 Apr 28
0
mclapply returns NULLs on MacOS when running GAM
...RStudio Console -
either by you or by some package code that you use directly or
indirectly. You could even use stop() here if you wanna be
conservative.
[0] https://github.com/rstudio/rstudio/issues/2597#issuecomment-482187011
[1] https://stat.ethz.ch/pipermail/r-devel/2020-January/078896.html
/Henrik
On Tue, Apr 28, 2020 at 2:39 AM Shian Su <su.s at wehi.edu.au> wrote:
>
> Yes I am running on Rstudio 1.2.5033. I was also running this code without error on Ubuntu in Rstudio. Checking again on the terminal and it does indeed work fine even with large data.frames.
>
> Any idea...
2019 Nov 17
2
BUG?: A copy of base::`+` (primitive) is not a clone but a "pointer"
..., e2) .Primitive("+")
attr(,"class")
[1] "plus"
# Hmm...
> str(base::`+`)
function (e1, e2)
- attr(*, "class")= chr "plus"
Looks to be the case for common (all?) .Primitive functions. Is this
expected? Should I report this one to BugZilla?
/Henrik
2020 May 07
0
defining r audio connections
...is it stability, is it that the current API is under
construction, is it a worry about maintenance load for R Core, ...? Do we
know why?
It sounds like it's a feature that is useful. I think we missed out on
some great enhancements in the past because of it not being part of the
public API.
/Henrik
On Wed, May 6, 2020, 16:26 Martin Morgan <mtmorgan.bioc at gmail.com> wrote:
> yep, you're right, after some initial clean-up and running with or without
> --as-cran R CMD check gives a NOTE
>
> * checking compiled code
> File ?socketeer/libs/socketeer.so?:
>...
2024 Jan 06
2
tools::startDynamicHelp(): Randomly prevents R from exiting (on MS Windows)
ISSUE:
On MS Windows, running cmd.exe, calling
Rscript --vanilla -e "port <- tools::startDynamicHelp(); port; port <-
tools::startDynamicHelp(FALSE); port"
will sometimes stall R at the end, preventing it from existing. This
also happens when running R in interactive mode. It seems to stem
from calling tools::startDynamicHelp(FALSE).
Before filing a formal bug report, can
2019 Dec 03
1
switch to reference counting in R-devel
This is very exciting news. Luke, thank you for all your work on this
- I know it's been a long journey.
All the best,
Henrik
On Tue, Dec 3, 2019 at 8:04 AM Tierney, Luke <luke-tierney at uiowa.edu> wrote:
>
> R-devel has been switched to use reference counting by default with
> r77508. Building with -DSWITCH_TO_NAMED goes back to the NAMED
> mechanism.
>
> Best,
>
> luke
>
> On Sun,...
2019 Nov 08
0
improving the performance of install.packages
...Before deciding on making force=FALSE the new default, I think it
would be valuable to play the devil's advocate and explore and
identify all possible downsides of such a default, e.g. breaking
existing instructions, downstream package code that uses
install.packages() internally, and so on.
/Henrik
PS. Although the idea of having update.packages() install missing
packages is not bad, I don't think I'm a not a fan for the sole
purpose of risking installation instructions starting using
update.packages() instead, which will certainly confuse those who
don't know the history (thin...
2019 Oct 30
0
set.seed() in a package
...t, set.seed() always return NULL.
BTW, and my memory might be bad, I think I mentioned this in the past
but was told that you cannot reset the RNG state for all types of RNG
kinds. That might complicate things, but on the other hand, that
could be checked for at run-time by the above functions.
/Henrik
On Wed, Oct 30, 2019 at 9:50 AM Henrik Bengtsson
<henrik.bengtsson at gmail.com> wrote:
>
> > On 30/10/2019 9:08 a.m., peter dalgaard wrote:
> > > You can fairly easily work around that by saving and restoring .Random.seed.
>
> This is actually quite tedious to get...