This may not quite cover your needs, but sink("output.txt", split=TRUE) will send your console output to output.txt as well as the console window. From there you can search the file however you please. sink("output.txt", type="message") will record messages (Errors and warnings, mostly), but for some reason doesn’t allow split=TRUE, so you don’t see them in your console. sink(NULL) when you’re done stops recording the output.
Stupid question perhaps, but I need to do ctrl-F style finding in my console output. I'm on Windows. Don't see a way to do it in RStudio or the R GUI. Can do it in my console emulator, but as I'm set up now, that's inconvenient because I have to paste back and forth from the script. So two possible solutions: is there some kind of ctrl-F functionality for output in RStudio or the R GUI, or is there a convenient way to send lines from a script file to my console emulator (cmder), like ctrl-Enter in RStudio?
--
Check out our R resources at http://www.noamross.net/davis-r-users-group.html
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+...@googlegroups.com.
Visit this group at http://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/d/optout.