toString() function in R Language is used to produce a single character string describing an R object.
Syntax: toString(x, width = NULL)
x: R object
width: Suggestion for the maximum field width. Values of NULL or 0 indicate no maximum. The minimum value accepted is 6 and smaller values are taken as 6
 "GFG, Geeks, GeeksforGeekss"
 "GF...."  "GFG, ...."  "GFG, G...."
- Check if Elements of a Vector are non-empty Strings in R Programming - nzchar() Function
- Convert an Object into a Vector in R Programming - as.vector() Function
- Converting a List to Vector in R Language - unlist() Function
- Convert an Object to a String in R Programming - toString() Function
- Generate a Vector of specified length with each element as a unique color on RGB scale in R Language - topo.colors() Function
- Generate a Vector of specified length with each element as a unique color on RB scale in RGB spectrum in R Language - cm.colors() Function
- Generate a Vector of specified length with each element as a unique color on RG scale in RGB spectrum in R Language - terrain.colors() Function
- Find Location and Character Vector of an Object with partial name in R Language - apropos() and find() Function
- Creating a Vector of sequenced elements in R Programming - seq() Function
- Count the Frequency of elements in a Numeric Vector - tabulate() Function
- Convert values of an Object to Logical Vector in R Programming - as.logical() Function
- Add Leading Zeros to the Elements of a Vector in R Programming - Using paste0() and sprintf() Function
- Calculate the difference between Consecutive pair of Elements of a Vector in R Programming - diff() Function
- Convert a Vector into Factor in R Programming - as.factor() Function
- Check for the Existence of a Vector Object in R Programming - is.vector() Function
- Get the Sign of Elements of a Numeric Vector in R Programming - sign() Function
- Calculate Median of elements of a Vector in R Programming - median() Function
- Replace the Elements of a Vector in R Programming - replace() Function
- Create a Vector of Colors from a Vector of Gray Levels in R Programming - gray() or grey() Function
- Check if the elements of a Vector are Finite, Infinite or NaN values in R Programming - is.finite(), is.infinite() and is.nan() Function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.