added Rprofile, update for octave