similar to: input equivalent of capture.output

Displaying 20 results from an estimated 30000 matches similar to: "input equivalent of capture.output"

2020 Mar 16
0
pipe(): input to, and output from, a single process
I am not sure if `pipe()` works for this, but if it turns out that it does not, then you can use the processx package, e.g.: > p <- processx::process$new("sed", c("-l", "s/a/x/g"), stdin = "|", stdout = "|") > p$write_input("foobar\n") > p$read_output() [1] "foobxr\n" The `-l` sed flag is to make sed line-buffered,
2018 Apr 26
0
readLines() for non-blocking pipeline behaves differently in R 3.5
I suspect the reason for the seek is this: cat("1\n", file = "foobar") f <- file("foobar", blocking = FALSE, open = "r") readLines(f) #> [1] "1" cat("2\n", file = "foobar", append = TRUE) readLines(f) #> [1] "2" cat("3\n", file = "foobar", append = TRUE) readLines(f) #> [1]
2006 Jun 08
0
rq-2.3.3
HISTORY --- 2.3.3: - fixed bug in updater related to io files (see tmp_stdin in jobqueue.rb) - [IMPORTANT] removed feature where stdin jobs could contain comments (''#''). input lines are now taken literally __except__ blank lines, which are still ignored. - added ability to dump stdin/stdout/stderr for any job rq q stdout 42
2006 Apr 28
0
rq-2.3.2
NAME rq v2.3.2 SYNOPSIS rq (queue | export RQ_Q=q) mode [mode_args]* [options]* URIS http://raa.ruby-lang.org/project/rq/ http://www.linuxjournal.com/article/7922 DESCRIPTION ruby queue (rq) is a zero-admin zero-configuration tool used to create instant linux clusters. rq requires only a central nfs filesystem in order to manage a simple sqlite database as a distributed
2013 Oct 09
0
[PATCH 0/1] Porting klibc to arm64
Hi Neil / Thorsten, The full test result is attached. Thanks and Regards, Anil ------------------------------------------------------------------------------------------------------------------------------- root at genericarmv8:~/anilss/AArch64/mksh_44-1/mksh# ./mksh test.sh -p $PWD/mksh Testing mksh for conformance: # $MirOS: src/bin/mksh/check.t,v 1.599 2013/02/24 14:22:41 tg Exp $
2008 Feb 27
0
Making redirecting output with win32-process a bit easier
Hi all, Inspired by Sander Pool''s help request, I came up with this change to win32-process which makes redirecting stdin/stdout/stderr less of a hassle: C:\Documents and Settings\djberge\workspace\win32-process\lib\win32>diff -u process.orig process.rb --- process.orig Tue Feb 26 22:23:56 2008 +++ process.rb Tue Feb 26 22:23:20 2008 @@ -270,6 +270,10 @@ # library. Note
2012 Oct 11
2
bug tracker broken
Hi, I get a 404 page not found on the root. There is not webmaster link on r-project.org that I can see. Whom should I contact? Thanks Antonio PS: Yes I was trying to report my first bug. It's a conspiracy with p < 0.01. [[alternative HTML version deleted]]
2012 Apr 30
2
fast version of split.data.frame or conversion from data.frame to list of its rows
Hi, I was wondering if there is anything more efficient than split to do the kind of conversion in the subject. If I create a data frame as in system.time({fd = data.frame(x=1:2000, y = rnorm(2000), id = paste("x", 1:2000, sep =""))}) user system elapsed 0.004 0.000 0.004 and then I try to split it > system.time(split(fd, 1:nrow(fd))) user system elapsed
2010 Feb 10
0
getting input from the console when running R in batch mode
Hello list: I am using R through Geany in Ubuntu.  The way i have Geany configured is that upon invoking the exectute command, Geany does a "R <myscript.R >myscript.out", thus getting all input from the myscript.R file and redirecting all output to the myscript.out file. This is a problem when I want to read, say a numeric value, from the keyboard, or when i'd like to output
2012 Mar 22
1
Serializing many small objects efficiently
Hi, sorry if this question is trivial or unclear, this is my first venture into mixed C/R programming (I am reasonably experienced in each separately). I am trying to write a serialization function for a format called typedbytes, which is used as an interchange format in Hadoop circles. Since I would need to serialize according to the internal R format many small R objects I looked at the c
2020 Mar 13
7
pipe(): input to, and output from, a single process
hi. i'd like to instantiate sed(1), send it some input, and retrieve its output, all via pipes (rather than an intermediate file). my sense from pipe and looking at the sources (sys-unix.c) is that is not possible. is that true? are there any thoughts of providing such a facility? cheers, Greg
2000 Jun 15
1
ssh 2.1.1p1 can't connect; ssh 1.2.3 can
My ISP supports connections via ssh. I was using OpenSSH 1.2.3 (portable) on Solaris 2.5.1 (with EGD), and I could connect to my ISP just fine. They're using the proprietary sshd version 1.2.26 as far as I can tell. A connect session looks like: $ ssh-1.2.3 -v -l foobar xx.xx.xx.xx SSH Version OpenSSH-1.2.3, protocol version 1.5. Compiled with SSL. debug: ssh_connect: getuid 390
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
2007 Dec 29
0
(unknown)
NAME bj SYNOPSIS bj (migration_code|generate_migration|migrate|setup|plugin|run| submit|list|set|config|pid) [options]+ HISTORY 1.0.0: - use full path to ruby for plugin mode - plugin correctly installs bin -->> script - plugin install uses --force - properly quote paths in windows (spaces) - switch win signal to ABRT (was INT) - background job
2002 Feb 26
1
How can you capture the input and output of a serial port in wine
I'm curious about this. I'm trying to reverse-engineer a really neato-device that hooks up to the serial port and has Windows software. I've figured out the protocol the device sends; I'm just not sure how the device is initialized. So I'd love to capture the Windows software doing the dirty deed.. and WINE is IMHO just the tool. So, question is: How do you capture serial
2011 Feb 25
0
Named capture in regexp
Dear R core developers, One feature from Python that I have been wanting in R is the ability to capture groups in regular expressions using names. Consider the following example in R. > notables <- c(" Ben Franklin and Jefferson Davis","\tMillard Fillmore") > name.rex <- "(?<first>[A-Z][a-z]+) (?<last>[A-Z][a-z]+)" > (parsed <-
1999 Dec 14
2
1.2pre17 scp Input/Output error
Under OpenSSH 1.2pre17 I can duplicate and Input/Output error for scp: Conditions: pc36 is a RH6.0/i386 box. abc.co.za is a RH5.2/i386 box. (private network) openssh 1.2 pre 17 on both boxes. Line between them is a 128k leased line. It works between two 10baseT machines. If the scrollbar is active, the scp fails, if it isn't active, scp works. Note that without the scrollbar, the file gets
2013 Apr 23
1
Verbose output from R CMD check
I've been developing a package called foobar for a couple of years now. It has evolved through various versions, but has always contained compiled C code. Recently, R CMD check has started generating the following message [START QUOTE] R CMD check foobar_1.7.5.tar.gz * using log directory ?/home/david/foobar/package/foobar.Rcheck? * using R version 2.15.2 (2012-10-26) * using platform:
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
2007 Jul 24
3
mocha tarballs don''t uncompress cleanly
Hi Antonio, My environment is OS X 10.4.8. Thanks a lot for looking into the problem. Please let me know if I can do anything to help. I have had problems previously with tar including Mac resource fork files. Could this be what is causing your problem? James. On 24 Jul 2007, at 20:42, Antonio Terceiro wrote: > Hi James, > > First of all, thanks for mocha, it''s a really