datapasta icon indicating copy to clipboard operation
datapasta copied to clipboard

vector_paste function problem with the character (number)

Open Sophia409 opened this issue 2 years ago • 0 comments

Hi,

thank you for making this package, it's really convenient!

As you can see, I'm trying to paste a character to this formatc("5","14","2","12","10","0","8","4","1","3","9","7","11","15","6","13"), but vector_paste seems identify it as a numeric vector and automatically add L to this charactor. How could I solve it? My system is windows.

@

mydata <- levels(BHLH.IPC.VlnPlot.split$data$ident)
class(mydata)
[1] "character"
vector_paste(mydata)
c(5L, 14L, 2L, 12L, 10L, 0L, 8L, 4L, 1L, 3L, 9L, 7L, 11L, 15L, 6L, 13L)

Sophia409 avatar May 12 '22 07:05 Sophia409