[R] Get message "cannot do complex assignments in base namespace" error
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Dec 21 11:15:14 CET 2003
On Sun, 21 Dec 2003, Thon de Boer wrote:
> Thanks for the fast reply.
>
> When I use --vanilla for Rterm.exe (Using windows
> here) I do not get the problem anymore, so that solved
> half my problems. Thanks (I had used --slave --no-save
> --no-restore)
>
> But I seem to have the problem of getting the error
> message "cannot do complex assignments in base
> namespace" when I try to run Rgui.exe.
The following is the critical piece of information you omitted
in your first post.
[...]
> I had to resort to setting the R script as the
> R_PROFILE environment variable to force Rgui to start
> the R script I give it.
That's your problem, and it is bad practice. ?Startup does explain why
you needed to use local().
You are misusing the site profile; you could equally have used a user
profile or .First or ....
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list