| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Compatibility issues with R and S+ |
| From: | Paul.Reynolds@ILIM.COM |
| Date: | Tue, 14 Mar 2006 07:56:17 -0000 |
|
Hi, [Apologies to readers of R-help mailing list who have already been mailed my issues below, which are now being put to the S community via the S-news list...] Can anyone please advise if there is a neat way to 'share' libraries of (previously developed) S+ code with R? Specifically, within S+ I can use the attach(what = "<Chapter Directory>", pos = 2) command, to retrieve previously developed functions and variables to position 2 in the search list. [Some may be intentionally masked by what's in the current working chapter]. Can I similarly directly retrieve these functions and variables within R at position 2 in the search list? I have been able to achieve limited success via a 2-stage approach of data.dump (or dump) within S+ and subsequent data.restore (or source) functionality within R. However, how do I restore objects to (a new R object at) position 2 as opposed to my workspace (e.g. env argument defaulting to .GlobalEnv via data.restore)? With regard to the 'attach' functionality within R I have been able to retrieve previous functions developed within R and saved as an R data file. So maybe my issue boils down to 'converting' the S+ <Chapter Directory> into an R data file? I hope there is indeed such a simple solution. Any help or advice would be greatly appreciated.
********************************************************************************** Irish Life Investment Managers Limited is authorised by the Financial Regulator under Section 10 of the Investment Intermediaries Act, 1995.
While Irish Life Investment Managers uses reasonable efforts to ensure that the information contained in this email is current, accurate and complete at the date of publication, no representations or warranties are made (express or implied) as to the reliability, accuracy or completeness of such information. Irish Life Investment Managers therefore cannot be held liable for any loss arising directly or indirectly from the use of, or any action taken in reliance on, any information contained in this email.
This material is for information only and does not constitute an offer or recommendation to buy or sell any investment, or subscribe to any investment management or advisory service. It is intended for the use of institutional and other professional investors. Past performance is not indicative of future results. The value of funds we manage may fall as well as rise.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. ********************************************************************************** |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Data frame not being correctly assigned?, Sarah Henderson |
|---|---|
| Next by Date: | JOB: mixed models, Jill Goldschneider |
| Previous by Thread: | Data frame not being correctly assigned?, Sarah Henderson |
| Next by Thread: | JOB: mixed models, Jill Goldschneider |
| Indexes: | [Date] [Thread] [Top] [All Lists] |