Skip to content

rw2000dev: problems with library(foreign)

7 messages · Kjetil Halvorsen, Martin Maechler, Uwe Ligges +2 more

#
I get the following

 > library(foreign)
Error in namespaceExport(ns, exports) : undefined exports: write.foreign
Error in library(foreign) : package/namespace load failed for 'foreign'

with rw2000dev as of   (2004-09-17

Kjetil
#
Kjetil> I get the following
    >> library(foreign)
    Kjetil> Error in namespaceExport(ns, exports) : undefined
    Kjetil> exports: write.foreign Error in library(foreign) :
    Kjetil> package/namespace load failed for 'foreign'

    Kjetil> with rw2000dev as of (2004-09-17

Does
  > system.file(package="foreign")

give the same initial path as
  > system.file(package="base")

?

If yes, I cannot help further;
if no,  this explains the problem:  you're picking up a wrong
version of the  foreign package.

Regards,
Martin
#
Martin Maechler wrote:

            
> system.file(package="foreign")
[1] "C:/R/rw2000dev/library/foreign"
 > system.file(package="base")
[1] "C:/R/rw2000dev/library/base"

Kjetil

  
    
#
Kjetil Brinchmann Halvorsen wrote:

            
Works for me with the recent beta (both with my own as well as with 
Duncan's build).
Kjetil, can you please try out the recent build?

Thanks!

Uwe
#
For what it is worth, I have the same development version as Kjetil

platform i386-pc-mingw32            
arch     i386                       
os       mingw32                    
system   i386, mingw32              
status   Under development (unstable)
major    2                          
minor    0.0                        
year     2004                       
month    09                         
day      17                         
language R 

(Duncan's compilation) with Windows 2000

and I get the error message.

Pat
Uwe Ligges wrote:

            
#
On Fri, 24 Sep 2004 10:10:39 -0400, Kjetil Brinchmann Halvorsen
<kjetil@acelerate.com> wrote :
CRAN has an 09-22 build now, and it includes a fix to seek() that was
affecting foreign.  I don't see how it would have led to the error you
saw, but you never know...

Please do try a current download, and let me know if you still see the
error.

Duncan
#
Uwe Ligges wrote:
Just downloaded and installed todays rw2000beta,
problem disappeared (as Patrick Burns also reported).

Kjetil