Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8680053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:08:45+00:00 2026-06-12T21:08:45+00:00

I have a data frame with 72 columns and 409 rows which is called:

  • 0

I have a data frame with 72 columns and 409 rows which is called: spect

The problem: print(spect) does not display the whole data frame. When i scroll to the top of the console i see the following:

96       NA       NA       2      NA      NA       NA            
97       NA       NA       2      NA      NA       NA               
98       NA       NA       1       0      NA       NA 

The problem with the output displayed above is that i dont see the variables, and the rows start at nr. 96.

However when I ask R to display a subset, say print(spect[,1:3]) i get the expected result:

print(spect[,1:3])
    idnr gender      age
1      1 kvinde 22.07671
2      2 kvinde 32.46575
3      3 kvinde 19.72055
4      4   mand 19.95617

Also, when i write fix(spect) the editor opens with expected correct result.
Also, when i do calculations on the data it seems to work properly.
I dont have this problem with smaller dataframes with approximately 30 variables.
I dont get an error message.

max.print is

getOption(“max.print”)
[1] 99999

But the console has no-where near that maximum, in fact it shows only about 2000 rows. I get the same error after restarting my computer and R, and removing all objects and press “control + l” to clear the console.

So is this just a bug in R or am i missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:08:46+00:00Added an answer on June 12, 2026 at 9:08 pm

    I assume that you are sitting in a Unix (Linux, MacOS) terminal. The terminal has a limit of how many lines you can scroll back, and you need to change this limit to be able to see everything. Below is a screenshot from options of the gnome-terminal showing a checkbox for unlimited scroll-back history:

    enter image description here

    The max.print option only influences the number of items printed. It hits you only when you see the following (or similar) message at the end (bottom) of your output:

     [ reached getOption("max.print") -- omitted 998000 entries ]
    

    That said, in most of the cases it is unnecessary and unpractical to view large data frames by scrolling the terminal. Usually, one is interested in some particular rows, and one tries to select these rows. Or one inspects it chunk by chunk:

    spect[ 1:50, ]
    spect[ 51:100, ]
    

    etc. Or, one attempts to achieve a satisfying graphical representation of the data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data.frame , called so_data. Columns 13:23 are list s, which hold
I have a data frame with multiple columns, one of which (called: drift.N) is
I have a data frame with 50000 rows and 200 columns. There are duplicate
I have a data frame that is some 35,000 rows, by 7 columns. it
Let's assume that we have a data frame x which contains the columns job
Suppose that you have a data frame with many rows and many columns. The
I have a data frame with 22239 rows & 200 columns. The first column
I have a data frame with two columns (data will not always be identical).
I have a data frame the first columns of which are a sample ID
I have a data frame which has two columns of dates in the format

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.