Hello all, R just ''stopped working'' on my machine (ibook g4, os 10.3.9). between last time I used it and now, I did not do anything but check emails and browse the internet. when I try to start the GUI, it appears and disappears as rapidly. when I tried to run a session from the terminal, I got the following: mkdir: /tmp/Rtmp590-29493: Permission denied mkdir: /tmp/Rtmp590: Permission denied ERROR: cannot create temporary R session directory If I log as root, I can start a session from the terminal, so I figured that somewhere file permissions got corrupted. therefore, I re-installed R (I tried 2.1.1 and 2.2.0), but same result: I can't start a session. The install itself runs fine, though. Does anyone know what is going on? Where can I re-establish my ''rights'' to use R ??? My R.app file is defined as drwxrwxr-x. I did not see any mention of a similar problem in the archives. Thank you in advance for your insights! eric Eric Pante --------------------------------------------------------------- Graduate Student in Marine Biology Grice Marine Laboratory 205 Fort Johnson Road, Charleston SC 29412 --------------------------------------------------------------- "On ne force pas la curiosite, on l'eveille ..." Daniel Pennac
Eric Pante <ericpante at hotmail.com> writes:> Hello all, > > R just ''stopped working'' on my machine (ibook g4, os 10.3.9). between > last time I used it and now, I did not do anything but check emails and > browse the internet. when I try to start the GUI, it appears and > disappears as rapidly. when I tried to run a session from the terminal, > I got the following: > mkdir: /tmp/Rtmp590-29493: Permission denied > mkdir: /tmp/Rtmp590: Permission denied > ERROR: cannot create temporary R session directory > If I log as root, I can start a session from the terminal, so I figured > that somewhere file permissions got corrupted. therefore, I > re-installed R (I tried 2.1.1 and 2.2.0), but same result: I can't > start a session. The install itself runs fine, though. > > Does anyone know what is going on? Where can I re-establish my > ''rights'' to use R ??? My R.app file is defined as drwxrwxr-x. I did > not see any mention of a similar problem in the archives. > > Thank you in advance for your insights! > ericSounds like something doesn't have the right file permissions. Did the /tmp/Rtmp* directories exist before R started? If not, what are the permissions and ownership on /tmp? We have had issues where we didn't quite succeed in creating temporary directory names, but I'd expect such problems to be intermittent. -- O__ ---- Peter Dalgaard ??ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Thanks Doug and Peter, I changed the permissions of the tmp dir as root, and it made the trick! I still don't know how the permissions got changed ... best, eric On Dec 12, 2005, at 3:37 PM, Douglas Grove wrote:> The error are telling you that you don't have permission to > create a directory in /tmp. So the problem is with your permissions > to the directory /tmp, not with R. That's why reinstalling didn't > help. > > Doug > > > On Mon, 12 Dec 2005, Eric Pante wrote: > >> Hello all, >> >> R just ''stopped working'' on my machine (ibook g4, os 10.3.9). >> between >> last time I used it and now, I did not do anything but check emails >> and >> browse the internet. when I try to start the GUI, it appears and >> disappears as rapidly. when I tried to run a session from the >> terminal, >> I got the following: >> mkdir: /tmp/Rtmp590-29493: Permission denied >> mkdir: /tmp/Rtmp590: Permission denied >> ERROR: cannot create temporary R session directory >> If I log as root, I can start a session from the terminal, so I >> figured >> that somewhere file permissions got corrupted. therefore, I >> re-installed R (I tried 2.1.1 and 2.2.0), but same result: I can't >> start a session. The install itself runs fine, though. >> >> Does anyone know what is going on? Where can I re-establish my >> ''rights'' to use R ??? My R.app file is defined as drwxrwxr-x. I did >> not see any mention of a similar problem in the archives. >> >> Thank you in advance for your insights! >> eric >> >> Eric Pante >> --------------------------------------------------------------- >> Graduate Student in Marine Biology >> Grice Marine Laboratory >> 205 Fort Johnson Road, Charleston SC 29412 >> --------------------------------------------------------------- >> >> "On ne force pas la curiosite, on l'eveille ..." >> Daniel Pennac >> >> ______________________________________________ >> R-help at stat.math.ethz.ch mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide! >> http://www.R-project.org/posting-guide.html >> > >Eric Pante --------------------------------------------------------------- Graduate Student in Marine Biology Grice Marine Laboratory 205 Fort Johnson Road, Charleston SC 29412 --------------------------------------------------------------- "On ne force pas la curiosite, on l'eveille ..." Daniel Pennac