[Rd] invalid body argument for function

From: Michael Lawrence <lawrence.michael_at_gene.com>
Date: Wed, 29 Jun 2011 18:09:53 -0700


Hi guys,

Looks like mkCLOSXP cannot handle external pointers as the function body. Work around is obvious, but I guess it's a bug nonetheless.

> library(RGtk2)
> fun <- eval(substitute(function() x, list(x = gtkWindow()))) Error in eval(expr, envir, enclos) : invalid body argument for "function" Should NEVER happen; please bug.report() [mkCLOSXP]

> sessionInfo()
R version 2.14.0 Under development (unstable) (--) Platform: i686-pc-linux-gnu (32-bit)

locale:
[1] C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] RGtk2_2.20.13 qtbase_0.8-16 visnab_0.0.1

loaded via a namespace (and not attached):

 [1] BSgenome_1.21.3       Biobase_2.11.10       Biostrings_2.21.6
 [4] DBI_0.2-5             GenomicFeatures_1.5.5 GenomicRanges_1.3.39
 [7] IRanges_1.11.11       MutableRanges_0.2.0   RColorBrewer_1.0-2

[10] RCurl_1.5-0 RSQLite_0.9-4 Rsamtools_1.5.13
[13] XML_3.2-0 biomaRt_2.7.2 colorspace_1.0-1
[16] dichromat_1.2-3 munsell_0.2 objectSignals_0.5.1
[19] plumbr_0.6.2 plyr_1.4.1 qtpaint_0.7.22
[22] rtracklayer_1.13.3 scales_0.1.0 stringr_0.4
[[alternative HTML version deleted]] ______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 30 Jun 2011 - 01:12:36 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 30 Jun 2011 - 18:20:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive