Re: [R] printing a data.frame without row numbers

2023-03-27 Thread Jeff Newmiller
Read ?print.data.frame. There is an argument for that. On March 27, 2023 10:05:10 AM PDT, Dennis Fisher wrote: >R 4.2.3 >OS X > >Colleagues, > >I am printing a large number of tables using the print command. A simple >example is: > print(data.frame(COL1=1:5, COL2=10:6)) > >The result in

Re: [R] printing a data.frame without row numbers

2023-03-27 Thread avi.e.gross
Try: print(data.frame(COL1=1:5, COL2=10:6), row.names=FALSE) -Original Message- From: R-help On Behalf Of Dennis Fisher Sent: Monday, March 27, 2023 1:05 PM To: r-help@r-project.org Subject: [R] printing a data.frame without row numbers R 4.2.3 OS X Colleagues, I am printing

Re: [R] printing a data.frame without row numbers

2023-03-27 Thread Duncan Murdoch
print(data.frame(COL1=1:5, COL2=10:6), row.names=FALSE) On 27/03/2023 1:05 p.m., Dennis Fisher wrote: R 4.2.3 OS X Colleagues, I am printing a large number of tables using the print command. A simple example is: print(data.frame(COL1=1:5, COL2=10:6)) The result in this case is:

[R] printing a data.frame without row numbers

2023-03-27 Thread Dennis Fisher
R 4.2.3 OS X Colleagues, I am printing a large number of tables using the print command. A simple example is: print(data.frame(COL1=1:5, COL2=10:6)) The result in this case is: COL1 COL2 11 10 229 338 447 556 I would like to print the table