Importing dataset in rtsudio

Why the columns appear like that ??
They are not corretly align with the table

They are aligned in spreadsheet format as far as I can see. Numbers align right, characters align left.

Actually, this is meaningless in an R data.frame or tibble. If you need the data formatted for publication you do it using a package such as xtable or kable.

If you are concerned about the header alignment with the columns, I wouldn't worry too much about it. I normally see this when I am viewing a tabular dataset with long columns names or lots of columns. I suspect it has to do with how much memory the add-in is allowed to use.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.