Hi, I just start to learn R, but I have problem to use "savehistory()" When I run, it pops out "Error in .External2(C_savehistory, file) : 'savehistory' is not currently implemented". I searched a little bit online, but I still cannot figure out how to fix that. thanks, Suy [[alternative HTML version deleted]]
Hi Suy, It is very important to specify what OS and version of R you're using. But I'm going to make a wild guess that you're using Mac, and that you didn't read the documentation for savehistory() carefully. "R.app, the console on macOS, has a separate and largely incompatible history mechanism, which by default uses a file .Rapp.history and saves up to 250 entries. These functions are not currently implemented there." https://www.rdocumentation.org/packages/utils/versions/3.5.1/topics/savehistory or ?savehistory If my wild guess is wrong, then you'll need, at a minimum, to provide the output of sessionInfo() for anyone to be able to help you. Sarah On Thu, Oct 4, 2018 at 1:11 PM Nancy S <suy.nacy at gmail.com> wrote:> Hi, > > I just start to learn R, but I have problem to use "savehistory()" > > When I run, it pops out "Error in .External2(C_savehistory, file) : > 'savehistory' is not currently implemented". I searched a little bit > online, but I still cannot figure out how to fix that. > > thanks, > Suy >-- Sarah Goslee http://www.functionaldiversity.org <http://www.functionaldiversity.org> [[alternative HTML version deleted]]
Hi Sarah, Thank you for pointing out this. I am using Mac. Suy On Thu, Oct 4, 2018 at 1:23 PM Sarah Goslee <sarah.goslee at gmail.com> wrote:> Hi Suy, > > It is very important to specify what OS and version of R you're using. > > But I'm going to make a wild guess that you're using Mac, and that you > didn't read the documentation for savehistory() carefully. > > "R.app, the console on macOS, has a separate and largely incompatible > history mechanism, which by default uses a file .Rapp.history and saves > up to 250 entries. These functions are not currently implemented there." > > > https://www.rdocumentation.org/packages/utils/versions/3.5.1/topics/savehistory > or > ?savehistory > > If my wild guess is wrong, then you'll need, at a minimum, to provide the > output of > sessionInfo() > for anyone to be able to help you. > > Sarah > > On Thu, Oct 4, 2018 at 1:11 PM Nancy S <suy.nacy at gmail.com> wrote: > >> Hi, >> >> I just start to learn R, but I have problem to use "savehistory()" >> >> When I run, it pops out "Error in .External2(C_savehistory, file) : >> 'savehistory' is not currently implemented". I searched a little bit >> online, but I still cannot figure out how to fix that. >> >> thanks, >> Suy >> > -- > Sarah Goslee > http://www.functionaldiversity.org <http://www.functionaldiversity.org> >[[alternative HTML version deleted]]