Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to print text without initial line number in R?

I want to print a character in r, whiteout line number ! How do I do that :

print("character ",quote = FALSE , row.names = F)
[1] character 

The row.names = F does not do anything ! I would like to have :

print("character ",quote = FALSE, something to remove the line index)
     character 
like image 881
user9112767 Avatar asked Oct 28 '25 00:10

user9112767


1 Answers

Simply use cat:

 cat("character")

Output:

 character
like image 182
Saurabh Chauhan Avatar answered Oct 30 '25 17:10

Saurabh Chauhan