Re: [R] Command Line Prompt Symbol
On 11/10/2006 1:46 AM, [EMAIL PROTECTED] 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 __ R-help@stat.math.ethz.ch 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] Command Line Prompt Symbol
Hi I run R in Windows. Is there a simple way of changing the prompt symbol to, say, R ? (Not just for a temporary session, but every time R command window is opened.) The documentation of doing this is rather sparse. Much appreciated for your assistance. Jacob Jacob L van Wyk Department of Statistics University of Johannesburg, APK P O Box 524 Auckland Park 2006 South Africa Tel: +27 11 489 3080 Fax: +27 11 489 2832 [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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] Command Line Prompt Symbol
The simplest way to do this is to put options(prompt = R ) in your .Rprofile file. If you don't have an .Rprifile file, then persuading Windows to let you call a file by that name can be frustrating. I suggest you delegate the job to R itself and use something like this --- wd - getwd() setwd(Sys.getenv(R_USER)) ## change working directories cat('\noptions(prompt = R )\n', file = .Rprofile, append = TRUE) setwd(wd) --- Putting the .Rprofile in the R_USER directory ensures that it will be used prior to all invocations of R you make. Bill Venables, CMIS, CSIRO Laboratories, PO Box 120, Cleveland, Qld. 4163 AUSTRALIA Office Phone (email preferred): +61 7 3826 7251 Fax (if absolutely necessary):+61 7 3826 7304 Mobile (rarely used):+61 4 1963 4642 Home Phone: +61 7 3286 7700 mailto:[EMAIL PROTECTED] http://www.cmis.csiro.au/bill.venables/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacob van Wyk Sent: Friday, 10 November 2006 3:33 PM To: r-help@stat.math.ethz.ch Subject: [R] Command Line Prompt Symbol Hi I run R in Windows. Is there a simple way of changing the prompt symbol to, say, R ? (Not just for a temporary session, but every time R command window is opened.) The documentation of doing this is rather sparse. Much appreciated for your assistance. Jacob Jacob L van Wyk Department of Statistics University of Johannesburg, APK P O Box 524 Auckland Park 2006 South Africa Tel: +27 11 489 3080 Fax: +27 11 489 2832 [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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@stat.math.ethz.ch 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] Command Line Prompt Symbol
Add this line in your R.profile file options(prompt=R) Justin BEM Elève Ingénieur Statisticien Economiste BP 294 Yaoundé. Tél (00237)9597295. - Message d'origine De : justin bem [EMAIL PROTECTED] À : r-help@stat.math.ethz.ch Cc : Jacob van Wyk [EMAIL PROTECTED] Envoyé le : Vendredi, 10 Novembre 2006, 7h39mn 53s Objet : [R] Re : Command Line Prompt Symbol ?prompt Justin BEM Elève Ingénieur Statisticien Economiste BP 294 Yaoundé. Tél (00237)9597295. - Message d'origine De : Jacob van Wyk [EMAIL PROTECTED] À : r-help@stat.math.ethz.ch Envoyé le : Vendredi, 10 Novembre 2006, 6h32mn 57s Objet : [R] Command Line Prompt Symbol Hi I run R in Windows. Is there a simple way of changing the prompt symbol to, say, R ? (Not just for a temporary session, but every time R command window is opened.) The documentation of doing this is rather sparse. Much appreciated for your assistance. Jacob Jacob L van Wyk Department of Statistics University of Johannesburg, APK P O Box 524 Auckland Park 2006 South Africa Tel: +27 11 489 3080 Fax: +27 11 489 2832 [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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. ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internaut [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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. ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internaut [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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.