[R] Baffled: triggering error message with an sd result in odfWeave?

Tubin sredmonson at yahoo.com
Mon Dec 15 21:56:21 CET 2008


All interesting suggestions.  Let's see...

Running the code on a randomly-generated dataframe or a different "real"
dataset still has the problem.
A  whole new document with only a single line \Sexpr{trainsd} seems to work
just fine.
If, in the actual project document, I use: 

<<test, results=xml,echo=F>>=
odfCat(trainsd)
@

to bring in that value, rather than the \Sexpr, it works - I get the
appropriate value with no error message.  Of course the formatting's all
wrong...




Sarah Goslee wrote:
> 
> Nothing leaps out as obviously wrong to me. It may even be something
> earlier
> in the ODFWeave file that is causing the error. You said the code works at
> the command line, right?
> 
> The next thing I'd do is try to make the smallest possible ODFWeave file
> that has the problem - make a copy, then start deleting bits until it
> works.
> If  possible, try with a different dataframe as well (rename something
> else
> to trainwhateveritwas), or generate a new random dataframe from within
> your ODFWeave document.
> 
> Sarah
> -- 
> Sarah Goslee
> http://www.functionaldiversity.org
> 
> ______________________________________________
> 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/Baffled%3A-triggering-error-message-with-an-sd-result-in-odfWeave--tp21016679p21021860.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list