Displaying 20 results from an estimated 8000 matches similar to: "Error in close.connection(p) : ignoring SIGPIPE signal"
2019 Dec 06
1
Error in close.connection(p) : ignoring SIGPIPE signal
Andreas,
How right you are! Still, I find it curious that in the context of the
while(TRUE) loop, I am allowed to do this 653 times, with failure on the
654th attempt. Perhaps there is something asynchronous going on? If I
eliminate the looping, it does indeed fail (as expected) on the first
attempt to close the pipe.
Regards
Ben
On 12/6/19 2:04 AM, Andreas Kersting wrote:
> Hi
2019 Dec 06
0
Error in close.connection(p) : ignoring SIGPIPE signal
Hi Benjamin,
you cannot pipe to echo, since it does not read from stdin.
echo just echos is first arg, i.e. echo /dev/stdin > /dev/null will echo the string "/dev/stdin"to /dev/stdout, which is redirected to /dev/null.
Try
p <- pipe("cat > /dev/null", open = "w")
instead.
Regards,
Andreas
2019-12-06 02:46 GMT+01:00 Benjamin Tyner<btyner at
2019 Apr 21
2
R-devel (rev 76409) fails 'make check': non-generic function 'isSymmetric' given to findMethods()
Hello,
Most likely I'm doing something wrong, but am at a loss as to what the
issue is. I have a clean checkout of trunk here:
?? ~/svn/r-devel/R$ svn info
?? Path: .
?? Working Copy Root Path: /home/btyner/svn/r-devel/R
?? URL: https://svn.r-project.org/R/trunk
?? Relative URL: ^/trunk
?? Repository Root: https://svn.r-project.org/R
?? Repository UUID:
2024 Mar 01
3
installation: while running make, unable to run pdflatex on 'NEWS.tex'
A kind member of R-core suggested this is due to a misconfiguration on
my system, and to post it to the mailing list for troubleshooting.
When trying to build R version 4.3.3, in at least two places during the
process it gives LaTeX errors of the form:
(example 1)
you should 'make docs' now ...
make[1]: Entering directory '/home/btyner/R-4.3.3/doc'
creating
2006 Mar 30
2
custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)
Full_Name: Ben Tyner
Version: 2.2.0
OS: i686-pc-linux-gnu
Submission from: (NULL) (128.210.141.240)
My appologies if this has already been fixed, but I didn't see it in the
tracking system yet so I thought I'd report it. Demonstration:
xyplot(Petal.Length ~ Petal.Width | Species, iris,
strip = strip.custom(style = 1,
var.name = expression(beta),
2024 Mar 02
1
installation: while running make, unable to run pdflatex on 'NEWS.tex'
? Fri, 1 Mar 2024 10:46:53 -0500
Benjamin Tyner <btyner at gmail.com> ?????:
> my platform info:
>
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 22.04.4 LTS
Quick things first: have you installed all the build-dependencies? apt
build-dep r-base (maybe with --install-suggests? haven't tried that in
a while) should do that. In particular, the build
2020 Jan 19
2
rpois(9, 1e10)
????? This issue arose for me in simulations to estimate confidence,
prediction, and tolerance intervals from glm(., family=poisson) fits
embedded in a BMA::bic.glm fit using a simulate.bic.glm function I added
to the development version of Ecfun, available at
"https://github.com/sbgraves237/Ecfun".? This is part of a vignette I'm
developing, available at
2018 Jan 10
5
OpenBLAS in everyday R?
I didn't do the compile; is there a way to check whether that was used?
If not, I'll inquire with our sysadmin and report back.
In any case, my suggestion was motivated by the fact that some parts of
R use OpenMP while others do not, in the hope that the former could have
their OpenBLAS omelet without breaking the OpenMP eggs, so to speak.
On 01/09/2018 06:41 PM, Keith O'Hara
2018 Jan 11
2
OpenBLAS in everyday R?
Thanks Keith. We checked, and indeed libopenblas is not linked against
libomp nor libgomp. We suspect this is because we used conda to install
R and OpenBLAS. So I guess we should be barking up the conda tree instead?
By the way, I also noticed on my home machine (Ubuntu),
/usr/lib/libopenblas.so.0 is also not linked against those, for what
that's worth.
Regards,
Ben
On 01/10/2018 12:04
2020 Jan 19
2
rpois(9, 1e10)
On 2020-01-19 13:01, Avraham Adler wrote:
> Crazy thought, but being that a sum of Poissons is Poisson in the sum,
> can you break your ?big? simulation into the sum of a few smaller
> ones? Or is the order of magnitude difference just too great?
????? I don't perceive that as feasible.? Once I found what was
generating NAs, it was easy to code a function to return pseudo-random
2015 Dec 08
2
For integer vectors, `as(x, "numeric")` has no effect.
We do need an explicit method here, I think.
The issue is that as() uses methods for the generic function coerce() but cannot use inheritance in the usual way (if it did, you would be immediately back with no change, since "integer" inherits from "numeric").
Copying in the general method for coercing to "numeric" as an explicit method for "integer" gives
2009 Jun 25
0
ignoring SIGPIPE signal + error loading lapack routines
Dear list
I don't know whether this is the right place to post this message. If not,
please redirect me to the proper place.
i have a Perl application on Linux that uses R (V2.9.0) through the Perl-R
interface.
basically, the application performs statistical analysis using R, and
displays the R output (JPG image of the particular analysis) to the user.
in general, this works fine. but i
2018 Feb 06
0
rJava garbage collect
On 6 February 2018 at 04:34, Benjamin Tyner <btyner at gmail.com> wrote:
> Hi
>
> Does rJava offer a way to instruct the JVM to perform a garbage collection?
Do you really, really need to run the garbage collector?
Consider reading:
https://stackoverflow.com/questions/5086800/java-garbage-collection
Regards
Martin
2020 Jan 19
2
rpois(9, 1e10)
On my Mac:
str(.Machine)
...
$ integer.max????????? : int 2147483647
?$ sizeof.long????????? : int 8
?$ sizeof.longlong????? : int 8
?$ sizeof.longdouble??? : int 16
?$ sizeof.pointer?????? : int 8
????? On a Windows 10 machine I have, $ sizeof.long : int 4; otherwise
the same as on my Mac.
????? Am I correct that $ sizeof.long = 4 means 4 bytes = 32 bits?
log2(.Machine$integer.max)
2018 Feb 06
4
rJava garbage collect
Hi
Does rJava offer a way to instruct the JVM to perform a garbage collection?
Regards
Ben
2006 Oct 30
3
correlation structure in lme without random effect
I was hoping to fit along the lines of
g<-gl(20,5)
y<-runif(100)
fit<-lme(fixed=y~g,correlation=corAR1(0,~1|g))
But I get the error "Incompatible formulas for groups in "random" and
"correlation""
Any help would be greatly appreciated.
Ben
2005 Apr 05
2
future update to loess
Background: I'm a student of Prof. Cleveland at Purdue University.
Eventually, we'd like to release a new version of the loess routine in R.
For starters, this implementation would have support for local polynomial
degree 3, better control over the number of cells in the KD tree, and
perhaps a better solution in higher predictor dimension.
I see that Prof. Ripley was responsible for
2015 Feb 26
1
iterated lapply
> On Feb 25, 2015, at 5:35 PM, Benjamin Tyner <btyner at gmail.com> wrote:
>
> Actually, it depends on the number of cores:
Under current semantics, yes. Each 'stream' of function calls is lazily capturing the last value of `i` on that core.
Under Luke's proposed semantics (IIUC),
the result would be the same (2,4,6,8) for both parallel and serial execution. This is
2007 Jan 08
3
Speeding things up
Hi,
is it possible to do this operation faster? I am going over 35k data
entries and this takes quite some time.
for(cnt in 2:length(sdata$date))
{
if(sdata$value[cnt] < sdata$value[cnt - 1]) {
sdata$ddtd[cnt] <- sdata$ddtd[cnt - 1] + sdata$value[cnt - 1] -
sdata$value[cnt]
}
else sdata$ddtd[cnt] <- 0
}
return(sdata)
Thank you,
Benjamin
2002 Sep 03
2
[patch] for rsync
To Whom It May Concern:
Below is a patch, that I have used to eliminate the unexplained
errors in the rsync program. I was able to trace the problem to
the order in which the sigchld_handler and wait_process routines
were executed. If sigchld_handler executes first it retrieves
the status that wait_process needs to indicate proper rsync
termination. The code below allows the sigchld_handler to