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
>
> 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
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.
__
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
Hi,
I'm trying to build a vector of latex commands. However, I need the command
strings to begin with a backslash "\". I have:
test <- c('foo','bar')
and I need to rebuild the array, encapsulating the text items with latex stuff,
like this:
paste("\parbox[b]{3cm}{", test, "}", fill=TRUE)
Ac
5 matches
Mail list logo