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

2004-04-22 Thread Prof Brian Ripley
On Thu, 22 Apr 2004, Fan wrote:

 Brian, thanks for the hint, it works.
 
 The old 1.8 version works very well without the need of such
 manual loading, I guess, there'd be some internal changes
 in the order of libraries loading at the startup
 in the 1.9.0 version ?

Yes, and that is right at the top of the NEWS file, including the fix.

BTW, there has been a `1.8 version' of R.

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] 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


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

2004-04-22 Thread A.J. Rossini
Prof Brian Ripley [EMAIL PROTECTED] writes:

 On Thu, 22 Apr 2004, Fan wrote:

 Brian, thanks for the hint, it works.
 
 The old 1.8 version works very well without the need of such
 manual loading, I guess, there'd be some internal changes
 in the order of libraries loading at the startup
 in the 1.9.0 version ?

 Yes, and that is right at the top of the NEWS file, including the fix.

 BTW, there has been a `1.8 version' of R.

You perhaps mean there has not?

-- 
[EMAIL PROTECTED]http://www.analytics.washington.edu/ 
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN  Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

__
[EMAIL PROTECTED] 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


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

2004-04-22 Thread Prof Brian Ripley
On Thu, 22 Apr 2004, A.J. Rossini wrote:

 Prof Brian Ripley [EMAIL PROTECTED] writes:
 
  On Thu, 22 Apr 2004, Fan wrote:
 
  Brian, thanks for the hint, it works.
  
  The old 1.8 version works very well without the need of such
  manual loading, I guess, there'd be some internal changes
  in the order of libraries loading at the startup
  in the 1.9.0 version ?
 
  Yes, and that is right at the top of the NEWS file, including the fix.
 
  BTW, there has been a `1.8 version' of R.
 
 You perhaps mean there has not?

I meant `there has never been', thank you.

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] 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


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

2004-04-21 Thread Fan
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 ?
Thanks
--
Fan
Duncan Murdoch wrote:
On Wed, 21 Apr 2004 18:40:05 +0100 (BST), Prof Brian Ripley
[EMAIL PROTECTED] 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

__
[EMAIL PROTECTED] 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
__
[EMAIL PROTECTED] 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


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

2004-04-21 Thread Brian . J . GREGOR
I had this problem too. The documentation for the winMenus says that these
functions are part of the utils package. R must be loading this library
after it sources in Rprofile. If you add library(utils) to the beginning of
your .First function, it should take care of the problem.

Brian Gregor, P.E.
Transportation Planning Analysis Unit
Oregon Department of Transportation
[EMAIL PROTECTED]
(503) 986-4120
 

 -Original Message-
 From: Fan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 21, 2004 3:06 PM
 To: Duncan Murdoch
 Cc: [EMAIL PROTECTED]
 Subject: [R] Error with 1.9.0 - winMenuAdd not usable in .Rprofile
 
 
 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 ?
 Thanks
 --
 Fan
 
 Duncan Murdoch wrote:
  On Wed, 21 Apr 2004 18:40:05 +0100 (BST), Prof Brian Ripley
  [EMAIL PROTECTED] 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
  
  __
  [EMAIL PROTECTED] 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
 
 
 __
 [EMAIL PROTECTED] 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


__
[EMAIL PROTECTED] 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


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

2004-04-21 Thread Fan
Brian, thanks for the hint, it works.

The old 1.8 version works very well without the need of such
manual loading, I guess, there'd be some internal changes
in the order of libraries loading at the startup
in the 1.9.0 version ?
--
Fan
[EMAIL PROTECTED] wrote:
I had this problem too. The documentation for the winMenus says that these
functions are part of the utils package. R must be loading this library
after it sources in Rprofile. If you add library(utils) to the beginning of
your .First function, it should take care of the problem.
Brian Gregor, P.E.
Transportation Planning Analysis Unit
Oregon Department of Transportation
[EMAIL PROTECTED]
(503) 986-4120
 


-Original Message-
From: Fan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 3:06 PM
To: Duncan Murdoch
Cc: [EMAIL PROTECTED]
Subject: [R] Error with 1.9.0 - winMenuAdd not usable in .Rprofile
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 ?
Thanks
--
Fan
Duncan Murdoch wrote:

On Wed, 21 Apr 2004 18:40:05 +0100 (BST), Prof Brian Ripley
[EMAIL PROTECTED] 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

__
[EMAIL PROTECTED] 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

__
[EMAIL PROTECTED] 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



__
[EMAIL PROTECTED] 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
__
[EMAIL PROTECTED] 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