[R] C: drive memory full

(Ted Harding) Ted.Harding at wlandres.net
Tue Jun 17 15:14:44 CEST 2014


Don't forget the possibility of "hidden files", which will not be
shown using normal file-listing procedures. It may be that R has
stored those files as hidden files.

See, for example:

http://windows.microsoft.com/en-gb/windows/show-hidden-files

http://www.sevenforums.com/tutorials/394-hidden-files-folders-show-hide.html

[NB: These are the results of a google search. I am no expert on
Windows myself ... ]

Hoping this helps,
Ted.

On 17-Jun-2014 12:48:54 Hiyoshi, Ayako wrote:
> Dear Martyn and Professor Ripley,
> 
> Thank you so much for your help. I used Window's large file search (it was
> useful! thank you), but there is no big files detected in C: drive .
> Perhaps I will have to reinstall Windows..
> 
> Thank you so much for your replies.
> 
> Best wishes,
> Ayako
> ________________________________________
> From: Martyn Byng <martyn.byng at nag.co.uk>
> Sent: 17 June 2014 12:10
> To: Hiyoshi, Ayako; Prof Brian Ripley; r-help at R-project.org
> Subject: RE: [R] C: drive memory full
> 
> Hi,
> 
> Try
> 
> http://social.technet.microsoft.com/wiki/contents/articles/19295.windows-8-how
> -to-search-for-large-files.aspx
> 
> Martyn
> 
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
> Behalf Of Hiyoshi, Ayako
> Sent: 17 June 2014 11:40
> To: Prof Brian Ripley; r-help at R-project.org
> Subject: Re: [R] C: drive memory full
> 
> Dear Professor Ripley,
> 
> Thank you so much for your quick reply.
> 
> I tried 'dianame(tempdir())' and removed several 'Rtemp' and all other files.
> Unfortunately it did not changed C: drive space much.
> 
> I am really sorry, but could there be other things stored in somewhere in C:
> drive ?
> 
> I called IT support, but they could not spot either.
> 
> Kind regards,
> Ayako
> 
> ________________________________________
> From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> Sent: 17 June 2014 10:37
> To: Hiyoshi, Ayako; r-help at R-project.org
> Subject: Re: [R] C: drive memory full
> 
> tempdir() is specific to an R session.
> 
> Start up R and run
> 
> dirname(tempdir())
> 
> and look at that directory.  Shut down R, then remove all old files/folders
> in that directory, especially those beginning with 'Rtmp'.
> 
> An R process tries to clean up after itself but
> 
> - it cannot do so if it segfaults ....
> - Windows has rules which no other OS has which can result in files being
> locked and hence not deletable.
> 
> 
> On 17/06/2014 08:49, Hiyoshi, Ayako wrote:
>> Dear R users,
>>
>> Hello, I am new to R and confused about my PC's memory space after
>> using R a while.
>>
>> My PC is Windows 8, RAM 8GB. I have run some analyses using commands
>> like "vglm", "aalen(Sruv())", lm()... some regressions.
>>
>> I also use Stata, and when I tried to run Stata (big file), Stata
>> could not do something which used to do because of the lack of memory
>> space. I suspect R's something because R is the only new activity I
>> did recently.
>>
>> I tried to google and found 'tempdir()'.
>>
>> I checked my temporary file but it was empty.
>>
>> Just in case, after running 'unlink(tempdir(),recursive=TRUE)', I
>> restarted my computer, but memory space did not change. But there
>> seems still something big in my C: drive storage and nearly 12GB
>> is eaten.
>>
>> Could it be possible that R saved something somewhere?
>>
>> As I finished analyses, all I need is to erase everything stored
>> so that I can get my memory space back.
>> 
>> Ayako
>>       [[alternative HTML version deleted]]

-------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at wlandres.net>
Date: 17-Jun-2014  Time: 14:14:40
This message was sent by XFMail



More information about the R-help mailing list