[Rd] iconv.dll in Windows

2009-03-12 Thread James MacDonald
I recently built R-devel on Windows XP (sessionInfo below), and when loading libraries that require the iconv.dll was getting an error stating that 'This application has failed to start because iconv.dll was not found. Re-installing the application may fix this problem.'. An R-2.8.1 that I

[Rd] NAMESPACE/DESCRIPTION and imports

2008-12-14 Thread James MacDonald
Hi, Could someone point me to the relevant documentation that covers what should be in the DESCRIPTION file for packages that have functions imported via the NAMESPACE file? I have read the R Extensions manual, but I cannot find where it covers the DESCRIPTION file vis a vis importing from a

[Rd] Is rcompgen still recommended?

2008-02-18 Thread James MacDonald
I just built R-devel from source on OS X (Tiger), using the subversion sources. Running ./tools/rsync-recommended didn't download rcompgen. I checked http://cran.r-project/src/contrib/2.7.0/Recommended and indeed, this package is not there. If I try to install using install.packages I get

[Rd] Best practices - R CMD check and vignettes

2007-09-19 Thread James MacDonald
Hi, I have a package that contains two vignettes that both use saved objects in the examples directory of the package. With previous versions of R I could have a code chunk in the vignette like this: echo=false= load(../examples/somedata.Rdata) @ followed by a code chunk like eval=false= foo

[Rd] R from SVN fails to build on win32

2007-02-06 Thread James MacDonald
I get the following error when building R from the subversion server as well as the latest tarball. I am on Windows XP, and I recently updated my MinGW installation. It's quite possible I am doing something wrong, but I am not sure what that might be. making console.d from console.c making

[Rd] Build error/zlib question

2006-09-28 Thread James MacDonald
Hi, I am unable to build a package I maintain using a relatively current build of R-2.4.0 alpha, whereas the package builds just fine on R-2.3.1. Both versions of R were built from source. I'm hoping a guRu might be able to give some help. Some snippets from the build process: R-2.3.1 making

[Rd] Segfault with too many menu items on Rgui

2006-03-31 Thread James MacDonald
Hi all, In the CHANGES file for R-2.3.0alpha, there is the following statement: winMenuAdd() now has no limits on the number of menus or items, and names are now limited to 500 (not 50) bytes. However, I can reproducibly get a segfault using this (admittedly silly) example: for( i in 1:5)

[Rd] Using .onUnload() to unload compiled code

2006-02-08 Thread James MacDonald
If one wants to unload compiled code for a package containing a namespace, my understanding is that .onUnload() should be used, with a call to library.dynam.unload(). This is used in e.g., the stats and methods packages, but it appears to me that the compiled code is not being unloaded when the