Ummm ... substr(x, 1, n) ?
:-)
> On 2019-05-06, at 18:03, Laurent Gatto wrote:
>
> paste0(paste(strsplit(x, "")[[1]][1:n], collapse = "")
___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel
Ok, so it appears I have posted a bug of my own and a fix in the same email.
Trying to be positive and turning this into an opportunity, I will change it
into a feature request.
The current showAsCell,ANY implementation results in the following annoyance:
> x <- DataFrame(x = c('A