Thanks, Ista.
I inserted fig=TRUE to the chunk and it did work. However, it generated each
plot into separate files in the directory as well.
I have much more to learn soon.
Wuyi
--
View this message in context:
http://r.789695.n4.nabble.com/Compiling-graphics-into-the-same-PDF-file-tp456058
I am new to R and RStudio. I am using a sweave template to compile a pdf
file when i finish the R code. However, it generated a new pdf called
Rplot.pdf to save all graphics separately from the original file? How could
I combine the two pdf into one?
Any helps will be appreciated.
My work envi
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
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
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
5 matches
Mail list logo