Re: [R] Backslash in paste() function

2010-06-16 Thread Nikhil Kaza
On Jun 16, 2010, at 9:23 AM, Stefan Petersson wrote: Just double all the backslashes and you are fine. In order to see the outcome, use cat() (not print). Uwe Ligges On 16.06.2010 09:49, Stefan Petersson wrote: Hi, I'm trying to build a vector of latex commands. However, I need the comm

Re: [R] Backslash in paste() function

2010-06-16 Thread Stefan Petersson
> > Just double all the backslashes and you are fine. > In order to see the outcome, use cat() (not print). > > Uwe Ligges > > On 16.06.2010 09:49, Stefan Petersson wrote: > > > > Hi, > > > > I'm trying to build a vector of latex commands. However, I need the command strings to begin with a > ba

Re: [R] Backslash in paste() function

2010-06-16 Thread Gabor Grothendieck
2010/6/16 Uwe Ligges : > Just double all the backslashes and you are fine. > In order to see the outcome, use cat() (not print). Is R ever going to get an alternate way to specify literal character strings? This has been a real annoyance for years. __

Re: [R] Backslash in paste() function

2010-06-16 Thread Uwe Ligges
Just double all the backslashes and you are fine. In order to see the outcome, use cat() (not print). Uwe Ligges On 16.06.2010 09:49, Stefan Petersson wrote: Hi, I'm trying to build a vector of latex commands. However, I need the command strings to begin with a backslash "\". I have: tes