Hi, I have been struggling with this problem with for 2 weeks, but have yet to find a solution on Google. I am running R 3.3.3 on Windows 10. For the past 2 weeks, when I open R (and RStudio), the R screen freezes and is unusable. Nothing has changed, to trigger this event. I have tried re-installing the software, and downgrading to an older version of R. Nothing seems to work. If someone could help me, then I would very much appreciate it. At this point, I am at a loss. Rgds, Vineet [[alternative HTML version deleted]]
> On Apr 2, 2017, at 2:30 PM, Vineet Gupta <lakestay at hotmail.com> wrote: > > Hi, > > I have been struggling with this problem with for 2 weeks, but have yet to find a solution on Google. > > I am running R 3.3.3 on Windows 10. For the past 2 weeks, when I open R (and RStudio), the R screen freezes and is unusable. Nothing has changed, to trigger this event. I have tried re-installing the software, and downgrading to an older version of R. Nothing seems to work. > > If someone could help me, then I would very much appreciate it. At this point, I am at a loss. >Startup difficulties are often the result of a corrupted ,Rdata or .Rhistory file. These are generally hidden files, so you may need to learn how to delete such "dot-files" or whatever term is used to describe files that do no appear on your OS file browser. I don't know where the Windows version of RStudio keeps these files.> Rgds, > Vineet > > > [[alternative HTML version deleted]]Rhelp is a plain text mailing list.> > ______________________________________________ > 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.David Winsemius Alameda, CA, USA
David, Thx for the quick reply. Firstly, apologies for using windows - I need to switch to Linux! Do you have any suggestion of a suitable website, that may cover how to do this? I will look on Google, but I generally find that to be a time intensive, and low reward endeavour. Rgds, Vineet -----Original Message----- From: David Winsemius [mailto:dwinsemius at comcast.net] Sent: 03 April 2017 05:03 To: Vineet Gupta <lakestay at hotmail.com> Cc: r-help at r-project.org Subject: Re: [R] R hangs on startup> On Apr 2, 2017, at 2:30 PM, Vineet Gupta <lakestay at hotmail.com> wrote: > > Hi, > > I have been struggling with this problem with for 2 weeks, but have yet tofind a solution on Google.> > I am running R 3.3.3 on Windows 10. For the past 2 weeks, when I open R(and RStudio), the R screen freezes and is unusable. Nothing has changed, to trigger this event. I have tried re-installing the software, and downgrading to an older version of R. Nothing seems to work.> > If someone could help me, then I would very much appreciate it. At thispoint, I am at a loss.>Startup difficulties are often the result of a corrupted ,Rdata or .Rhistory file. These are generally hidden files, so you may need to learn how to delete such "dot-files" or whatever term is used to describe files that do no appear on your OS file browser. I don't know where the Windows version of RStudio keeps these files.> Rgds, > Vineet > > > [[alternative HTML version deleted]]Rhelp is a plain text mailing list.> > ______________________________________________ > 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.David Winsemius Alameda, CA, USA
Starting R with the --vanilla flag will cause it to ignore startup files. This is usually a quicker way to rule out such issues than tracking down where the startup files are stored. 'R --help' tells about other command line arguments that help home in on which file may be the problem. --no-environ Don't read the site and user environment files --no-site-file Don't read the site-wide Rprofile --no-init-file Don't read the user R profile --restore Do restore previously saved objects at startup --no-restore-data Don't restore previously saved objects --no-restore-history Don't restore the R history file --no-restore Don't restore anything --vanilla Combine --no-save, --no-restore, --no-site-file, --no-init-file and --no-environ I don't know of a good way to make R report exactly which file it is processing as it starts up. Should --verbose do that?
On Sun, 2 Apr 2017 21:30:54 +0000 Vineet Gupta <lakestay at hotmail.com> wrote:> Hi, > > I have been struggling with this problem with for 2 weeks, but have > yet to find a solution on Google. > > I am running R 3.3.3 on Windows 10. For the past 2 weeks, when I open > R (and RStudio), the R screen freezes and is unusable. Nothing has > changed, to trigger this event. I have tried re-installing the > software, and downgrading to an older version of R. Nothing seems to > work. > > If someone could help me, then I would very much appreciate it. At > this point, I am at a loss. > > Rgds, > VineetWhen you say you start R AND R-Studio but the R screen freezes, are you saying that R-Studio freezes, or is a separate instance of R freezing, or? From your post this is not precisely clear. JWDougherty