[Bioc-devel] How can I remove limit of row numbers that can be printed on console?

Hervé Pagès hpages at fredhutch.org
Fri Sep 8 21:20:10 CEST 2017


Hi Arman,

You're not saying what kind of object you're trying to print
but if it's a matrix or a data.frame then

   print(x, max=nrow(x))

I'm not sure your users are going to find useful that your
function displays more than 99999 lines on their screen though...

Note that this more a general R programming question than a
Bioconductor question so the R-help mailing list would be a better
place to ask.

Cheers,
H.

On 09/08/2017 11:11 AM, Arman Shahrisa wrote:
>
> Hi everyone,
>
> How can I prevent the R from truncating the printed result on console? I have to
> print the output on console and I can�t use options(max.print = 10000) in my
> function. What else I can do?
>
> Sincerely
> Arman
>
>
> 	[[alternative HTML version deleted]]
>
>
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=w88PaHysSQzv2G0LUNhUYW4mqm4djlLrJm98kNP_CU8&s=4-dc114la3DQ_bTzLktj6fsnuEMWEgsKB7sOFut_c7M&e=
>

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fredhutch.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the Bioc-devel mailing list