Try using an empty collapse argument within the paste function:
paste(sdata, collapse="")
More Related Contents:
- Split comma-separated strings in a column into separate rows
- Split data frame string column into multiple columns
- How to remove all whitespace from a string?
- Test if characters are in a string
- Grouping functions (tapply, by, aggregate) and the *apply family
- Reshaping multiple sets of measurement columns (wide format) into single columns (long format)
- Select the row with the maximum value in each group
- How to create a consecutive group number
- Error in if/while (condition) {: missing Value where TRUE/FALSE needed
- Using ggplot2, can I insert a break in the axis?
- Convert date-time string to class Date
- Why can’t R’s ifelse statements return vectors?
- Extracting specific columns from a data frame
- Pasting two vectors with combinations of all vectors’ elements
- Rename multiple columns by names
- Error in : target of assignment expands to non-language object
- Convert integer to class Date
- How to unload a package without restarting R
- as.Date returning NA while converting from ‘ddmmmyyyy’
- Remove part of a string
- Replace multiple strings in one gsub() or chartr() statement in R?
- How to search for “R” materials? [closed]
- Set default CRAN mirror permanent in R
- Read SAS sas7bdat data into R
- What is the difference between = and == in R?
- Should I use a data.frame or a matrix?
- Variable name restrictions in R
- R split string by symbol
- Different legend-keys inside same legend in ggplot2
- Plot two graphs in a same plot