Re: [R] tilde on a spanish keyboard?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 12 Aug 2008 13:08:22 +0100 (BST)

On Tue, 12 Aug 2008, Prof Brian Ripley wrote:

> 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.

Oops, \x7e (hex for 126).

>
>> 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

-- 
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


______________________________________________ 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.

Received on Tue 12 Aug 2008 - 12:11:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Aug 2008 - 12:33:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive