Displaying 1 result from an estimated 1 matches for "tp4646610p4646619".
Did you mean:
tp4646610p4646624
2012 Oct 18
4
converting a string to an integer vector
Hi All,
Thanks in advance for your help. I'm trying to convert a string to an
integer vector. For instance, I will start with
a <- "1,2"
The result I want to end up with will be the equivalent of
c(1,2)
What's the best way to make the conversion? I've tried using as.integer(a),
but R seems to balk at that.
Thanks,
Ben
--
View this message in context: