[R] R hangs on startup
Vineet Gupta
vineetgupta410 at gmail.com
Mon Apr 3 19:06:06 CEST 2017
John,
R does not work properly, outside of RStudio.
Vineet
-----Original Message-----
From: Fox, John [mailto:jfox at mcmaster.ca]
Sent: 03 April 2017 17:56
To: Vineet Gupta <vineetgupta410 at gmail.com>
Cc: r-help at r-project.org; 'David Winsemius' <dwinsemius at comcast.net>
Subject: RE: [R] R hangs on startup
Dear Vineet,
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Vineet
> Gupta
> Sent: April 3, 2017 5:41 AM
> To: 'David Winsemius' <dwinsemius at comcast.net>
> Cc: r-help at r-project.org
> Subject: Re: [R] R hangs on startup
>
> David,
>
> Thx for the quick reply. Firstly, apologies for using windows - I need
> to switch to Linux!
It's not obvious that your problem is OS-specific, nor is it necessarily the
case that your problem is a bad .RData or .Rhistory file, though it's worth
trying to delete them.
BTW, does R work properly outside of RStudio?
>
> 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.
Generally R will save the workspace on exit (if you ask it to) in the
working directory. Under RStudio this would normally be the directory of
your current project, or, if you're not using a project and haven't changed
your working directory, in your Documents folder.
You're looking for files named .RData (the workspace) and .Rhistory. The
former may be hidden in Windows Explorer if you don't display
known-to-Windows file extensions, but you'll still see the R icon. .Rhistory
isn't a registered extension and should appear in any event. Right click on
these files and delete them.
It's generally a good idea *not* to hide file extensions. In the Windows
Explorer "View" tab, check "File name extensions."
I hope this helps,
John
-----------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario
Canada L8S 4M4
Web: socserv.mcmaster.ca/jfox
>
> 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 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
>
> ______________________________________________
> 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.
More information about the R-help
mailing list