problem in Win XP environment

59 views
Skip to first unread message

Bob A.

unread,
Oct 27, 2011, 3:08:21 PM10/27/11
to rattle...@googlegroups.com
I seem to have created a problem for myself.  Wishing to upgrade my version of R and Rattle, I proceeded to uninstall R 2.12 via the control panel.  I then deleted the R folder.  R2.13 was installed without issue.  Starting R yields Fatal Error: Unable to restore data saved in .RData.  The R console states error in loadNamespace(name) : there is no package called 'rattle'.  The R control automatically closes and there is no opportunity to re-install R.  If I again remove R and look for an RData file there is none.

Would be grateful if anyone could help me out of the mess I created.  Any links on how to remove all traces of R from Windows XP drive and registry?

Thank you,
Bob A.

Graham Williams

unread,
Oct 27, 2011, 5:00:01 PM10/27/11
to rattle...@googlegroups.com
Hi Bob,

I think this happens when you have saved the workspace from R (which
is saved into a .RData file), and in the new version of R it is trying
to load this and notices that the rattle package is required but not
installed. The usual solution is to find any .RData file and delete -
though you suggest you have done that - but the error message suggests
there is still one there - is it possible that you have missed one
somewhere (where R starts up)?

Alternatively, does the following work on MS/Windows?

$ R --vanilla

That will avoid loading the saved workspace, and hopefully allow you
to install rattle, then the next R session should be okay?

Regards,
Graham

> --
> You received this message because you are subscribed to the Google Groups
> "rattle-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rattle-users/-/CzSrTkKxpm0J.
> To post to this group, send email to rattle...@googlegroups.com.
> To unsubscribe from this group, send email to
> rattle-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rattle-users?hl=en.
>

Robert Aronoff

unread,
Oct 28, 2011, 5:19:40 PM10/28/11
to rattle...@googlegroups.com
Never did find the 'missing' .RData file but did find a workaround.

Started R in a command shell (Find R.exe in the installation folder) then
install.packages("rattle")
install.packages("RGtk2")

R and rattle will then launch in fine fashion. Still not completely solved. When I start R and try to install the suggested packages. I get a message that rattle is already running.   This is even though I have not typed library(rattle).  This goes back to that missing workspace file.  Will keep hunting but in the meantime I can keep using Rattle.  If I let rattle install packages as needed there is no problem.

Thank you,
Bob

Graham Williams

unread,
Oct 28, 2011, 5:40:03 PM10/28/11
to rattle...@googlegroups.com
Thanks for the update Bob.

Try right mouse button click on the R icon on your desktop, and choose
Properties, then check what "Start in" is. I think this is where the
.RData file is likely to be. Perhaps it is a hidden file within that
folder.

Regards,
Graham

Reply all
Reply to author
Forward
0 new messages