I suppose it's conceivable that your object named "object" has some
non-standard character(s) in it that cause the code underlying cat()
to do something weird. For example,
cat('abcdef','\r','\n')
bcdef
Appears to truncate the first character.
Basic debugging suggests breaking down the pr
It has to be related to 'cat' because the output of 'cat' is truncated. I am
just tyring to find out some possible reasons as to why it is truncated. I have
been unable to form an array like is in the test program. Do you think there is
something else that is gobbling up the output from cat that
Kevin,
The habitués of this mailing list get irritated when users mail in
problem reports which don't include enough information to reproduce
the problem, as requested in the standard footer of r-help mail
("PLEASE ... provide commented, minimal, self-contained, reproducible
code.") This irritatio
On 7/16/2009 10:21 AM, rkevinbur...@charter.net wrote:
So then I am to assume that the output of 'cat' can be truncated by passing it "bad" arrays.
I certainly wouldn't draw that conclusion. Without a reproducible
example, my assumption would be that it is unrelated to cat().
Duncan Murdoch
So then I am to assume that the output of 'cat' can be truncated by passing it
"bad" arrays. That is the only difference between the "reproducible" code you
show and mine. It is just a theory but say that the components array is not
dimmensioned for 4 elements. It seems a little strange if that
On 7/15/2009 9:53 AM, rkevinbur...@charter.net wrote:
I have a statement:
cat("myforecast ETS(", paste(object$components[1], object$components[2], object$components[3],
object$components[4], sep = ","), ") ", n, "\n")
That generates:
cast ETS( A,N,N,FALSE ) 3
Anyone guess as to why th
I have a statement:
cat("myforecast ETS(", paste(object$components[1], object$components[2],
object$components[3], object$components[4], sep = ","), ") ", n, "\n")
That generates:
cast ETS( A,N,N,FALSE ) 3
Anyone guess as to why the first 5 letters are truncated/missing?
Kevin
7 matches
Mail list logo