Sounds like you are having permissions problems. And as you're using a mix of Unix and WinXP, you might be suffering from some strange permissions settings. WinXP allows a very rich set of permissions which for many exotic combinations have no corresponding mapping to the much simpler 9-octet Unix permissions space -- so the limited view provided by the Unix permission string -rw-r--r-- may not really reflect what you can do with the file. On my own system, where I use WinXP and cygwin, I've sometimes seem very strange Windows permission sets that look OK in cygwin, but essentially disable use of a particular file. I generally fix this by resetting ownership and all permissions using Windows dialogs. It sounds like you need to get your sysadmins to help you sort this problem out.
-- Tony Plate Hongxiao Zhu wrote: > Tony, > > Thanks for return. Actually, the data object 'junk4.RData' was created > but have size 0. It seems no data was saved. But the real data that I > want to load have data in it, which I can't load use my own user > account. But if using other people's user account under the same > system, it can be loaded. > > All the files has the following property if I use ls -l: > -rw-r--r-- > > The OS I used is windows xp. But I use SSH to connect to the unix server. > > I have been using this server for a long time, this error happened > since some day and from then on, I can never load/save workspace. > > Hong > > ********************************************** > * Hongxiao Zhu * > * Department of Statistics, Rice Univeristy * > * Office: DH 3136, Phone: 713-348-2839 * > * http://www.stat.rice.edu/~hxzhu/ * > ********************************************** > > On Wed, 3 Oct 2007, Tony Plate wrote: > >> Did you check whether 'junk4.RData' was created and what its length >> was - maybe an empty file is being created. Is there some sort of >> quota or permissions problem? My suggestion would be to look at the >> size and permissions on the directory and the file. If you need more >> help, I would suggest posting more details back to the list, e.g., >> what OS you are using, and a directory listing that shows file sizes >> and permissions (i.e., as you get with 'ls -l' on Unix systems.) >> >> -- Tony Plate >> >> Hongxiao Zhu wrote: >>> Hi, >>> >>> I tried to load a .RData object on unix system using R, it gives error: >>> >>> Error: restore file may be empty -- no data loaded >>> In addition: Warning message: >>> file 'junk3.RData' has magic number '' >>> Use of save versions prior to 2 is deprecated >>> >>> This happens only for using MY user account for the Unix system. I >>> tried to use a friends's user account to load the same data object, >>> it is >>> fine. And it never happened to me before until sometime last week. >>> And This error happens even when I generate a simple random number >>> from my user account and save it, and load it again.(So obviously it >>> is not a R version mismatch problem). Does anybody know what happened? >>> >>> Here is an example what happened: >>> >>>> x=rnorm(100) >>>> save.image('junk4.RData') >>>> load('junk4.RData') >>> Error: restore file may be empty -- no data loaded >>> In addition: Warning message: >>> file 'junk4.RData' has magic number '' >>> Use of save versions prior to 2 is deprecated >>> >>> Thanks for any suggestion. >>> >>> Hongxiao >>> >>> >>> ********************************************** >>> * Hongxiao Zhu * >>> * Department of Statistics, Rice Univeristy * >>> * Office: DH 3136, Phone: 713-348-2839 * >>> * http://www.stat.rice.edu/~hxzhu/ * >>> >>> ______________________________________________ >>> 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. >>> >> >> >> !DSPAM:4703b16f15261021468! >> > ______________________________________________ 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.