similar to: capture.output(), truncated last output without \n (PR#10534)

Displaying 20 results from an estimated 7000 matches similar to: "capture.output(), truncated last output without \n (PR#10534)"

2007 Dec 29
2
(PR#10534 capture.output(), truncated last output without
This only happens if 'file' is a text connection, and is the expected behaviour 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()
2008 May 04
1
Change in the Tcl/Tk loading in R 2.7.0 (under Unix/Mac OS X)?
Hello, Up to R 2.6.2, I used to start Tcl *without Tk* (I need only Tcl for some part of my work, like a socket server written in Tcl only, for instance) with this code under Mac OS X (particularly on this system, because I don't want to start X11 just to use Tcl code, which is required for Tk!): > Sys.unsetenv("DISPLAY") > library(tcltk) I got then the message
2004 Jan 09
1
Wich character coding for source under Windows?
I know that R can cope with the different formats regarding carriage return and/or line feed (the Unix, or Windows, or Mac convention), which is very nice. However, it is not clear in my mind which character encoding is used: ASCII, ANSI, other? There is not much differences between ANSI and DOS encoding for instance, for the first 128 characters. But it is very different for the rest. Best,
2008 May 05
2
[R-SIG-Mac] Starting tcltk without Tk
It turns out that the behavior of starting just Tcl was actually a bug. Apparently the intention was to attempt to start Tk regardless of the DISPLAY variable, because some TclTk implementation such as Aqua Tcl/Tk don't require DISPLAY and thus would not be loaded. Due to a bug (HAVE_AQUA was not included in Rconfig.h before R 2.7.0), though, this was not the case. I'll leave it
2007 Dec 12
1
xYplot problem
Dear R community, Since upgrading to R v.2.6.1 and re-installing package Hmisc (binary for Mac OS X v.3.4-3), I have been getting a error when trying to make xYplots: >plotcv<-c(34.88, 41.51, 45.81, 51.05, 51.66) >plotcv.se<-c(2.406551, 3.071291, 4.331407, 3.213873, 4.838150) >month<-c(6, 7, 8, 9, 10) >library(Hmisc) >xYplot(Cbind(plotcv, plotcv + plotcv.se,
2007 Dec 21
1
substitute() bug? (PR#10525)
The first four lines of code below work as normal. The fifth thorows an error: "Error in paste(theta[1], "=", 5) : object "theta" not found" x=rnorm(1000); bob=density(x); topp=5; plot(bob,xlab="", ylab="", main=substitute(paste(theta[1],"=",topp),list(topp=topp)), type="l"); plot(bob$y~bob$x,xlab="",
2010 May 11
1
has_one/belongs_to -- accessing the subordinate
With a has_one/belongs_to relationship, what''s the best way to guarantee that the belongs_to object gets created and is accessible alongside the has_one object? I *think* the after_create callback is a good choice, but I discovered an oddity while trying it. F''rinstance, if every horse has a carriage: ============ ActiveRecord::Schema.define do create_table(:horses) {|t|
2008 Feb 12
3
fun.aggregate=mean in reshape
Hi all, We are facing a problem while introducing ourselves to Reshape package use. Melt seems to work fine, but cast fails when we use mean as fun.aggregate. As you see here, length and sum work fine, but mean throws this same error whatever dataset we use. > cast(aqm, month ~ variable, length) month ozone solar.r wind temp 1 5 26 27 31 31 2 6 9 30 30
2008 May 09
1
Typo in man page for "packBits" (PR#11435)
One occurence of 'packbits' should be 'packBits' (version information below): Index: src/library/base/man/rawConversion.Rd =================================================================== --- src/library/base/man/rawConversion.Rd (revision 55) +++ src/library/base/man/rawConversion.Rd (working copy) @@ -41,7 +41,7 @@ of 32 times the length of an integer vector with
2008 Mar 27
1
list as object in dataframe
Hi All, I need to place lists or vectors within dataframes as single elements. However when I try this: df=data.frame(y=1, x=I(list(c("a","b"), c("f","c"), c("a")))) df df[1,'x']=I(c("a","d")) I get this error, even though I am using I(): Error in `[<-.data.frame`(`*tmp*`, 1, "x", value =
2007 Oct 27
1
Unwanted axis labels when rug() has POSIXlt argument (PR#10380)
rug() may add integer axis labels when called with a POSIXlt object as argument. dtimes <- c("09/29/2007 12:54", "09/30/2007 00:14", "10/01/2007 00:14", "10/02/2007 00:14", "10/03/2007 00:14", "10/04/2007 00:14", "10/05/2007 00:14", "10/06/2007 00:14", "10/07/2007
2007 Oct 16
1
The itemize command in *.Rd files.
I'm getting an anomalous result from using the itemize command in a documentation file. My usage is something like \itemize{ \item Melvin \item Irving \item Clyde \item Fred } (This was place inside ``\details{ }''.) (Previously I had enclosed the text following each item in braces but that gave even worse results.) The package appears to install OK; i.e. the command R
2007 Sep 23
3
html help fails for named vector objects (PR#9927)
help(letters, htmlhelp=TRUE) fails. Under the Mac OSX gui, the message is 'Help for the topic "a" was not found.' Under the version documented below, and under Windows, the message is "No documentation for 'a' in specified packages and libraries:" repeated for all the elements of letters, then followed by "you could try
2007 Mar 08
1
reading a text file with a stray carriage return
Hi, I'm hoping someone has a suggestion for handling a simple problem. A client gave me a comma separated value file (call it x.csv) that has an id and name and address for about 25,000 people (25,000 records). I used read.table to read it, but then discovered that there are stray carriage returns on several records. This plays havoc with read.table since it starts a
2008 Mar 28
1
Sweave - print \n ?
Hi, this is probably quite stupid but I have no clue what's wrong. Let's say I write the function hline <- function() { cat("\\hline \n") } and call hline() from within a Sweave chunk. Why is there no carriage return after the \hline in the resulting tex file? if I call hline() hline() in the chunk, then I get \hline \hline in the tex code without a linebreak in
2007 Sep 19
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
Tanya Lattner wrote: > You can set the program-prefix to be "llvm-". We actually recommend > this and its in the README.llvm. We do not require it though. > > -Tanya > Hello Tanya. Yes, I'm aware of this, but one of the programs that got installed for me, like i686-apple-darwin8.10.1-gcc-4.0.1, was not getting the program prefix, and was getting used by gcc.
2006 Nov 13
2
Embedded carriage returns in text document
Colleagues, I am using R 2.4.0 on both a Mac (10.4.8) and Linux (RedHat 9). To read data from an Excel spreadsheet, I do "save as" in Excel, then select the "Text (tab-delimited)" format. The resulting file uses a tab separator and I can usually read the file using read.delim. Sometimes, the header row contains embedded carriage returns. When I view the file,
2006 Aug 19
1
need to find (and distinguish types of) carriage returns in a file that is scanned using scan
Hope this is not too trivial I am reading a large file using scan. In one part of this file there is a chunk of text within which i need to know the positions of line breaks. But scan seems only An example of the file is: " a 0 1 0 bftt 020 cftt T 1 R a 0 1 2 1 2 b 0 1 2 2 2 c 0 10 00 " so precisely i need in the scanned file in R to know where each carriage return is in the file
2004 Oct 16
3
Lazy loading... advices
Hello, I am looking for more information about lazy loading introduced in R 2.0.0. Doing ?lazyLoad I got some and there is a 'see also' section that points to 'makeLazyLoading'... But I cannot reach this page. My problem is: I recompiled a library that uses a lot of functions from other libraries (of course I can give details if needed). I load it in my computer: library(svGUI),
1999 Oct 26
1
Wrong text() adjustment with (math)expression and "\n" (PR#299)
This is adapted from partha_bagchi@hgsi.com 's report on R-help: plot(0); title(expression("Bad\n with much much more text"))) gives something like Bad with much much more text (``newline w/o carriage return'') instead of centering both lines such as Bad with much much more text which is produced by (just dropping