I should have also had you read FAQ 7.16
On Tue, May 4, 2010 at 12:43 PM, jim holtman wrote:
> explicitly print your data:
>
> print(head(object,...))
> On Tue, May 4, 2010 at 12:23 PM, Marshall Feldman wrote:
>
>> Hello,
>>
>> I have a function with these lines:
>>
>>test <- function(objec
explicitly print your data:
print(head(object,...))
On Tue, May 4, 2010 at 12:23 PM, Marshall Feldman wrote:
> Hello,
>
> I have a function with these lines:
>
>test <- function(object,...){
> cat("object: has ",nrow(object),"labels\n")
> cat("Head:\n")
> head(obje
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 ou
3 matches
Mail list logo