The command: SET SCRATCH TMP
Sest your temporary scratch/temporary directory to that used by Windows, and yes, it would be coded in whatever file you use to start R:Base. Why don't you post your *.dat file and I am sure you will get suggestions on how to improve it. I take it that all users use the same *.dat file? You might also provide information on version, file location, how is application accessed, single or multi user, etc. Javier, Javier Valencia, PE 913-829-0888 Office 913-915-3137 Cell 913-649-2904 Fax [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Wednesday, April 06, 2011 1:19 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: I/O problems I use a DAT file for my startup. Are you saying I would have that code in the file? James Belisle -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Javier Valencia Sent: Wednesday, April 06, 2011 1:14 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: I/O problems Jim, Is there a reason why you don't use the SET SCRATCH command? In my old applications I had the following code at start up: ========================== - This section sets up the scratch files... CLEAR VAR vChkFile SET VAR vChkFile INTEGER = NULL SET VAR vChkFile = (CHKFILE('C:\TEMP')) IF vChkFile <> 1 THEN MD C:\TEMP ENDIF SET SCRATCH C:\TEMP SET ERROR MESSAGE 2262 OFF SET ERROR MESSAGE 2926 OFF ERASE C:\TEMP\*.$$$ SET ERROR MESSAGE 2926 ON SET ERROR MESSAGE 2262 ON ========================== Now, I simply use the following code: ========================== -- This section sets up the scratch files... SET SCRATCH TMP =========================== Much easier to let RBTI (and Microsoft) take care of temporary files for you. Javier, Javier Valencia, PE 913-829-0888 Office 913-915-3137 Cell 913-649-2904 Fax [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Wednesday, April 06, 2011 1:00 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: I/O problems Razzak, I have plenty of storage memory on the LOCAL drive (C:) 13 GB. There are 46 processes in use when I bring up the Task Manager. I am very unfamiliar with how the temp files affect things. Since the settings I now have, C:\Doucuments and settings\Jim\Local Settings\Temp are on C: drive, how does going to C:\TEMP make a difference? Just wondering since they are both on C: drive. James Belisle -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak Memon Sent: Wednesday, April 06, 2011 12:42 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: I/O problems At 12:54 PM 4/6/2011, Jim Belisle wrote: >Razzak, > >Thanks for the answers. > >I connect to my computer at the office using a VPN and Remote desktop >connection so I am actually using my computer at the office. I did >finally find the advanced settings you mentioned in the thread I was >talking about. > >For the User variables here are the settings: >Under the TEMP variable it says >C:\Doucuments and settings\Jim\Local Settings\Temp >Under the TMP variable it says >C:\Doucuments and settings\Jim\Local Settings\Temp > >For the system variables it says: >For TEMP C:\WINDOWS\Temp >For TMP C:\WINDOWS\Temp > >I believe I am the only one who has this problem since my office people >have not said anything to me, at least not recently. Jim, If you wish, you may [Edit...] both User & System variables, as suggested. Do you have enough system resources (memory) available on this computer? What else is running in the background (tasks, programs, etc.)? >I do an UNLOAD and rebuild using your suggested routine you sent to me >on a regular basis. I shoot for once per week and have not gotten any >errors this year. Excellent! Very Best R:egards, Razzak.

