Displaying 20 results from an estimated 4000 matches similar to: "abort"
2018 May 10
2
readLines() behaves differently for gzfile connection
When I read a .gz file with readLines() in 3.4.3, it returns text (and a
warning). In 3.5.0, it gives a warning, but no text. Is this expected
behavior or a bug?
3.4.3:
> source_file = "1k_annotation.gz"
> readfile_con <- gzfile(source_file, "r")
> readLines(readfile_con, n = 5)
[1] "#chr\tpos\tref\talt\t
<truncated output here>
Warning message:
In
2018 May 10
1
readLines() behaves differently for gzfile connection
You bet - it's available on github at
https://github.com/UW-GAC/wgsaparsr/blob/master/tests/testthat/1k_annotation.gz
-Ben
On Thu, May 10, 2018 at 4:17 PM, Michael Lawrence <lawrence.michael at gene.com
> wrote:
> Would it be possible to get that file or a representative subset of it
> somewhere so that I can reproduce this?
>
> Thanks,
> Michael
>
> On Thu, May
2018 Feb 20
5
deparseDots to get names of all arguments?
Hi, All:
????? How can I get the names of all the arguments in dots(...)?
????? I'm able to get the name of the first argument but not the second:
deparseDots <- function(...){
? deparse(substitute(...))
}
a <- 1
b <- 2
deparseDots(a, b)
[1] "a"
????? I'd like to get c('a', 'b').
????? Thanks,
????? Spencer Graves
> sessionInfo()
R
2018 Feb 21
0
deparseDots to get names of all arguments?
Does substitute(...()) do what you want?
> myFunc <- function(x, ...) substitute(...())
> myFunc(y=1/(1:10), x=sin(3:1), z=stop("Oops"), "untagged arg")
$y
1/(1:10)
$z
stop("Oops")
[[3]]
[1] "untagged arg"
> names(.Last.value)
[1] "y" "z" ""
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Feb 20, 2018 at
2017 Aug 29
1
Print all In new window R 3.4.1 post-installation problems in Mac OSX 10.12.6
Hi,
I installed R 3.4.1 on Mac OSX 10.12.6 version.
On opening Preferences and trying to change the editor font by
clicking the select button I get following error message in R.
2017-08-28 11:57:41.551 R[809:11355] *** RController: caught ObjC
exception while processing system events. Update to the latest GUI
version and consider reporting this properly (see FAQ) if it persists
and is not
2018 May 10
0
readLines() behaves differently for gzfile connection
Would it be possible to get that file or a representative subset of it
somewhere so that I can reproduce this?
Thanks,
Michael
On Thu, May 10, 2018 at 3:31 PM, Ben Heavner <bheavner at gmail.com> wrote:
> When I read a .gz file with readLines() in 3.4.3, it returns text (and a
> warning). In 3.5.0, it gives a warning, but no text. Is this expected
> behavior or a bug?
>
>
2018 Feb 02
2
Updating Rcpp package when it is claimed by dplyr
When i tried to install the hunspell package, I got this error message:
Error: package ?Rcpp? 0.12.3 was found, but >= 0.12.12 is required by ?hunspell?
So I set about installing a new version of Rcpp but I get this message:
Error in unloadNamespace(pkg_name) :
namespace ?Rcpp? is imported by ?dplyr? so cannot be unloaded
How does one get around that? I tried installing Rcpp in a
2015 Aug 10
2
Bug or expected behavior of APFloat class?
Hi,
I've been playing around with the APFloat class lately and I came
across behavior I was not expecting based on reading the
implementation comments and I'm wondering if it's a bug or
intentional.
The behavior concerns converting an APFloat to a string and back
again. In the implementation of ``APFloat::toString(...)`` you can
specify ``FormatPrecision`` as 0. The method comments
2018 Sep 19
5
segfault issue with parallel::mclapply and download.file() on Mac OS X
I have an lapply function call that I want to parallelize. Below is a very
simplified version of the code:
url_base <- "https://cloud.r-project.org/src/contrib/"
files <- c("A3_1.0.0.tar.gz", "ABC.RAP_0.9.0.tar.gz")
res <- parallel::mclapply(files, function(s) download.file(paste0(url_base,
s), s))
Instead of download a couple of files in parallel, I get a
2017 Sep 08
1
Bug: dput/deparse with named character vector inside list
Hi,
I noticed some R-devel failures on CRAN on a package I maintain:
https://cloud.r-project.org/web/checks/check_results_httptest.html
It appears that 'dput'/'deparse' is returning an invalid object when
there is a named character vector inside a list. Here is a minimal
example that reproduces the issue:
> z <- list(a=c(b="foo"))
> str(z)
List of 1
$ a: Named
2016 Jun 01
2
segfault / crash when asking for large memory via strrep()
We've had this more general topic on R-help, and also in R-devel recently.
There's one case here where I get the feeling R never gets into
swapping but more directly aborts possibly from a bug we can
more easily fix.
Today I've been working (successfully! - not yet committed) at
fixing str() for very large strings.
In this process, I've found that
pc <- function(.)
2017 Jul 24
2
Loading Rcmdr
With the lastest version of R 3.4.1 I have not been able to loard Rcmdr.
Advice please.
Thank you,
Jack Talley, PhD
[[alternative HTML version deleted]]
2018 Oct 25
1
small bug in formatC?
formatC(0.0001, digits = 3, format = "f", zero.print="< 0.01")
Error in strrep(" ", nc - i1) : invalid 'times' value
The problem, if it is one, is in .format.zeros:
.format.zeros("0.000", "xxxxxx")
Error in strrep(" ", nc - i1) : invalid 'times' value
R version 3.5.1.
David
[[alternative HTML version deleted]]
2018 Feb 02
0
Updating Rcpp package when it is claimed by dplyr
Your last statement is extremely unlikely to be true. The dplyr package should not be present in a vanilla environment, so there should be no such conflict.
--
Sent from my phone. Please excuse my brevity.
On February 1, 2018 11:00:01 PM PST, Patrick Connolly <p_connolly at slingshot.co.nz> wrote:
>When i tried to install the hunspell package, I got this error
>message:
>
2018 Feb 02
2
Updating Rcpp package when it is claimed by dplyr
Or, to avoid accusing you of lying. what you think is "vanilla" probably isn't. What exactly did you do? On Unix-likes, I would do something like this
echo 'options(repos=list(CRAN="cran.r-project.org"));install.packages("Rcpp")' | R --vanilla
(or maybe https://cloud.r-project.org is better...)
-pd
> On 2 Feb 2018, at 08:15 , Jeff Newmiller
2018 Feb 02
0
Updating Rcpp package when it is claimed by dplyr
On Fri, 02-Feb-2018 at 10:25AM +0100, peter dalgaard wrote:
|> Or, to avoid accusing you of lying. what you think is "vanilla"
|> probably isn't. What exactly did you do? On Unix-likes, I would do
|> something like this
|> echo 'options(repos=list(CRAN="cran.r-project.org"));install.packages("Rcpp")' | R --vanilla
|>
|> (or maybe
2018 Aug 31
2
svg ignores cex.axis in R3.5.1 on macOS
????? Plots produced using svg in R 3.5.1 under macOS 10.13.6 ignores
cex.axis=2.? Consider the following:
> plot(1:2, cex.axis=2)
> svg('svg_ignores_cex.axis.svg')
> plot(1:2, cex.axis=2)
> dev.off()
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS:
2018 Sep 05
2
svg ignores cex.axis in R3.5.1 on macOS
Seems ok on my system. Axis label size changes when cex.axis does.
## tested in the middle of another long session, so many additional packages are attached, including some personal packages not available elsewhere
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS:
2019 Apr 20
2
update.package() asking even when asked to not ask
Hi,
I was trying to update packages today on one of our MacOS servers, and
got this:
? > update.packages(ask=FALSE)
? ? There is a binary version available but the source version is later:
?? ???? binary source needs_compilation
? gsl 1.9-10.3? 2.1-6????????????? TRUE
? Do you want to install from sources the package which needs
compilation? (Yes/no/cancel)
So it looks like
2009 Jan 07
1
Compiling R for Solaris 10 Intel
Hi,
I downloaded 2.8.1 and tried to compile it using gcc 3.4.6. (simple install, just ./configure, make, make check, make install)
I found that it compiled and went through the tests fine.
The foreign library, however, that seems to be segfaulting on me (see output below). I did see an old posting about a similar problem, but there was no resolution. Have other people experienced this at all?