I was working on windows xp for a while and now i am back to linux ( not sure which kind but I can find out if that helps ) and i just have two questions that are really environment R questions rather than R code questions. 1) i use emacs ( or xemacs if need be ) and i vaguely being able to cut a line or a region in an emacs window and then paste it at my R prompt so that it ran. Could I be mistaken or is there an option I need to set in my environment to be able to do this. It doesn't seem to work and I would prefer to avoid learning ESS. 2) I can make my linux window ( where i am working in R ) quite wide but if i do a print or a head on a dataframe of say 8 columns , it doesn't know that there is all this extra space in the window and it ends up putting the columns on top of each other instead of straight across and it's hard to read the data this way ? Is there a way to make it know that it has a lot more room than it is using. Thanks a lot. Mark -------------------------------------------------------- This is not an offer (or solicitation of an offer) to buy/sell the securities/instruments mentioned or an official confirmation. Morgan Stanley may deal as principal in or own or act as market maker for securities/instruments mentioned or may advise the issuers. This is not research and is not from MS Research but it may refer to a research analyst/research report. Unless indicated, these views are the author's and may differ from those of Morgan Stanley research or others in the Firm. We do not represent this is accurate or complete and we may not update this. Past performance is not indicative of future returns. For additional information, research reports and important disclosures, contact me or see https://secure.ms.com/servlet/cls. You should not use e-mail to request, authorize or effect the purchase or sale of any security or instrument, to send transfer instructions, or to effect any other transactions. We cannot guarantee that any such requests received via e-mail will be processed in a timely manner. This communication is solely for the addressee(s) and may contain confidential information. We do not waive confidentiality by mistransmission. Contact me if you do not wish to receive these communications. In the UK, this communication is directed in the UK to those persons who are market counterparties or intermediate customers (as defined in the UK Financial Services Authority's rules). [[alternative HTML version deleted]]
On 10 October 2006 at 10:51, Leeds, Mark \(IED\) wrote: | 1) i use emacs ( or xemacs if need be ) and i vaguely being able to cut | a line or a region in an emacs window and then paste it at my R prompt | so that it ran. Could I be mistaken | or is there an option I need to set in my environment to be able to do | this. It doesn't seem to work and I would prefer to avoid learning ESS. All three questions in section 6 in the R FAQ details R and (X)Emacs. And yes, you do want to learn ESS as that is how (X)Emacs and R play together. | 2) I can make my linux window ( where i am working in R ) quite wide | but if i do a print or a head on a dataframe of say 8 columns , it | doesn't know that there is all this extra space | in the window and it ends up putting the columns on top of each other | instead of straight across and it's hard to read the data this way ? Is | there a way to make it know that it has a lot more room than it is | using. Put options("width"=160) # or whatever nb of columns you want into ~/.Rprofile. You may want to set other preferences too, see help("options") help("Startup") Good luck, Dirk -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison
Mark, you could also try rkward a gui for R from http://rkward.sourceforge.net/ or JGR. I have experimented with both because like you I have been avoiding learning ESS, and emacs just confuses me. rkward seems fine with a few quirks that I need to report as problems, like the object browser not showing the r session objects, and a couple of package functions not working correctly. I hope these are just because I have a RHEL 4 linux system. JGR, when I manually compiled it for my system by specifying my location of java 1.5.0_06, worked fairly nicely. The autoinstall does not find my installation of this java version since Redhat EL4 does not support it. Redhat EL5 will in the near future. Maybe JGR will autoinstall then. These are just GUI/programming options that I have tried. Good Luck Joe Leeds, Mark (IED) wrote:> I was working on windows xp for a while and now i am back to linux ( not > sure which kind but I can find out if that helps ) and i just have two > questions that are > really environment R questions rather than R code questions. > > 1) i use emacs ( or xemacs if need be ) and i vaguely being able to cut > a line or a region in an emacs window and then paste it at my R prompt > so that it ran. Could I be mistaken > or is there an option I need to set in my environment to be able to do > this. It doesn't seem to work and I would prefer to avoid learning ESS. > > 2) I can make my linux window ( where i am working in R ) quite wide > but if i do a print or a head on a dataframe of say 8 columns , it > doesn't know that there is all this extra space > in the window and it ends up putting the columns on top of each other > instead of straight across and it's hard to read the data this way ? Is > there a way to make it know that it has a lot more room than it is > using. > > > Thanks a lot. > > > > Mark > -------------------------------------------------------- > > This is not an offer (or solicitation of an offer) to buy/sell the securities/instruments mentioned or an official confirmation. Morgan Stanley may deal as principal in or own or act as market maker for securities/instruments mentioned or may advise the issuers. This is not research and is not from MS Research but it may refer to a research analyst/research report. Unless indicated, these views are the author's and may differ from those of Morgan Stanley research or others in the Firm. We do not represent this is accurate or complete and we may not update this. Past performance is not indicative of future returns. For additional information, research reports and important disclosures, contact me or see https://secure.ms.com/servlet/cls. You should not use e-mail to request, authorize or effect the purchase or sale of any security or instrument, to send transfer instructions, or to > effect any other transactions. We cannot guarantee that any such requests received via ! > e-mail will be processed in a timely manner. This communication is solely for the addressee(s) and may contain confidential information. We do not waive confidentiality by mistransmission. Contact me if you do not wish to receive these communications. In the UK, this communication is directed in the UK to those persons who are market counterparties or intermediate customers (as defined in the UK Financial Services Authority's rules). > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Joe Byers schrieb:> JGR, when I manually compiled it for my system by specifying my location > of java 1.5.0_06, worked fairly nicely. The autoinstall does not find > my installation of this java version since Redhat EL4 does not support > it. Redhat EL5 will in the near future. Maybe JGR will autoinstall then. >Can you tell how you worked that out (the manual compilation)? I failed on Fedora Core 5 with JRE 1.5.0_08 with install.packages and dep=true. I tried a hint from the JGR mailing list but failed... Stefan Grosse