tag:blogger.com,1999:blog-1275149608391671670.post6571757032295720188..comments2023-09-28T06:13:40.704-04:00Comments on SAS and R: Plug for RStudio: powerful, free, and easy to use interactive development environment for RKen Kleinmanhttp://www.blogger.com/profile/09525118721291529157noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-1275149608391671670.post-75238955699178952402014-07-04T16:06:19.873-04:002014-07-04T16:06:19.873-04:00Hi, Matt--
Thanks for that praise, and I hope th...Hi, Matt-- <br /><br />Thanks for that praise, and I hope that the book is helpful to you. Looking back on this post, it's hard to believe it's only 3 and half years since RStudio appeared, given how much it's become a part of my process and how much more it now does.<br /><br />I'm not aware of simple ways to run SAS from RStudio. It would be possible, though clunky, to use RStudio as a text editor for .sas, .log and .lst files, and to write R functions to submit SAS batch jobs in the OS. I think that would be a bit sad in light of the increased use of graphics in recent versions of SAS, though.<br /><br />With (a lot) more work, you could probably do a similar thing, but leveraging the RStudio interface and making SAS HTML output go to a file that RSudio could/would display in a quadrant.<br /><br />Another option would be to work with the proc_r SAS macro described here http://sas-and-r.blogspot.com/2012/01/sas-macro-simplifies-sas-and-r.html. That would mean using the SAS IDE and basically using R only in batch, though. And many people have had trouble with proc_r. I have not used it in some time, myself.<br /><br />If you find or make a nice solution, please tell us about it!Ken Kleinmanhttps://www.blogger.com/profile/09525118721291529157noreply@blogger.comtag:blogger.com,1999:blog-1275149608391671670.post-46328954457726299792014-07-03T18:19:54.507-04:002014-07-03T18:19:54.507-04:00Great post (and looks like great book, too!...just...Great post (and looks like great book, too!...just grabbed a copy from CRC Press site). I love RStudio for all the same reasons. I found your post googling for info on whether I could run SAS code from RStudio. I'm tired of moving between SAS, Stata, and R IDEs, and I'm wondering if there's a way to do all from one. Either one of the program's IDEs (Rstudio would be my pref), or through a separate IDE. I'm not really a programmer (researcher who programs), so I don't know all the IDEs out there. I'm trying to setup a makeshift IDE with TextPad or NotePad++ (already have a workflow for my files that works well, so don't need versioning, etc.). <br /><br />Any pointers would be very welcome. Thaks!Matt Janshttps://www.blogger.com/profile/11096204786869681199noreply@blogger.comtag:blogger.com,1999:blog-1275149608391671670.post-29631197398662066542011-04-11T11:36:33.700-04:002011-04-11T11:36:33.700-04:00The new version of RStudio includes a fully custom...The new version of RStudio includes a fully customizable layout. See: http://blog.rstudio.org/2011/04/11/rstudio-beta2/Ken Kleinmanhttps://www.blogger.com/profile/09525118721291529157noreply@blogger.comtag:blogger.com,1999:blog-1275149608391671670.post-31846090504355513362011-02-28T20:20:19.776-05:002011-02-28T20:20:19.776-05:00I also haven't found a way to do that, but I h...I also haven't found a way to do that, but I haven't found it irritating. And I use two monitors, one of which is pretty wide (the other is my laptop). I find the layout works very well for me; if I was going to change something, I'd keep the help tab and the plots tab in different windows.<br /><br />Send a note to RStudio's developers-- they're nice. Odds are pretty high they're considering making it fully configurable or they have some sound reasoning about why they're not planning to do it.Ken Kleinmanhttps://www.blogger.com/profile/09525118721291529157noreply@blogger.comtag:blogger.com,1999:blog-1275149608391671670.post-25389412588907400372011-02-28T19:05:33.102-05:002011-02-28T19:05:33.102-05:00Thanks for the pointer.
If there is a way to put ...Thanks for the pointer.<br /><br />If there is a way to put the source code and the console side by side, I don’t see it. This is a HUGE drawback for those with wide screens or multiple monitors.Anonymousnoreply@blogger.com