search for: readlne

Displaying 14 results from an estimated 14 matches for "readlne".

Did you mean: readline
2006 Dec 29
2
Binary AGI Scripts
Hi Everyone, I'm wondering if anyone here write AGI's in compiled binaries. I'm writing a small Cepstral AGI in Freepascal/Lazarus. I know there are some other AGI's out there, but I wanted to add some more functionality than what is available such as having the AGI determine if the "data" argument is plain text or a path to a text file and act accordingly. The
2001 Oct 02
1
problem with while loop with next (was RE: file connection, w hile, readLines and browser)
Dear R-help, I think I have kinda isolated the problem I had to the following: i <- 0 while( {i <- i + 1} < 5) { if(i < 3) next print(i) } This seems to go into an infinite loop. After I break the execution, i has the value 1. At the R prompt, if I start from i <- 0 and keep typing {i <- i + 1} < 5, it eventually evaluate to TRUE. So why does the while loop not work?
2001 Oct 02
0
An example (was RE: file connection, while, readLines and bro wser)
Prof. Gentleman (and R-help), Here's an example of what didn't work. I still don't understand why. Function: trycon <- function(file, n) { f.con <- file(file, open="rt") on.exit(close(f.con)) i <- 0 while( length(readln <- readLines(f.con, 1)) > 0 ) { x <- unlist(strsplit(readln, " ")) if(length(x) <= 6 && x[3] ==
2001 Oct 02
1
RE: problem with while loop with next
Prof. Tierney, Thanks very much for the info. Why does the loop work if I move the assignment out of the condition? E.g., the following works: i <- 0 while(i < 5) { i <- i + 1 if(i < 3) next print(i) } Regards, Andy > -----Original Message----- > From: Luke Tierney [mailto:luke at nokomis.stat.umn.edu] > Sent: Tuesday, October 02, 2001 3:36 PM > To: Liaw, Andy
2001 Oct 02
0
file connection, while, readLines and browser
Dear R-help, I have one more question about the functions mentioned in the subject. Again, the system info is: platform i386-pc-mingw32 arch x86 os Win32 (OK, it's NT4sp6) system x86, Win32 status major 1 minor 3.1 year 2001 month 08 day 31 language R
2009 Oct 13
1
Iterating over file lines
I am attempting to iterate over a file, processing it line by line. In my function below, I am only getting the first item over and over and over again from my test file rather than subsequent lines. How can I modify this to read lines sequentially? == iteratefile <- function(file) { f.con <- file(file) on.exit(close(f.con)) while( length(readln <- readLines(f.con, 1)) > 0 ) {
2002 Jun 15
2
Late Make Problem with Readline (PR#1673)
Full_Name: Jeremy Fox Version: 1.5.0 OS: Solaris 8, 64 bit Submission from: (NULL) (171.64.232.63) I am compiling R under Solaris and the compilation stops at this point. The problem only happens when I link in readline. The R binary is actually compiled and readlne works. The main problem with the compiled binary (other than that all the supporting files were not correctly installed) is that it prints out the error Warning message: There is no package called `ctest' in: library(package, char = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,...
2004 Apr 28
1
(no subject)
hi new user here cant seem to get fwd running, got asterisk from download site as tarball, did the readln and openssl start. Also configured the sip.conf and extensions.conf but an error with the chan_sip.c shows up? any ideas...somebody...anybody! thanx jai
2004 Apr 28
2
chan_sip.c bad file descriptor error??
hi new user here cant seem to get fwd running, got asterisk from download site as tarball, did the readln and openssl start. Also configured the sip.conf and extensions.conf but an error with the chan_sip.c shows up? any ideas...somebody...anybody! thanx jai
2007 Feb 18
5
Looking for starting point?
Hi, I am a retired telephone tech/manager who recently had a bad experience with a local company offering digital phone service (VoIP). I have spent the last thirty years in the PSTN network, switching, PBX and key system field and am interested in learning more about VoIP. My background also includes programming, mostly specialized applications to interact with the PSTN network. Most of my
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
From: Gene Cumm <gene.cumm at gmail.com> COM32/rosh: Improvements; ls acts more like ls with -l -i and -F being understood; Lots of code clean up and user assistance. Clean up the MCONFIG file; Clean up the code to get it to pass checkpatch.pl (aside from confusion on multi-line strings); Add a little more in the error function to recognize different errors; Signed-off-by: Gene Cumm
2009 Feb 15
2
COM32 module: Read-Only shell
Well, here's the read-only shell (rosh) that I've been working on. It's functional but still quite rough. My primary intention of posting it at this time is such that people have an easy way to demonstrate to themselves that the library calls I made work. This should apply as a patch to the head of the "dir" branch and the patch for c_cflag/c_lflag. The patch is only
2010 Jun 27
1
[PATCH] ROSH: Upgraded
Without further adieu, I would like to announce that I've finally pushed ROSH, the Read-Only SHell, finally to the point of being reasonably usable. From: Gene Cumm <gene.cumm at gmail.com> Patch ROSH for Syslinux-4 and make it much more usable. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c index 511fdff..bf1176f
2013 Jun 30
18
Xen 4.2.2 /etc/init.d/xendomains save and restore of domains does not work
Hello, in the last days I switched from Xen 4.2.1 to Xen 4.2.2 (source from git repository tag 4.2.2) commit a125ec6a4a2f028f97f0bdd8946d347a36dbe76b Author: Jan Beulich <jbeulich@suse.com> Date: Tue Apr 23 18:42:55 2013 +0200 update Xen version to 4.2.2 My "base system" is a debian squeeze. For Xen I use the xl toolstack. Since updating to 4.2.2 the autosave and