Dear R users and experts,

I am current running a program (a series of commands) in R. such as:

A <- as.matrix(read.table("C:/LP.txt"));

a=which(memb==q); b=a; B=as.matrix(A[a,b])

LS=sum(B)/2;

TL=sum(A)/2

i<-c(1:NN);

D=sum(A[a,i]);

how can i obtain the CPU time used for these commands ?

I have seen the system.time function but i am not sure how to use it. Could anyone help me ?

****** If we have a number of commands, how can we know the CPU for these commands *******


Thanks a lot for your time and help

Have a nice day!

Warm Regards

Marshall


	[[alternative HTML version deleted]]

