.Rprofile in 1.3.1 (os 10.1)
Thank you David for this note. Stefano
On Domenica, novembre 11, 2001, at 02:12 , David A Richmond wrote:
to anyone interested in creating an .Rprofile file in os X: After having some problems getting the .Rprofile file to work in under 10.1 I have discovered the following: 1) OS 10.1 doesn't let you name files that begin with a period '.' in the Finder, or save them in programs such as BBedit. The only way to create a file that begins with a period is to use the command line. (i.e. use Terminal, and use the mv command: "mv filename .filename") 2) R 1.3.1 carbon for mac OS 10/9 requires that the line breaks be Macintosh line breaks and not Unix line breaks. Thus, a file such as ..Rprofile created and saved using pico will not work, as the line breaks are unix and not mac. Thus, in order to create a working .Rprofile command I had to first create a file with mac line breaks in BBedit, and save it as "Rprofile", and then use the Terminal to change the name: "mv Rprofile .Rprofile" hope this helps someone avoid some frustration, daver