search for: isincomplet

Displaying 9 results from an estimated 9 matches for "isincomplet".

Did you mean: isincomplete
2007 Dec 29
2
(PR#10534 capture.output(), truncated last output without
...our in that case: you cannot capture an incomplete line to a text connection. There seems no reason to break the documented behaviour in other cases to change something that you consider to a bug when file=NULL and the user does not produce complete output. It would be possible to make use of isIncomplete() to add a final newline only where needed to complete a line. E.g. use if(inherits(file, "textConnection") && isIncomplete(file)) cat("\n") On Sat, 29 Dec 2007, phgrosjean at sciviews.org wrote: > Full_Name: Philippe Grosjean > Version: 2.6.1 > OS:...
2001 Jul 30
0
Remote controlling R via sockets
...possible with R-1.2.0 back in January 2001 in the first R News newsletter. How? Just substitute source() for readLines() in last few lines of the example for a socket connection given in the R-1.3.0 help(connection) - the following works fine on a Red Hat Linux 6.2 system - under Windows the while(isIncomplete()) loop exits immediately for some reason, although the socket connection as a source for source() works fine: ## two R processes communicating via non-blocking sockets # R process 1 con1 <- socketConnection(port = 6011, server=TRUE) writeLines("plot(rnorm(100))",...
2007 Dec 29
1
capture.output(), truncated last output without \n (PR#10534)
Full_Name: Philippe Grosjean Version: 2.6.1 OS: MacOS X; Windows XP Submission from: (NULL) (81.243.237.235) Last output from capture.output() is truncated if it does not end with a carriage return: > capture.output(cat("text\n")) # Fine [1] "text" > capture.output(cat("text")) # Missing output! character(0) >
2011 Jun 10
4
running R commands asynchronously
I am interested in running R commands asynchronously. My first choice is in the same R session that I am currently in. Here, the goal would be to run something like RunAsynchSameSession(myfunction(), "outputname.rda") Once RunAsynchSameSession had started myfunction(), RunAsynchSameSession would complete immediately. myfunction would keep going. It is OK if execution of the
2002 Dec 20
3
Sweave & xtable
I'm trying to get Sweave running for automatic report generation, and it seems to run fine when just using verbatim output. However, I've ran into a problem with xtable. I would like to print the following matrix using xtable: > dim(counts) [1] 19 15 All columns are filled with real/integer numbers > 0 and < 1000. Just typing xtable(counts) gives correct LaTeX output, but
2010 Oct 03
2
Read file
Dear R-users, I would like to know how could I read a file with different lines lengths. I need read this file and create an output to feed my database. So after reading I'll need create an output like this "INSERT INTO TEMP (DATA,STATION,VAR1,VAR2) VALUES (20100910,837460, 39,390)" I mean, each line should be read. But I don`t how to do this when these lines have different
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...quot;), - method = getOption("url.method", "default")) + method = getOption("url.method", "default"), + headers = NULL) gzfile(description, open = "", encoding = getOption("encoding"), compression = 6) @@ -98,6 +99,10 @@ isIncomplete(con) \code{c("default", "internal", "wininet", "libcurl")}: %% FIXME: Consider "auto", as in download.file() see \sQuote{Details}.} + \item{headers}{named character vector of HTTP headers to use in HTTP + requests. It is ignored fo...
2011 Oct 31
0
R 2.14.0 is released
...(a list or a vector) if the factor on which to un-split had only one level. o On some systems help(".C", help_type = "pdf") and similar generated file names that TeX was unable to handle. o Non-blocking listening socket connections continued to report isIncomplete() as true even when the peer had closed down and all available input had been read. o The revised HTML search system now generates better hyperlinks to help topics found: previously it gave problems with help pages with names containing e.g. spaces and slashes. o A late...
2011 Oct 31
0
R 2.14.0 is released
...(a list or a vector) if the factor on which to un-split had only one level. o On some systems help(".C", help_type = "pdf") and similar generated file names that TeX was unable to handle. o Non-blocking listening socket connections continued to report isIncomplete() as true even when the peer had closed down and all available input had been read. o The revised HTML search system now generates better hyperlinks to help topics found: previously it gave problems with help pages with names containing e.g. spaces and slashes. o A late...