Some new syntax to handle this without escapes was on my wish list for
R and keeps coming up from time to time. As mentioned it would also be
useful for latex source, Windows path names, regular expressions and
other situations such as this one which require characters that
otherwise need to be esc
Thank you very much all of you.
(I forgot about directly ' ', instead I used " " and got errors.)
Best,
Robert
Dnia 6 stycznia 2010 12:22 robert-mcfad...@o2.pl napisaĆ(a):
> I would like to assign a variable y the string:
> How can I do it - is it possible?
>
> Best,
> Robert
>
>
> __
robert-mcfad...@o2.pl wrote:
> I would like to assign a variable y the string:
> How can I do it - is it possible?
Sure, but you need to escape the double quotes.
The easiest way is actually to read it in, like (sorry about the line
breakage...)
> x <- readLines(n=1)
> x
[1] ""
but you could
Hi Robert,
I use something like this with grass-R:
myvar<-paste("",sep="\"")
myvar
May be it works for you.
bests
milton
On Wed, Jan 6, 2010 at 6:22 AM, wrote:
> I would like to assign a variable y the string: style="color: #FF; font-weight: bold; font-size: 14pt">
> How can I do it - i
I would like to assign a variable y the string:
How can I do it - is it possible?
Best,
Robert
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.
5 matches
Mail list logo