[R] file.link fails on NTFS

2012-12-07 Thread Oliver Soong
Windows 7 64-bit, R 2.15.2 i386. Working directory is on an NTFS drive. writeLines(, file.txt) file.link(file.txt, link.txt) Warning in file.link(file.txt, link.txt) : cannot link 'link.txt' to 'link.txt', reason 'The system cannot find the file specified' No link is created. The

[R] system(wait = FALSE) seems to fail

2011-01-13 Thread Oliver Soong
I'm having problems with system(wait = FALSE) with R 2.12.1 (both i386 and x64 versions) on a 64-bit Windows 7 machine. This is as expected: print(system(cmd /c dir, wait = TRUE)) This fails: print(system(cmd /c dir, wait = FALSE)) I did not see this with 2.12.0, and things seem to work fine

[R] R 2.11, shell, spaces

2010-09-07 Thread Oliver Soong
Can somebody confirm some unexpected behavior? This is under Windows, with R 2.11.0 and 2.11.1. 1. Create a trivial test file (I called it test.R) containing: cat(Success.\n) 2. Load R (Gui or Term) and run: shell(\C:\\path\\to\\Rscript.exe\ \C:\\path\\to\\test.R\) In my case, I get various

Re: [R] R 2.11, shell, spaces

2010-09-07 Thread Oliver Soong
at 3:44 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 07/09/2010 5:01 PM, Oliver Soong wrote: Can somebody confirm some unexpected behavior?  This is under Windows, with R 2.11.0 and 2.11.1. 1. Create a trivial test file (I called it test.R) containing: cat(Success.\n) 2. Load R (Gui

[R] 2.7.0 graphics changes and png devices

2008-05-19 Thread Oliver Soong
Hi, I have a question about the graphics changes in 2.7.0. The example is this bit of code: par(mfcol = c(2, 3)) for(i in 1:6) plot(1:10, 1:10, xlab = xlab, ylab = ylab, main = main) In 2.7.0, if I do this interactively (using windows()), I get bold titles. If I do this through a png device,

Re: [R] 2.7.0 graphics changes and png devices

2008-05-19 Thread Oliver Soong
Apologies for the double-post, but I figured I should be slightly more specific. I'm using the windows version of 2.7.0 and 2.6.2. My calls to png is simply png(2.7.0.png) and png(2.6.2.png), respectively, followed by the appropriate dev.off(). Oliver On 5/19/08, Oliver Soong [EMAIL PROTECTED

[R] cor -1

2008-05-18 Thread Oliver Soong
I'm having what looks like a quantization problem with cor on R 2.7.0. I get warnings from cor.test because r -1. R session output is at the bottom. A simple fix would be to add the appropriate checks to the end of the internal cor code. Oliver x - c(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0,

[R] pairs, par(plt)

2007-10-20 Thread Oliver Soong
information not do what I expect? Do I have some fundamental misunderstanding of the arrangement of plotting, figure, display, and margin regions within the device? I'm using R 2.5.1, and this behavior occurs on a fresh R console. Thanks! Oliver -- Oliver Soong Donald Bren School