settings - Refresh R console without quit? -
i open r console day long sometime need clean history , workspaces background testing functions or new loads. i'm wondering whether there easier way use command line in .rprofile can refresh r console without quitting or reboot. aim q()
without save , start r , clean history. think here may give me suggestions. in advance.
for concerns history, in unix-like systems (mine debian) command refreshes it
loadhistory("")
however, said in comments, loadhistory
seems platform-dependent.
check ?loadhistory
if present on platform. mine says:
there several history mechanisms available different r consoles, work in similar not identical ways. there separate versions of file unix , windows. functions described here work on unix-alikes under readline command-line interface may not otherwise (for example, in batch use or in embedded application)
Comments
Post a Comment