I have a mac with snow leopard, I downloaded R-2.10.1.pkg and installed ok.
I think I have done something wrong next.
I am not sure I have everything running correctly.
I think the library installed correctly but I don't know how to check that.
I opened R console, and pasted source('https://openmx.ssri.psu.edu/getOpenMx.R')
the file downloaded and I got this message
The downloaded packages are in
/var/folders/-9/-9+HhN1kGMO4-yHl4DD1Bk+++TI/-Tmp-//RtmpaaVukg/downloaded_packages
I ran the short example on the quickstart page
addone <- function(number) {
+ number <- number + 1
+ return(number)
+ }
and it seems to be printing out ok. here is what is prints.
> avariable <- 5
>
> print(addone(avariable))
[1] 6
does this short example mean my install is correct? I only ask because I tried a more complex example and got errors.
I first want to ensure that I have a good start before I start tweaking further.
thanks
and it seems to be printing out ok. here is what is prints.