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-bounces at r-project.org> on behalf of Dr Eberhard W
Lisse <el at lisse.NA>
Sent: Sunday, February 28, 2021 4:06:26 PM
To: r-help at 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
el at 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 at 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]]