Hi, I have found a strange thing. If I copy and paste the R source file, then the result is okay with. However, if I use R GUI (File icon and Source File), then the result is different. Please let me know possible reasons. Many thanks in advance. Best Ja-Yong [[alternative HTML version deleted]]
On Fri, Apr 09, 2004 at 01:33:18PM +0900, Ja-Yong Koo wrote:> I have found a strange thing. If I copy and paste the R source file, then > the result is okay with. However, if I use R GUI (File icon and Source > File), > then the result is different. Please let me know possible reasons.Next time you ask a question please provide more information -- I have to guess what you mean by the result being "different". And read the posting guide. The source("filename.R") command in R simply reads and evaluates the source file, but won't display it. Use> source("filename.R", echo=TRUE)to display the commands in the file. See> ?sourcefor further information. Best, Tamas -- Tam??s K. Papp E-mail: tpapp at axelero.hu Please try to send only (latin-2) plain text, not HTML or other garbage.
Could you please help me. How can I get indexes of matrix elements equal to the specified value. Thanks in advance.
which(matrix(rnorm(30), ncol=3) > 1, arr.ind = TRUE) See ?which Ivan Yegorov wrote:> Could you please help me. How can I get indexes of matrix elements equal to the specified value. Thanks in advance.-- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 452-1424 (M, W, F) fax: (917) 438-0894
I use R for Windows. I got error "Can not allocate 100 Mb for vector". Does R use only physical memory or it can operate with virtual memory? What should I do if it does. Thanks in advance.
Hi On 13 Apr 2004 at 14:51, Ivan Yegorov wrote:> I use R for Windows. I got error "Can not allocate 100 Mb for vector". > Does R use only physical memory or it can operate with virtual memory? > What should I do if it does. Thanks in advance.Starting R with --max-mem-size 550M option can help. The figure depends on your memory size. Newer versions are better in using memmory resources. Cheers Petr> > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.htmlPetr Pikal petr.pikal at precheza.cz