Re: [R] Recommendation for website to format R code

2013-01-25 Thread Ista Zahn
I still don't understand what you are looking for, but https://gist.github.com/ is similar to pastebin, and it does have R syntax highlighting. Best, Ista On Thu, Jan 24, 2013 at 8:37 PM, C W wrote: > I ran across this page for C, Java, etc. No R. > > http://pastebin.com/ > It looks similar and

Re: [R] Recommendation for website to format R code

2013-01-25 Thread Suzen, Mehmet
Probably formatR/knitr is more robust but this one has an option for S http://hilite.me/ -m On 25 January 2013 02:37, C W wrote: > I ran across this page for C, Java, etc. No R. > > http://pastebin.com/ > It looks similar and more than what I was looking for, just saying. > > Mike > > > On Wed,

Re: [R] Recommendation for website to format R code

2013-01-24 Thread C W
I ran across this page for C, Java, etc. No R. http://pastebin.com/ It looks similar and more than what I was looking for, just saying. Mike On Wed, Jan 23, 2013 at 9:34 PM, Mark Lamias wrote: > Are you only interested in formatting code from copy and pasting to/from > email? If you are int

Re: [R] Recommendation for website to format R code

2013-01-24 Thread C W
thanks, Brian. I remember sending code to the R list, it was about the lattice package some time around June 2012. And someone else reformatted, and it my surprise it was eye-opening. Anyways, I will dig around on this list. Thanks, Mike On Thu, Jan 24, 2013 at 2:42 PM, Brian Diggs wrote: > O

Re: [R] Recommendation for website to format R code

2013-01-24 Thread Brian Diggs
On 1/23/2013 6:40 PM, C W wrote: Hey Mark, I am aware of this package. The situation is, 1. I am emailing my code from my machine to a public machine. Installation is a hassle. 2. Copy pasting for a website. For your second use case, there is the Pretty R syntax highlighter at http://www.insi

Re: [R] Recommendation for website to format R code

2013-01-23 Thread C W
Hey Mark, I am aware of this package. The situation is, 1. I am emailing my code from my machine to a public machine. Installation is a hassle. 2. Copy pasting for a website. I know there are websites for formatting Java and C code. So, I am looking for a website in particular, and I have seen

Re: [R] Recommendation for website to format R code

2013-01-23 Thread Mark Lamias
Are you only interested in formatting code from copy and pasting to/from email?  If you are interested in formatting your code in Latex/PDF/HTML take a look at the knitr package: http://yihui.name/knitr/ Also, you could check out the formatR package: http://cran.r-project.org/web/packages/forma