[R] Problems with Rcmdr and BiodiversityR

John Fox jfox at mcmaster.ca
Sun Jan 4 18:08:22 CET 2009


Dear Frieda,

I'm afraid that I completely misunderstood your question. I was
unfamiliar with the BiodiversityR package and thought that you were
writing an Rcmdr plug-in for it. 

Actually, I see that BiodiversityR uses the Rcmdr interface, but isn't
written as a standard plug-in. Instead, it apparently manipulates the
Rcmdr menu file directly. This is inadvisable, and I suspect that
package is simply incompatible with the current version of the Rcmdr
package. I suggest that you contact the package maintainer, who might
choose to rewrite the package as a plug-in.

Regards,
 John

On Sun, 4 Jan 2009 08:55:35 -0800 (PST)
 Frieda <friederike.grueninger at uni-passau.de> wrote:
> 
> Dear John,
> thanks for the quick answer - I'm new to R and sometimes a bit lost
> in the
> "jungle"... - version conflict seems to be the problem. I use the
> recent
> Rcmdr Version but took the plug-in package for BiodiversityR from the
> authors page, which seems to be not updated
>
(http://www.worldagroforestry.org/treesandmarkets/tree_diversity_analysis.asp).
> I'll find a working plug-in!
> Thanks again
> 
> Frieda
> 
>  
> 
> John Fox-6 wrote:
> > 
> > Dear Frieda,
> > 
> > I'm afraid that it's not possible to tell from the information that
> > you've given what the source of the problem is. What version of
> Rcmdr
> > are you using? Have you written an Rcmdr plug-in package for
> > BiodiversityR? Where in your code is this error produced? Etc.
> > 
> > My guess is that there's a version conflict, since the current
> version
> > of the Rcmdr package on CRAN (1.4-6) doesn't use the variable
> > operatorFont, which was previously employed to render the various
> > operator buttons (+, *, etc.) used in the formula fields of
> > statistical-modeling dialogs. (Now the standard font is used on the
> > buttons.) This variable was (and is) used nowhere else in the Rcmdr
> > package. The error was probably produced by the command
> > getRcmdr("operatorFont"); why that should be in your code, I can't
> say.
> > 
> > Although I don't know the specific source of the error, I recommend
> > that you start by updating R, the Rcmdr package, and all other
> packages
> > to their current versions. Your plug-in should call the current
> > versions of Rcmdr utility functions, such as modelFormula().
> > 
> > I hope this helps,
> >  John
> > 
> > On Sun, 4 Jan 2009 07:59:27 -0800 (PST)
> >  Frieda <friederike.grueninger at uni-passau.de> wrote:
> >> 
> >> Dear all,
> >> I run R 2.7.2 under Windows and integrated BiodiversityR
> sucessfully
> >> into
> >> the R commander. Most functions of BiodiversityR run but others
> (like
> >> "analysis of species as response") produce blank windows and the
> >> message:
> >> 
> >> Error in get(x, envir = RcmdrEnv(), mode = mode, inherits = FALSE)
> : 
> >>   Variable "operatorFont" nicht gefunden
> >> 
> >> What's wrong?
> >> 
> >> Best regards, Frieda
> >> 
> >> -- 
> >> View this message in context:
> >>
> >
>
http://www.nabble.com/Problems-with-Rcmdr-and-BiodiversityR-tp21277781p21277781.html
> >> Sent from the R help mailing list archive at Nabble.com.
> >> 
> >> ______________________________________________
> >> R-help at r-project.org mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide
> >> http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible code.
> > 
> > --------------------------------
> > John Fox, Professor
> > Department of Sociology
> > McMaster University
> > Hamilton, Ontario, Canada
> > http://socserv.mcmaster.ca/jfox/
> > 
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> > 
> > 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/Problems-with-Rcmdr-and-BiodiversityR-tp21277781p21278408.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

--------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/




More information about the R-help mailing list