[Rd] Should NEVER happen; please bug.report() [mkCLOSXP] (PR#7535)

From: <jjvanhoutte_at_ucdavis.edu>
Date: Wed 19 Jan 2005 - 12:24:39 EST


I'm probably not using the function right, but anyway, the program said: "please bug.report."

> w_R.f1=function(PR,Pc) return (Pc*PR^3)
>
> w_R.f2=function(PR,Pc) return (Pc*PR)
>
> w_R.fc=c(w_R.f1,w_R.f2)
> w_R.fc[2]


[[1]]
function(PR,Pc) return (Pc*PR)

>
> RSD(type=3,

+ gparP=gpar(col="red"),
+ gparD=gpar(fill=FALSE,col=FALSE),
+ gparL=gpar(col="red",lwd=2),
+ gparSL=gpar(col=grey(0.5),lwd=2),
+ gparS=gpar(fill=FALSE,col=FALSE),
+ gparSP=gpar(col=grey(0.7)),
+ w_R.f=w_R.fc[2]
+ )

Error in R2SDgraph(...) : couldn't find function "w_R.f"
> as.function(w_R.fc[2])

Error in as.function.default(w_R.fc[2]) : invalid body argument for "function"
Should NEVER happen; please bug.report() [mkCLOSXP]

--please do not edit the information below--

Version:
 platform = i386-pc-mingw32
 arch = i386
 os = mingw32
 system = i386, mingw32
 status =
 major = 2
 minor = 0.1
 year = 2004
 month = 11
 day = 15
 language = R

Windows XP Home Edition (build 2600) Service Pack 2.0

Search Path:
 .GlobalEnv, package:grid, package:methods, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, Autoloads, package:base

Respectfully,
Jeroen



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Jan 19 11:30:46 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:36 EST