Re: [R] Using help in Windows version of R with disabled browser [SOLVED]

2011-04-28 Thread cpoirier
Dear Ranjan,

I'm afraid the command options(help_type = 'text') will not work if R is
closed and opened again as the 'help_type' argument is set to 'html' by
default in Windows (same for me).

You should better modify the 'C:/Program Files/R/R-X.XX.X/etc/Rprofile.site'
file with a text editor, as it is entitled: Things you might want to
change (and this is the case indeed!)

So move the # character in the following section from:
# set the default help type
# options(help_type=text)
 options(help_type=html)

to:

# set the default help type
 options(help_type=text)
# options(help_type=html)

and the 'help_type' argument is now definitely set to 'text' in Windows.

Hope this helps!
Clement

--
View this message in context: 
http://r.789695.n4.nabble.com/Using-help-in-Windows-version-of-R-with-disabled-browser-tp3445284p3481275.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


Re: [R] Using help in Windows version of R with disabled browser [SOLVED]

2011-04-28 Thread Duncan Murdoch

On 28/04/2011 11:00 AM, cpoirier wrote:

Dear Ranjan,

I'm afraid the command options(help_type = 'text') will not work if R is
closed and opened again as the 'help_type' argument is set to 'html' by
default in Windows (same for me).


That's a default, but you can change it when you install R if you don't 
want to find the file to edit.  A re-install that de-selects most of the 
components won't delete them, so it's a quick way to change the startup 
defaults.


Duncan Murdoch


You should better modify the 'C:/Program Files/R/R-X.XX.X/etc/Rprofile.site'
file with a text editor, as it is entitled: Things you might want to
change (and this is the case indeed!)

So move the # character in the following section from:
# set the default help type
# options(help_type=text)
  options(help_type=html)

to:

# set the default help type
  options(help_type=text)
# options(help_type=html)

and the 'help_type' argument is now definitely set to 'text' in Windows.

Hope this helps!
Clement

--
View this message in context: 
http://r.789695.n4.nabble.com/Using-help-in-Windows-version-of-R-with-disabled-browser-tp3445284p3481275.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


__
R-help@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.


Re: [R] Using help in Windows version of R with disabled browser [SOLVED]

2011-04-14 Thread Ranjan Maitra
Hi,

Just wanted to mention that this worked perfectly.

Many thanks again and best wishes,
Ranjan

On Tue, 12 Apr 2011 13:04:14 -0500 Jonathan P Daily jda...@usgs.gov
wrote:

 try:
 
 options(help_type = 'text')
 ?options
 
 If this works, you can create a site profile (A default is created 
 automatically in windows, if I remember correctly) where you can set this 
 to run in each session.
 --
 Jonathan P. Daily
 Technician - USGS Leetown Science Center
 11649 Leetown Road
 Kearneysville WV, 25430
 (304) 724-4480
 Is the room still a room when its empty? Does the room,
  the thing itself have purpose? Or do we, what's the word... imbue it.
  - Jubal Early, Firefly
 
 
 
 From:
 Ranjan Maitra mai...@iastate.edu
 To:
 R-help r-h...@stat.math.ethz.ch
 Date:
 04/12/2011 01:56 PM
 Subject:
 [R] Using help in Windows version of R with disabled browser
 Sent by:
 r-help-boun...@r-project.org
 
 
 
 Dear colleagues,
 
 I am trying to get someone to use R on MS Windows with the browser
 disabled. My question is how does he/she get to use R-help which goes
 off the browser (and correspondingly complains about the inability to
 start firefox, etc). In linux, which is what I use, this is not a
 problem: what needs to be set in Windows to replicate this behavior?
 
 Sorry if I am not clear: please feel free to ask me for clarifications. 
 
 Thanks again for the helpful advice!
 
 Best wishes,
 Ranjan
 
 __
 R-help@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.
 
 


__
R-help@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.


[R] Using help in Windows version of R with disabled browser

2011-04-12 Thread Ranjan Maitra
Dear colleagues,

