Displaying 3 results from an estimated 3 matches for "file327b23c6".
2009 May 21
3
file descriptor leak in getSrcLines in R 2.10.0 svn 48590
...-tempfile()
> cat(file=tf, "1:7\nlog(pi)\n")
> showConnections()
description class mode text isopen can read can write
> p<-parse(tf)
> showConnections()
description class mode text isopen can read can write
> p
expression(<srcref: file "/tmp/RtmpZ1llo5/file327b23c6" chars 1:1 to
1:3>,
<srcref: file "/tmp/RtmpZ1llo5/file327b23c6" chars 2:1 to 2:7>)
attr(,"srcfile")
/tmp/RtmpZ1llo5/file327b23c6
> showConnections()
description class mode text isopen can read
can write
3 "/tmp/RtmpZ1llo5/file...
2009 Sep 05
1
Is 'history' recorded in Rscript?
Hi,
I run the following command and try to save the commands that have
been run in the script. But it seems that no history is recorded. Is
it because that the history is not recorded in Rscript?
Regards,
Peng
$ Rscript savehistory.R
> f=tempfile()
> f
[1] "/tmp/Rtmp7WBjGG/file327b23c6"
> history()
Error in savehistory(file) : no history available to save
Calls: history -> savehistory
Execution halted
2009 Mar 12
1
read.xls and name of worksheet
...dds one space to the every
item in the last column.
The second problem is, that I could not found an a possibility to save
the name of the worksheet. It is shown on the screen, if I use the last
script. I see something like
Writing Sheet number 1 ('strenger') to file
'/tmp/RtmpFpSkBB/file327b23c6.csv'
The word in the single quotes is the name of the worksheet.
Therefore I tried to redirect the standard output to a file
library(gdata)
i<-1
rc<-0
while(rc != "try-error") {
log=paste("text.log",i,sep="")
print("log="); print(log)
#con&...