OK. It seems that it depends on where R is launched.

In my case, I found .Rhistory file in ~/Documents.


Regards,
Mahmood

________________________________
From: R-help <r-help-boun...@r-project.org> on behalf of Dr Eberhard W Lisse 
<e...@lisse.na>
Sent: Sunday, February 28, 2021 4:06:26 PM
To: r-help@r-project.org
Subject: Re: [R] Command history

On the Mac it is ~/.Rhistory

el

On 2021-02-28 15:39 , Mahmood Naderan-Tahan wrote:
> Hi
>
> May I know where is the location of commands we used in R in the history?
>
>
> Regards,
> Mahmood--
Dr. Eberhard W. Lisse   \         /       Obstetrician & Gynaecologist
e...@lisse.na             / *      |  Telephone: +264 81 124 6733 (cell)
PO Box 8421 Bachbrecht  \      /  If this email is signed with GPG/PGP
10007, Namibia           ;____/ Sect 20 of Act No. 4 of 2019 may apply

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to