On 4/07/2008, at 10:49 AM, theBenjamin wrote:


I am new to R, so this is most likely a dumb question. I just installed the vcb package, but when I try to use a function from it (ternaryplot) I get an error message saying 'could not find function: ternaryplot'. I'm pretty confident that my script is correct, so I'm assuming that I did not properly install the package. Is there another step past downloading, and selecting 'install packages from zip file' in the gui app? In case my code is the
problem, here it is.

X <- as.matrix(AllData)

ternaryplot (
X[,2:4],
id = X[,1],
id_color = "black",
main = "Solvents"
)


You need to ***load*** the package before trying to use it.
I.e. execute

        > library(vcb)

before calling ternaryplot.

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
R-help@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.

Reply via email to