[R] Code works on Mac but not Windows
thierry.onkelinx at inbo.be
Mon May 11 08:54:51 CEST 2015
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).
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
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
> 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
> Best Regards,
> #Default method for TermStructure
> if(missing(method)) method = "ns"
> R-help op r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help