Re: [R] .Rprofile file and .First function

From: Robert Citek <rwcitek_at_alum.calberkeley.org>
Date: Sat 13 May 2006 - 22:38:03 EST

On May 12, 2006, at 4:06 PM, MARK LEEDS wrote:
> would someone mind to send me an example of a .Rprofile file and
> a .First function just so I can get an idea. Thanks a lot.

I don't have a .First function, but here's my .Rprofile:

# options for the interactive environment options(prompt="\nR > ") ;
options(width=1000) ;
quit <- "To quit, type q()" ;
exit <- "To exit, type q()" ;
q <- "Almost there. To quit, type q()" ;

# familiar aliases / functions
h <- function() {

   history(max.show = Inf)
} ;

printf <- function (...) {

   cat(sprintf(...)) ;
} ;

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software. Distribute FLOSS for Windows, Linux, *BSD, and MacOS X with BitTorrent



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 Received on Sat May 13 22:45:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 14 May 2006 - 02:10:05 EST.

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