Displaying 15 results from an estimated 15 matches similar to: "[ESS] completion in [] (R internal completion fails)"
2011 Jun 07
1
Cases of TAB-completion that hang Rterm
FYI,
via a bug report of one of my packages, I discovered that the
following cases will hang Rterm when using TAB completion:
CASE #1:
Adding an empty default function for tail() causes Rterm on Windows to
hang if one press TAB at the prompt:
% Rterm -vanilla
> tail.default <- function(...) {}
> [PRESS TAB]
Error in specialOpLocs(text) :
(list) object cannot be coerced to type
2017 Dec 04
1
PSOCK cluster and renice
Hi Henrik,
Thanks for the detailed in fast reply!
My guess would be that the confusion comes from the different use of nice and renice.
The workraund you provided work fine! Thanks a lot.
Best,
Andreas
Henrik Bengtsson <henrik.bengtsson at gmail.com> writes:
> Looks like a bug to me due to wrong assumptions about 'nice'
> arguments, but could be because a
2017 Dec 04
0
PSOCK cluster and renice
Looks like a bug to me due to wrong assumptions about 'nice'
arguments, but could be because a "non-standard" 'nice' is used. If
we do:
> trace(system, tracer = quote(print(command)))
Tracing function "system" in package "base"
we see that the system call used is:
> cl <- parallel::makePSOCKcluster(2L, renice = 19)
Tracing system(cmd, wait
2012 Jun 09
3
More simple implementation is slow.
Hi all.
I'm developing a function, which must return a square matrix.
Here is the code:
http://pastebin.com/THzEW9N7
These functions implement an analog of two embedded for cycles.
The first variant creates the resulting matrix by columns, cbind()-ing them
one by one.
The second variant creates the matrix with two columns, which rows contain
all possible
variants of i and j and calls apply
2023 Mar 01
1
tab-complete for non-syntactic names could attempt backtick-wrapping
Consider:
x <- list(`a b` = 1)
x$a<tab>
(i.e., press the 'tab' key after typing 'x$a')
The auto-complete mechanism will fill the buffer like so:
x$a b
This is not particularly helpful because this is now a syntax error.
It seems to me there's a simple fix -- in
utils:::specialCompletions(), we can wrap the result of
utils:::specialOpCompletionsHelper() with
2017 Dec 04
2
PSOCK cluster and renice
Hi all,
Is it possible to use the 'renice' option together with parallel
clusters of type 'PSOCK'? The help page for parallel::makeCluster is
not specific about which options are supported on which types and I am
getting the following message when passing renice = 19 :
> cl <- parallel::makeCluster(2, renice = 19)
nice: ?+19?: No such file or directory
Kind regards,
2013 Jul 15
2
suppress startup messages from default packages
Hi all,
several packages print messages during loading. How do I avoid to see
them when the packages are in the defaultPackages?
Here is an example.
With this in ~/.Rprofile
,----[ ~/.Rprofile ]
| old <- getOption("defaultPackages")
| options(defaultPackages = c(old, "filehash"))
| rm(old)
`----
I get as last line when starting R:
,----
| filehash: Simple key-value
2012 Aug 30
2
segfault in gplots::heatmap.2
Hi all,
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to the correct one.
I am on debian (testing) linux 64 with the binary R distribution
from the
2012 Aug 30
2
segfault in gplots::heatmap.2
Hi all,
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to the correct one.
I am on debian (testing) linux 64 with the binary R distribution
from the
2012 Apr 06
1
symbol lookup error
Hi all,
I am on debian testing with pre-packaged R (2.14.1) installed. I started
getting weird crashes. Now I have a reproducible example:
# R
R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
> save(/usr/lib/R/bin/exec/R: symbol lookup error: /usr/lib/R/lib/libR.so: undefined symbol:
2013 Jun 04
1
strange value in .Last.value
Hi all,
the .Last.value sometimes contains a strange $visible FALSE value. This
poses problems when using R with ESS (and ess-developer-mode) from
within org-mode.
>From http://permalink.gmane.org/gmane.emacs.ess.general/7299:
--8<---------------cut here---------------start------------->8---
Here is how to reproduce. Put df <- data.frame(a=1:3, b=1:3) in test.R
and then:
2012 Aug 30
1
segfault in gplots::heatmap.2
Hi all,
I am taking this over from r-help (see
http://permalink.gmane.org/gmane.comp.lang.r.general/273985).
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to
2017 Jun 21
1
encoding/locale problem with ssh -X
Hi all,
I am struggling with remote R sessions and a (I suspect) locale related
encoding problem: Using the X11 device (X11forwarding enabled),
whenever I try to plot something containing umlauts using ggplot2, I am
seeing sth like
,----
| Error in grid.Call(L_stringMetric, as.graphicsAnnot(x$label)) :
| invalid use of -61 < 0 in 'X11_MetricInfo'
`----
Using base graphics is fine
2007 Jun 28
0
R 2.5.1 is released
I've rolled up R-2.5.1.tar.gz a short while ago. This is a maintenance
release and fixes a number of mostly minor bugs and platform issues. See
the full list of changes below.
You can get it (in a short while) from
http://cran.r-project.org/src/base/R-2/R-2.5.1.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. Binaries
for various platforms will appear in due course.
2007 Jun 28
0
R 2.5.1 is released
I've rolled up R-2.5.1.tar.gz a short while ago. This is a maintenance
release and fixes a number of mostly minor bugs and platform issues. See
the full list of changes below.
You can get it (in a short while) from
http://cran.r-project.org/src/base/R-2/R-2.5.1.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. Binaries
for various platforms will appear in due course.