Re: [R] could not find function when compiling PDF

2012-04-14 Thread Uwe Ligges
On 14.04.2012 16:01, damiloveu wrote: Could everyone help me? First of all, read the posting guide to this mailing list - and try to avoid the Nabble interface! Other issues: 1. Learn to ask your question precisely. 2. Learn to use a mailing list and quote the former messages in the thre

Re: [R] could not find function when compiling PDF

2012-04-14 Thread damiloveu
Could everyone help me? -- View this message in context: http://r.789695.n4.nabble.com/could-not-find-function-when-compiling-PDF-tp4555489p4557250.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list htt

[R] could not find function when compiling PDF

2012-04-13 Thread damiloveu
Hi all, I could use the function when I am in the console. After I finish my assignment and compile them to the pdf, there was an error said, could not find the function XXX. How come this happen? I am a new user to R. Thanks for everyone's help! -- View this message in context: http://r.789695

Re: [R] could not find function when compiling PDF

2012-04-13 Thread damiloveu
it works in console, like this: > mult.corr(X,Y) $mult.corr [1] 0.8382398 $p.mult [1] 3.570699e-12 $partial.corr [1] 0.18447499 -0.09837888 0.12007457 $p.partial [1] 0.2094076 0.5058976 0.4162641 and it doesn't work when compiling. Error: chunk 3 (label = ques3) Error in eval(expr, envir, e