[R] RSiteSearch for words ``as one entity''.

Dr Eberhard W Lisse el at lisse.na
Thu Sep 11 10:17:11 CEST 2008



open will call whatever program is defined for a certain extension.  
You can
set this with a plug in to System Preferences called Default Apps for  

So on my Mac(s) Firefox is the default.


> On 11 Sep 2008, at 08:33 , Prof Brian Ripley wrote:
>> If firefox is involved on a Mac, that is one difference.  My Mac is  
>> using 'open' (the default, I believe) and that is calling Safari  
>> (the default, I believe).
>> Yes, it would be the job of browseURL to encode URLs where  
>> required.  But at least on Windows and using the -remoteURL  
>> mechanism (as on Linux) it is not.  R itself does have URLencode.
>> On Thu, 11 Sep 2008, Rolf Turner wrote:
>>> On 11/09/2008, at 10:09 AM, Marc Schwartz wrote:
>>> 	<snip>
>>>> As Prof. Ripley noted, try using debug(RSiteSearch) and then step
>>>> through the code to see where $HOME is being added to the URL  
>>>> variable.
>>>> That can help pin it down further. If the URL is not corrupted by  
>>>> the
>>>> time browseURL() is called, then use debug(browseURL) to trace  
>>>> within
>>>> that function to see if something is happening there.

More information about the R-help mailing list