Re: [R] C: drive memory full

2014-06-18 Thread Hiyoshi, Ayako
Dear R users,

Thank you so much for your help. 
I got deleted all files in my C:\xxx\AppData\Local\Temp file and also run 
suggested R codes to erase files. 
I list them below as somebody may be interested in.

All in all, I got some space (1 GB) back, and compressing Stata data, I 
achieved what I needed to do with Stata. 

Also, Windows tips for finding hidden files and big size files were very 
helpful. Unfortunately I could not run SequoiaView because of the security 
issue of my PC at office, but it sounded very useful.  

Thank you so much for considering my problem.

Best wishes,
Ayako 

--- some R codes I used : 

tempdir()
dirname(tempdir())
unlink(tempdir(),recursive=TRUE)
rm(list=ls(all=TRUE))


From: r-help-boun...@r-project.org  on behalf of 
jim holtman 
Sent: 18 June 2014 15:14
To: David L Carlson
Cc: r-help@r-project.org
Subject: Re: [R] C: drive memory full

One program that I have found valuable in looking at the size of files on
disk is SequoiaView.  It creates a 'treemap' of the sizes of the files and
lets you zoom in to specific directories and such.


Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.


On Wed, Jun 18, 2014 at 10:05 AM, David L Carlson  wrote:

> Windows 8 (and earlier versions) has a disk cleanup tool that will let you
> delete temporary files that might help. At the bottom of the screen on the
> taskbar, click the folder icon to bring up a windows showing your drives
> and folders. On the left side click on the drive you are interested in
> (probably "C:"). On the top title bar of the window showing the folders in
> drive C: on the left is an icon showing a sheet of paper with a red
> checkmark. That brings up a properties window that shows you how much space
> you are using and how much is free. Close that window and then click on the
> Manage tab on the line just below the title bar. Click on Cleanup and that
> will let you select temporary files of various kinds for deletion if your
> drive is getting full.
>
> -
> David L Carlson
> Department of Anthropology
> Texas A&M University
> College Station, TX 77840-4352
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of jwd
> Sent: Tuesday, June 17, 2014 8:10 PM
> To: r-help@r-project.org
> Subject: Re: [R] C: drive memory full
>
> On Tue, 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..
> >
> The problem may not be R at all, but rather Windows.  How large is your
> drive, not RAM but the actual drive?
>
> If you can, examine your drive to see if there are either fragmentation
> problems or hidden files taking up excess space.  Look at the
> drive properties for C:\ and run disk clean-up if possible.  Another
> problem, MS may have fixed this at some point - I don't run Win 8, is
> that if your deleted files are not removed, you can run out of space.
> Usually, the space occupied by a file marked for deletion should
> be scavenged as Windows needs space, but sometimes that may not happen,
> especially with a very full drive. So, if there are files in the
> "Wastebasket" remove them completely.  Another space-use that can grow
> to excess is a print spool. Even Windows uses a print spool and that can
> grow too large for the system to function efficiently.
>
> JWdougherty
>
> __
> R-help@r-project.org mailing list
> 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.
>
> __
> R-help@r-project.org mailing list
> 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.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-18 Thread jim holtman
One program that I have found valuable in looking at the size of files on
disk is SequoiaView.  It creates a 'treemap' of the sizes of the files and
lets you zoom in to specific directories and such.


Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.


On Wed, Jun 18, 2014 at 10:05 AM, David L Carlson  wrote:

> Windows 8 (and earlier versions) has a disk cleanup tool that will let you
> delete temporary files that might help. At the bottom of the screen on the
> taskbar, click the folder icon to bring up a windows showing your drives
> and folders. On the left side click on the drive you are interested in
> (probably "C:"). On the top title bar of the window showing the folders in
> drive C: on the left is an icon showing a sheet of paper with a red
> checkmark. That brings up a properties window that shows you how much space
> you are using and how much is free. Close that window and then click on the
> Manage tab on the line just below the title bar. Click on Cleanup and that
> will let you select temporary files of various kinds for deletion if your
> drive is getting full.
>
> -
> David L Carlson
> Department of Anthropology
> Texas A&M University
> College Station, TX 77840-4352
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of jwd
> Sent: Tuesday, June 17, 2014 8:10 PM
> To: r-help@r-project.org
> Subject: Re: [R] C: drive memory full
>
> On Tue, 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..
> >
> The problem may not be R at all, but rather Windows.  How large is your
> drive, not RAM but the actual drive?
>
> If you can, examine your drive to see if there are either fragmentation
> problems or hidden files taking up excess space.  Look at the
> drive properties for C:\ and run disk clean-up if possible.  Another
> problem, MS may have fixed this at some point - I don't run Win 8, is
> that if your deleted files are not removed, you can run out of space.
> Usually, the space occupied by a file marked for deletion should
> be scavenged as Windows needs space, but sometimes that may not happen,
> especially with a very full drive. So, if there are files in the
> "Wastebasket" remove them completely.  Another space-use that can grow
> to excess is a print spool. Even Windows uses a print spool and that can
> grow too large for the system to function efficiently.
>
> JWdougherty
>
> __
> R-help@r-project.org mailing list
> 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.
>
> __
> R-help@r-project.org mailing list
> 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.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-18 Thread David L Carlson
Windows 8 (and earlier versions) has a disk cleanup tool that will let you 
delete temporary files that might help. At the bottom of the screen on the 
taskbar, click the folder icon to bring up a windows showing your drives and 
folders. On the left side click on the drive you are interested in (probably 
"C:"). On the top title bar of the window showing the folders in drive C: on 
the left is an icon showing a sheet of paper with a red checkmark. That brings 
up a properties window that shows you how much space you are using and how much 
is free. Close that window and then click on the Manage tab on the line just 
below the title bar. Click on Cleanup and that will let you select temporary 
files of various kinds for deletion if your drive is getting full.

