[R] Code works on Mac but not Windows

Thierry Onkelinx thierry.onkelinx at inbo.be
Mon May 11 08:54:51 CEST 2015

Dear Glenn,

We need more details on the function. Please provide a commented, minimal,
self-contained version of the function that reproduces the problem (as the
posting guide asks you to do).

Best regards,

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2015-05-11 3:03 GMT+02:00 Glenn Schultz <glennmschultz op me.com>:

> Hello All,
> Testing my code on a Windows based machine today.  There seems to be an
> offending line of code.  I have pasted it below.  Basically, I check to see
> if the user passed a fit method to TermStructure and if not then default to
> "ns".
> The above works fine on my Mac but a windows build errors no method.  I
> have to pass a method = "ns" in the function.  If I pass the value for
> method to the function it will run with no error.  Any thoughts are
> appreciated.
> Best Regards,
> Glenn
>   #Default method for TermStructure
>   if(missing(method)) method = "ns"
> ______________________________________________
> R-help op r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

	[[alternative HTML version deleted]]

More information about the R-help mailing list