I have looked at the answers to Print list without line numbers in R and Prevent print() from outputting list indices in R, but neither seems to prevent R from printing a character string with indices are the left.
Input:
foo = "10 & 1.832171"
print(foo, row.names=F, quote=F)
Output:
[1] 10 & 1.832171
Desired Output:
10 & 1.832171
Is this possible at all?
> foo = "10 & 1.832171"
> cat(foo)
10 & 1.832171
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With