-
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352

-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of jwd
Sent: Tuesday, June 17, 2014 8:10 PM
To: r-help@r-project.org
Subject: Re: [R] C: drive memory full

On Tue, 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..
> 
The problem may not be R at all, but rather Windows.  How large is your
drive, not RAM but the actual drive?

If you can, examine your drive to see if there are either fragmentation
problems or hidden files taking up excess space.  Look at the
drive properties for C:\ and run disk clean-up if possible.  Another
problem, MS may have fixed this at some point - I don't run Win 8, is
that if your deleted files are not removed, you can run out of space.
Usually, the space occupied by a file marked for deletion should
be scavenged as Windows needs space, but sometimes that may not happen,
especially with a very full drive. So, if there are files in the
"Wastebasket" remove them completely.  Another space-use that can grow
to excess is a print spool. Even Windows uses a print spool and that can
grow too large for the system to function efficiently.  

JWdougherty

__
R-help@r-project.org mailing list
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.

__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-17 Thread jwd
On Tue, 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..
> 
The problem may not be R at all, but rather Windows.  How large is your
drive, not RAM but the actual drive?

If you can, examine your drive to see if there are either fragmentation
problems or hidden files taking up excess space.  Look at the
drive properties for C:\ and run disk clean-up if possible.  Another
problem, MS may have fixed this at some point - I don't run Win 8, is
that if your deleted files are not removed, you can run out of space.
Usually, the space occupied by a file marked for deletion should
be scavenged as Windows needs space, but sometimes that may not happen,
especially with a very full drive. So, if there are files in the
"Wastebasket" remove them completely.  Another space-use that can grow
to excess is a print spool. Even Windows uses a print spool and that can
grow too large for the system to function efficiently.  

JWdougherty

__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-17 Thread Ted Harding
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 
> Sent: 17 June 2014 12:10
> To: Hiyoshi, Ayako; Prof Brian Ripley; r-help@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-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> Behalf Of Hiyoshi, Ayako
> Sent: 17 June 2014 11:40
> To: Prof Brian Ripley; r-help@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 
> Sent: 17 June 2014 10:37
> To: Hiyoshi, Ayako; r-help@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) 
Date: 17-Jun-2014  Time: 14:14:40
This message was sent by XFMail

__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-17 Thread Hiyoshi, Ayako
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 
Sent: 17 June 2014 12:10
To: Hiyoshi, Ayako; Prof Brian Ripley; r-help@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-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of Hiyoshi, Ayako
Sent: 17 June 2014 11:40
To: Prof Brian Ripley; r-help@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 
Sent: 17 June 2014 10:37
To: Hiyoshi, Ayako; r-help@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.
>
>
>
> Thank you so much for your help.
>
>
>
> Best wishes,
>
> Ayako
>
>
>
>
>
>
>
>   [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> 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.
>


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595


__
R-help@r-project.org mailing list
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.


This e-mail has been scanned for all viruses by Star.
...{{dropped:4}}

__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-17 Thread Hiyoshi, Ayako
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 
Sent: 17 June 2014 10:37
To: Hiyoshi, Ayako; r-help@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.
>
>
>
> Thank you so much for your help.
>
>
>
> Best wishes,
>
> Ayako
>
>
>
>
>
>
>
>   [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> 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.
>


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595


__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-17 Thread Martyn Byng
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-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of Hiyoshi, Ayako
Sent: 17 June 2014 11:40
To: Prof Brian Ripley; r-help@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 
Sent: 17 June 2014 10:37
To: Hiyoshi, Ayako; r-help@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.
>
>
>
> Thank you so much for your help.
>
>
>
> Best wishes,
>
> Ayako
>
>
>
>
>
>
>
>   [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> 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.
>


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595


__
R-help@r-project.org mailing list
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.


This e-mail has been scanned for all viruses by Star.\ _...{{dropped:3}}

__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-17 Thread Prof Brian Ripley

On 17/06/2014 11:39, Hiyoshi, Ayako wrote:

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 ?


Yes, as R is a programming language.  You can do many things to create 
files.



I called IT support, but they could not spot either.




Kind regards,
Ayako


From: Prof Brian Ripley 
Sent: 17 June 2014 10:37
To: Hiyoshi, Ayako; r-help@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.



Thank you so much for your help.



Best wishes,

Ayako







   [[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.




--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595




--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-help@r-project.org mailing list
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.


Re: [R] C: drive memory full

2014-06-17 Thread Prof Brian Ripley

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.



Thank you so much for your help.



Best wishes,

Ayako







[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.




--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-help@r-project.org mailing list
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.