[R] Is there a function to save the content in R console to some file?

2011-03-30 Thread Chuanlong Du
Hello, everyone! Does anyone know whether there's a function in R which can save the content in R console to some file? I'm using Windows system and the usual R console instead of Rstudio. Regards! -- Chuanlong Du Department of Statistcis Iowa State University Ames, IA

[R] How can we modify attributes of files in Windows Systems using R?

2011-03-30 Thread Chuanlong Du
Hello! Does any one know how to modify attributes of files (hide, read only and etc) in Windows Systems using R? I tried to use shell to call system command, but it seems that it doesn't work well. Sometimes it works but sometimes not. Regards! -- Chuanlong Du Department of Statistcis

[R] How to define new operator in R?

2011-03-30 Thread Chuanlong Du
Hello, everyone! Does anyone know how make some symbols have special means in R? For example, we know that "+" in R means the sum of the two operand on its left and right. I want to define some operators in R by myself. Is this possible? Regards! -- Chuanlong Du Department of Stati