[R] tilde on a spanish keyboard?

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Aug 12 13:36:43 CEST 2008


On Windows you can get any character by Alt+0126 for the decimal code 
(which for tilde I think is 126, but I am not on Windows to check it).

On Tue, 12 Aug 2008, Henrique Dallazuanna wrote:

> The try this:
>
> form <- as.formula('x\u007ey')

\x73 would be a more compact form.

> lm(form)
>
> On 8/12/08, Martin Henry H. Stevens <HStevens at muohio.edu> wrote:
>> Thanks Henrique. We need to use the tilde in formula statements as in,
>> lm(y ~ x)
>>
>> Any ideas?
>>
>> On Aug 12, 2008, at 7:02 AM, Henrique Dallazuanna wrote:
>>> You want the tilde on R?
>>>
>>> If yes, you want do this:
>>>
>>> plot(1, xlab = "\u0303")
>>> plot(1, xlab = "\u00c3")
>>> plot(1, xlab = "\u00D1")
>>>
>>>
>>>
>>>
>>> On 8/12/08, Martin Henry H. Stevens <HStevens at muohio.edu> wrote:
>>>
>>>> I was trying to help someone who used a spanish keyboard on a PC running
>>>> Windows. he discovered that he had no tilde key. Does anyone know of any
>>>> simple work-arounds?
>>>> Thanks,
>>>> Hank
>>>>
>>>> Dr. Hank Stevens, Associate Professor
>>>> 338 Pearson Hall
>>>> Botany Department
>>>> Miami University
>>>> Oxford, OH 45056
>>>>
>>>> Office: (513) 529-4206
>>>> Lab: (513) 529-4262
>>>> FAX: (513) 529-4243
>>>> http://www.cas.muohio.edu/~stevenmh/
>>>> http://www.users.muohio.edu/harkesae/
>>>> http://www.cas.muohio.edu/ecology
>>>> http://www.muohio.edu/botany/
>>>> "E Pluribus Unum"
>>>>
>>>> "I love deadlines. I love the whooshing noise they make as they go by."
>>>>                                           (Douglas Adams)
>>>>
>>>>
>>>> If you send an attachment, please try to send it in a format anyone can
>>>> read, such as PDF, text, Open Document Format, HTML, or RTF.
>>>> Why? See:
>>>> http://www.gnu.org/philosophy/no-word-attachments.html
>>>>
>>>> ______________________________________________
>>>> R-help at 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.html
>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>
>>>>
>>>
>>>
>>> --
>>> Henrique Dallazuanna
>>> Curitiba-Paraná-Brasil
>>> 25° 25' 40" S 49° 16' 22" O
>>>
>>
>> Dr. Hank Stevens, Associate Professor
>> 338 Pearson Hall
>> Botany Department
>> Miami University
>> Oxford, OH 45056
>>
>> Office: (513) 529-4206
>> Lab: (513) 529-4262
>> FAX: (513) 529-4243
>> http://www.cas.muohio.edu/~stevenmh/
>> http://www.users.muohio.edu/harkesae/
>> http://www.cas.muohio.edu/ecology
>> http://www.muohio.edu/botany/
>> "E Pluribus Unum"
>>
>> "I love deadlines. I love the whooshing noise they make as they go by."
>>                                            (Douglas Adams)
>>
>>
>> If you send an attachment, please try to send it in a format anyone can
>> read, such as PDF, text, Open Document Format, HTML, or RTF.
>> Why? See:
>> http://www.gnu.org/philosophy/no-word-attachments.html
>>
>>
>>
>>
>>
>>
>
>
> -- 
> Henrique Dallazuanna
> Curitiba-Paraná-Brasil
> 25° 25' 40" S 49° 16' 22" O
>
> ______________________________________________
> R-help at 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.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list