I am trying to get someone to use R on MS Windows with the browser
disabled. My question is how does he/she get to use R-help which goes
off the browser (and correspondingly complains about the inability to
start firefox, etc). In linux, which is what I use, this is not a
problem: what needs to be set in Windows to replicate this behavior?

Sorry if I am not clear: please feel free to ask me for clarifications. 

Thanks again for the helpful advice!

Best wishes,
Ranjan

__
R-help@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.


Re: [R] Using help in Windows version of R with disabled browser

2011-04-12 Thread Jonathan P Daily
try:

options(help_type = 'text')
?options

If this works, you can create a site profile (A default is created 
automatically in windows, if I remember correctly) where you can set this 
to run in each session.
--
Jonathan P. Daily
Technician - USGS Leetown Science Center
11649 Leetown Road
Kearneysville WV, 25430
(304) 724-4480
Is the room still a room when its empty? Does the room,
 the thing itself have purpose? Or do we, what's the word... imbue it.
 - Jubal Early, Firefly



From:
Ranjan Maitra mai...@iastate.edu
To:
R-help r-h...@stat.math.ethz.ch
Date:
04/12/2011 01:56 PM
Subject:
[R] Using help in Windows version of R with disabled browser
Sent by:
r-help-boun...@r-project.org



Dear colleagues,

I am trying to get someone to use R on MS Windows with the browser
disabled. My question is how does he/she get to use R-help which goes
off the browser (and correspondingly complains about the inability to
start firefox, etc). In linux, which is what I use, this is not a
problem: what needs to be set in Windows to replicate this behavior?

Sorry if I am not clear: please feel free to ask me for clarifications. 

Thanks again for the helpful advice!

Best wishes,
Ranjan

__
R-help@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.

__
R-help@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.


Re: [R] Using help()

2009-01-25 Thread Patrick Burns

Michael Kubovy wrote:

Dear R-helpers,

[...]

(2) If I remember dnorm() and want to be reminded of the call, I also  
get a list of pages.
  


It sounds to me like here you want:

args(dnorm)

Patrick Burns
patr...@burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of The R Inferno and A Guide for the Unwilling S User)

Advice?

It seems to me that if the output of help() listed base functions  
first, it would go a long way toward improving the usefulness of this  
function.

_
Professor Michael Kubovy
University of Virginia
Department of Psychology
Postal Address:
P.O.Box 400400, Charlottesville, VA 22904-4400
Express Parcels Address:
Gilmer Hall, Room 102, McCormick Road, Charlottesville, VA 22903
Office:B011;Phone: +1-434-982-4729
Lab:B019;   Phone: +1-434-982-4751
WWW:http://www.people.virginia.edu/~mk9y/
Skype name: polyurinsane





[[alternative HTML version deleted]]

__
R-help@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.





__
R-help@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.


Re: [R] Using help()

2009-01-25 Thread Thomas Lumley

On Sun, 25 Jan 2009, Patrick Burns wrote:


Michael Kubovy wrote:

Dear R-helpers,

[...]

(2) If I remember dnorm() and want to be reminded of the call, I also  get a 
list of pages.
  


It sounds to me like here you want:

args(dnorm)



or, for functions hidden in a namespace, argsAnywhere().

   -thomas

Thomas Lumley   Assoc. Professor, Biostatistics
tlum...@u.washington.eduUniversity of Washington, Seattle

__
R-help@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.


[R] Using help()

2009-01-24 Thread Michael Kubovy
Dear R-helpers,

I wonder if you can give me advice about the best way to use help().

(1) If I type ?normal because I forgot the name dnorm() I get a long  
list of relevant pages. Getting to right page is laborious.

(2) If I remember dnorm() and want to be reminded of the call, I also  
get a list of pages.

Advice?

It seems to me that if the output of help() listed base functions  
first, it would go a long way toward improving the usefulness of this  
function.
_
Professor Michael Kubovy
University of Virginia
Department of Psychology
Postal Address:
P.O.Box 400400, Charlottesville, VA 22904-4400
Express Parcels Address:
Gilmer Hall, Room 102, McCormick Road, Charlottesville, VA 22903
Office:B011;Phone: +1-434-982-4729
Lab:B019;   Phone: +1-434-982-4751
WWW:http://www.people.virginia.edu/~mk9y/
Skype name: polyurinsane





