[R] tcltk installation problem in R (Mac OS X version)

2012-09-13 Thread Nitin Bhardwaj
Hi all, I just installed R on my Mac OS X machine and wanted to installed tcl/tk. So, I installed tcl/tk from this page: http://cran.r-project.org/bin/macosx/tools/ It gets placed in /usr/local dir. and then I installed R. Next, in R, I set the TCL_LIBRARY variable by saying Sys.setenv(TCL_LIBRAR

[R] Fitting 3 beta distributions

2011-10-01 Thread Nitin Bhardwaj
Hi, I want to fit 3 beta distributions to my data which ranges between 0 and 1. What are the functions that I can easily call and specify that 3 beta distributions should be fitted? I have already looked at normalmixEM and fitdistr but they dont seem to be applicable (normalmixEM is only for fittin