Hi May I know where is the location of commands we used in R in the history? Regards, Mahmood [[alternative HTML version deleted]]
I think it may depend on your operating system. In my case, Ubuntu 20.10, it is a hidden file at /home level. On Sun, 28 Feb 2021 at 08:40, Mahmood Naderan-Tahan < mahmood.naderan at ugent.be> wrote:> Hi > > May I know where is the location of commands we used in R in the history? > > > Regards, > Mahmood > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >-- John Kane Kingston ON Canada [[alternative HTML version deleted]]
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
On the Mac there can be 2 files. The R Studio uses .Rhistory, but Rapp uses .Rapp.history. David L Carlson On Sun, Feb 28, 2021 at 9:06 AM Dr Eberhard W Lisse <el at lisse.na> wrote:> 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://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!KwNVnqRv!SUf5kuq252PAyFzTK-iHj_UuxwZnkuU_IN9jLFqA2A4KEY2Tg5h4iIQNLWMbd-s$ > PLEASE do read the posting guide > https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!KwNVnqRv!SUf5kuq252PAyFzTK-iHj_UuxwZnkuU_IN9jLFqA2A4KEY2Tg5h4iIQNnW6K_7Y$ > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]