[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] Using help()

2009-01-24 Thread Rolf Turner


On 25/01/2009, at 2:33 PM, Michael Kubovy wrote:


Dear R-helpers,

I wonder if you can give me advice about the best way to use help().

(1) If I type ?normal because I forgot the name dnorm() I get a long
list of relevant pages. Getting to right page is laborious.

(2) If I remember dnorm() and want to be reminded of the call, I also
get a list of pages.

Advice?

It seems to me that if the output of help() listed base functions
first, it would go a long way toward improving the usefulness of this
function.


I get the impression that you are confusing ``??'' and ``?''.

If you type ``?normal'' you get a ``No documentation found'' message.

If you type ``??normal'' you indeed get a long list of pages, some of
which might be relevant.  (If you want help on ``dnorm'' then the  
relevant

page is stats::Normal.  And then typing ``?Normal'' gets you what you
want.  Which is somewhat on the obscure side of obvious, IMHO.)

If you type ``?dnorm'' then you get exactly what you want immediately.
Exactly?  Well, there's also info on pnorm, qnorm, and rnorm, but I
expect you can live with that.

Note that listing base functions first won't help you at all in this
instance, since dnorm is in ***stats***, not in ***base***.

There is no easy answer to ``How do I find the right function when I
can't remember its name?''.  The ``??'' construct, RSiteSearch(),
some Wiki-s that lurk about the traps, the task views on CRAN, and a
few other things all help, but none of them solves the problem  
completely.

When all else fails, post to this list and resign yourself to the fact
you'll probably get a flame along with the answer to your question!

cheers,

Rolf Turner

##
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

__
R-help@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.


Re: [R] Using help() [or more likely help.search)_]

2009-01-24 Thread Prof Brian Ripley
??'normal distribution' seems to do rather well.  If you know that you 
want results from 'stats' you can confine the search to that package.


'normal' is such an overloaded word that searching for it is going to 
be overwhelming.  At least 'Normal' is AFAIR only used in one sense in 
statistics.


``onr could argue that listing the standard and recommended packades 
at the top of the help.search results -- patches to do so would be 
considered.  (Some of us keep other packages in separate libraries, in 
which case searching in R --vanilla does this automaticaly.)


A quck look at a good book on S/R would solve such basic issues as 
quickly as anything.


On Sun, 25 Jan 2009, Rolf Turner wrote:



On 25/01/2009, at 2:33 PM, Michael Kubovy wrote:


Dear R-helpers,

I wonder if you can give me advice about the best way to use help().

(1) If I type ?normal because I forgot the name dnorm() I get a long
list of relevant pages. Getting to right page is laborious.

(2) If I remember dnorm() and want to be reminded of the call, I also
get a list of pages.

Advice?

It seems to me that if the output of help() listed base functions
first, it would go a long way toward improving the usefulness of this
function.


I get the impression that you are confusing ``??'' and ``?''.

If you type ``?normal'' you get a ``No documentation found'' message.

If you type ``??normal'' you indeed get a long list of pages, some of
which might be relevant.  (If you want help on ``dnorm'' then the relevant
page is stats::Normal.  And then typing ``?Normal'' gets you what you
want.  Which is somewhat on the obscure side of obvious, IMHO.)

If you type ``?dnorm'' then you get exactly what you want immediately.
Exactly?  Well, there's also info on pnorm, qnorm, and rnorm, but I
expect you can live with that.

Note that listing base functions first won't help you at all in this
instance, since dnorm is in ***stats***, not in ***base***.

There is no easy answer to ``How do I find the right function when I
can't remember its name?''.  The ``??'' construct, RSiteSearch(),
some Wiki-s that lurk about the traps, the task views on CRAN, and a
few other things all help, but none of them solves the problem completely.
When all else fails, post to this list and resign yourself to the fact
you'll probably get a flame along with the answer to your question!

cheers,

Rolf Turner

##
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

__
R-help@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,  rip...@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, UKFax:  +44 1865 272595

__
R-help@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.