[R] R 2.11.1 crashes

2010-09-30 Thread Steve Su
Dear R community,

I was using R 2.11.1 without internet connection on Windows XP and whenever I 
type ?mean for example, R would freeze and crash out...

Is this something that can be fixed? I would like to use the internel help file 
if possible...

Thanks.

###

Assistant Professor Steve Su
School of Mathematics and Statistics
Faculty of Engineering, Computing and Mathematics

M019, 35 Stirling Highway
Crawley, 6009, WA, Australia

Phone:+6164883369

http://www.uwa.edu.au/people/steve.su
CRICOS Provider Code: 00126G
[[alternative HTML version deleted]]

__
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.


[R] extracting more information from optim in R?

2011-01-11 Thread Steve Su
Dear All,

I am in the process of translating some of my functions into C and one such 
function sometimes get stuck when I applied optim. The pure R codes work fine 
but the translated C codes occasionally get stuck and I like to find out why. 

Is it possible to extract the parameters of function calculated in each step of 
the Nelder-Simplex algorithm, the trace option only produce the value of the 
objective function in each iteration? Is there a simple way to extract this 
information?

Any help greatly appreciated.

###

Assistant Professor Steve Su
School of Mathematics and Statistics
Faculty of Engineering, Computing and Mathematics

M019, 35 Stirling Highway
Crawley, 6009, WA, Australia

Phone:+6164883369

http://www.uwa.edu.au/people/steve.su
CRICOS Provider Code: 00126G
[[alternative HTML version deleted]]

__
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.