search for: ntail

Displaying 3 results from an estimated 3 matches for "ntail".

Did you mean: tail
2010 May 04
1
Flushing print buffer
Hello, I have a function with these lines: test <- function(object,...){ cat("object: has ",nrow(object),"labels\n") cat("Head:\n") head(object,...) cat("\nTail:\n") tail(object,...) } If I feed it a data frame object, it only prints out the tail part. If I comment out the last two lines of the function, it does print the head part. Obviously there's a buffer not being flushed between the head and the tail calls, but I don'...
2017 Nov 07
5
Missing information in source()
Dear R-help, I am running a Mac under Sierra, with R version 3.4.2 and RStudio 1.1.383. When running head () or tail () on an object in a script using source (<script name>) nothing appears in the output file, but if I use these commands in the normal R window the normal output appears. What am I doing wrong? Tom Backer Johnsen University of Bergen Norway
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...lt;4BE04A11.3050802 at uri.edu> Content-Type: text/plain Hello, I have a function with these lines: test <- function(object,...){ cat("object: has ",nrow(object),"labels\n") cat("Head:\n") head(object,...) cat("\nTail:\n") tail(object,...) } If I feed it a data frame object, it only prints out the tail part. If I comment out the last two lines of the function, it does print the head part. Obviously there's a buffer not being flushed between the head and the tail calls, but I don'...