[R] Error with 1.9.0 - winMenuAdd not usable in .Rprofile

Fan xiao.gang.fan1 at libertysurf.fr
Thu Apr 22 00:06:03 CEST 2004

With the R 1.9.0 version (Windows patched binary), I've got a strange
behaviour: the function winMenuAdd is no longer usable in the start up
file .Rprofile, the following error message was given:

Error in try(winMenuAdd("test")) : couldn't find function "winMenuAdd"

but the function works fine in interactive, once R loaded.

Any idea ?

Duncan Murdoch wrote:
> On Wed, 21 Apr 2004 18:40:05 +0100 (BST), Prof Brian Ripley
> <ripley at stats.ox.ac.uk> wrote :
>>On Wed, 21 Apr 2004, Duncan Murdoch wrote:
>>>I think it would be more useful for debugging purposes to do them one
>>>at a time.  Do we still get an error message about HOMEDRIVE if we do
>>>the above?  What if we set only HOMEPATH?
>>Unfortunately you get the same message unless both are set correctly, so 
>>setting just one on the command line will tell you nothing.  I've changed 
>>the message for R-patched so we can tell them apart.
> I've just uploaded builds of r-patched and r-devel to CRAN that
> incorporate this change.  They should be visible tomorrow at 
> <http://cran.r-project.org/bin/windows/base>
> Follow the links near the top of the page; the ones in the main part
> are for the unpatched 1.9.0 release.
> Duncan Murdoch
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list