[R] Command Line Prompt Symbol

Duncan Murdoch murdoch at stats.uwo.ca
Fri Nov 10 11:33:12 CET 2006


On 11/10/2006 1:46 AM, Bill.Venables at csiro.au wrote:
> The simplest way to do this is to put
> 
> options(prompt = "R> ")
> 
> in your .Rprofile file.  If you don't have an .Rprofile file, 
> then persuading Windows to let you call a file by that name can 
> be frustrating.  

The easiest way is probably to use the Save as... menu item in your 
favourite editor, and put the name in quotes, e.g. ".Rprofile".  This 
even works in Notepad, which is nobody's favourite editor.

Duncan Murdoch



More information about the R-help mailing list