Re: [R] Quote as element of a vector/list

2013-04-30 Thread Peter Alspach
Tena koe Jie Try x <- ' 12"ab"34 ' plot(1:10, xlab=x) HTH ... Peter Alspach -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jie Sent: Wednesday, 1 May 2013 6:46 a.m. To: r-help@r-project.org Subject: [R

Re: [R] Quote as element of a vector/list

2013-04-30 Thread arun
 y = c("1", "2", '"', "a", "b", '"', "3", "4")  y #[1] "1"  "2"  "\"" "a"  "b"  "\"" "3"  "4" A.K. -

[R] Quote as element of a vector/list

2013-04-30 Thread Jie
Dear All, I would like to store quote as part of an vector. For instance, I would like to get an character object as x = " 12"ab"34 " or y = c("1", "2", """, "a", "b", """, "3", "4") Is that possible? Thank you. Best wishes, Jie [[alternative HTML version deleted]]