[R] Summation in R

2006-10-03 Thread Dina Said
Hello!

Maybe this is a trivial question as I'm still a new baby in R but I wish 
that u will help me.

I want to calculate the following

U= sum (t_j*v_j)

where t_j is a vector
and v_j is the matrix

Thanks
Dina

__
R-help@stat.math.ethz.ch 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] tcltk problem

2006-09-20 Thread Dina Said
Hi,

I'm using fedora core 3. I downloaded R and installed it. 
 After that, I invoked R by the root user and write the 
 command install.packages(Rcmdr, dependencies=TRUE). This 
 command installs Rcmdr automatically. However, whenever I 
type library(Rcmdr), it tells me that Loading required 
 package: tcltk Error in firstlib(which.lib.loc, package) :
 Tcl/Tk support is not available on this system
 Error: package 'tcltk' could not be loaded
 

tcl and tk are installed on my system

The problem is that R can't find them as I guess

Please help me to solve this problem

__
R-help@stat.math.ethz.ch 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.