-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/22/2011 02:33 PM, Mike Marchywka wrote: > > > > > > > > ---------------------------------------- >> Date: Tue, 22 Feb 2011 11:12:26 +0100 >> From: r.m.k...@gmail.com >> To: graham.willi...@togaware.com >> CC: r-help@r-project.org >> Subject: Re: [R] problem installing R in Ubuntu 10.04 -HELP >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 02/22/2011 10:49 AM, Graham Williams wrote: >>> I have seen this issue reported by others though I don't know what the >>> root cause is. Others have solved it by removing the .Rdata file >>> causing the problem (there must be one if it says so). It would >>> usually, I think, be in the folder where you start R. >> >> Does R start with >> >> R --vanilla >> >> If yes, check for .RData, and the other files loaded when starting R >> >> ?.First >> >> shoud give you an idea which files they are and where they are stored. >> >> Also: >> >> try >> >> locate Rdata >> >> to locate all Rdata files. >> > > Presumably this is best as it looks where "R" looks
I don't understand that statement - locate looks in an index, based on the whole file system (more or less), whereas R looks in specific locations ($HOME and certain other directories dependant on the installation directory of R. > but I'm curious > why the OP couldn't locate all of them with "find -name "*rData*" ? Well - a "find" on a complete HDD takes some time. Furthermore I just realised that "locate" is case sensitive, and find too. So "find -name "*.rData" will not find the .Rdata file ... Just something to keep in mind. > When stuff like this happens on linux there are usually tools available > to fix it without relying on the things you are trying to fix working at all. Absolutely - But I had exactly the same problem after installing rattle, but as I usually use --vanilla, it did not affect me that much. It took me quite some time to figure out what was happening. This raises the question, if R should not have a "fallback" mechanism, so that at least the other data in an Rdata file could be read (obviously giving a HUGE warning!) Cheers, Rainer > Often on 'dohs if the uninstall icon is missing you are stuck LOL. > > > >> Cheers, >> >> Rainer >> >>> >>> Regards, >>> Graham >>> >>> >>> >>> >>> On 20 February 2011 13:19, fdp wrote: >>>> I am running Ubuntu 10.04 (on a Windows machine with dual boot) and I >>>> having >>>> a very hard time trying to recover from what I initially thought was a >>>> minor >>>> problem. I was trying to install "rattle()" and it failed, and after that I >>>> cannot get R to run AT ALL! I've tried multiple times to reinstall it with >>>> a >>>> clean apt-get removal and install and nothing... I keep get the following >>>> message: >>>> >>>> *Error in loadNamespace(name) : there is no package called 'rattle' >>>> Fatal error: unable to restore saved data in .RData >>>> * >>>> I've tried to remove all ".RData" files, but couldn't find many... I even >>>> remove all R files/directories/config-files and still nothing worked. >>>> >>>> Has anyone encounter something like this? ANYTHING HELPS!!! >>>> >>>> Thanks a lot... >>>> fdp >>>> > > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1jv8MACgkQoYgNqgF2egqv0QCfcUdT7AmoHJ37bi1QZIn7y8eb KXAAmgKHByXFykkgNN6toIrDfBIWpy2D =24Rq -----END PGP SIGNATURE----- ______________________________________________ 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.