Displaying 4 results from an estimated 4 matches for "txtcomment".
2012 Feb 14
1
txtStart creates a NULL file
...ninfo are below. The OS is Mac OS 10.6.8.
Yours truly, Simon Kiss
install.packages("HSAUR")
library(HSAUR)
library(TeachingDemos)
data("Forbes2000", package="HSAUR")
#This is a test of R output for the blind
txtStart('test.txt', commands=TRUE, results=TRUE)
txtComment('This command provides the mean profit in the data set')
mean(Forbes2000$profits, na.rm=TRUE)
txtComment('This command provides the standard deviation of the profits data set')
sd(Forbes2000$profits, na.rm=TRUE)
txtComment('This command provides the average profit by country'...
2012 Dec 17
5
save to file
Hi,
What's the equivalent of "Save to File" from the R console File menu on an R routine? Just trying
to capture the whole R console into a text file when my code fails.
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA
http://www.fws.gov/redbluff/rbdd_jsmp.aspx
[[alternative HTML version deleted]]
2008 Sep 24
2
Add "title" in sink output and possibility of plot-like output for text
Hello,
I have been using sink to create text file outputs.
>sink("summ_model1and2.txt")
> summary(model1)
> summary(model2)
> sink()
Q1: Is there a way I could add a line of the text above the summary to act
like a title?
Also, I have been using the following to save plots from the lm function:
> pdf("small.bin.ENN_MN_withQ.pdf")
> par(mfrow = c(2, 2), oma
2009 Sep 14
2
Is there an equivalent of "echo"
Sorry I'm having one of those moments where I can't find the answer but I bet its obvious...
I'm outputting my results to a file using sink()
Is there a command simillar to php's echo command that would allow me to add some text to that file ie:
dataFr$a = 1:10
dataFr$b = 2*1:10
sink ("filepath/filename.txt", split=T)
#Show number of entries in vector a
table