Hallo, can anyone tell me how I can import a stored workspace of another program into R. I want to use the variables together with their values in new R programmed functions. I could not really find a solution in the paper "R Data Export/Import" Thanks, Corinna
Hi Do you know what is the program from which you have stored workspace? If you mean that you have some stored R data you shall probably consult save/load help page and/or other possible means of data loading like dput/dget, write/read and maybe some other. Regards Petr On 27 Mar 2007 at 15:36, Schmitt, Corinna wrote: Date sent: Tue, 27 Mar 2007 15:36:16 +0200 From: "Schmitt, Corinna" <Corinna.Schmitt at igb.fraunhofer.de> To: <r-help at stat.math.ethz.ch> Subject: [R] Import of a workspace into R> Hallo, > > can anyone tell me how I can import a stored workspace of another > program into R. I want to use the variables together with their values > in new R programmed functions. > > I could not really find a solution in the paper "R Data Export/Import" > > Thanks, > Corinna > > ______________________________________________ > 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.Petr Pikal petr.pikal at precheza.cz
On Tue, 2007-03-27 at 15:36 +0200, Schmitt, Corinna wrote:> Hallo, > > can anyone tell me how I can import a stored workspace of another > program into R. I want to use the variables together with their values > in new R programmed functions. > > I could not really find a solution in the paper "R Data Export/Import" > > Thanks, > CorinnaYou will need to provide more information regarding the data source. Marc Schwartz
Hallo, Sorry for more details before but I was in a hurry. One workspace comes from Matlab and one should come from Bioconductor. At the moment I can just work with the Matlab-workspace. I just know that the data is stored in an Excel-File --> I have a table. I know that there exists an RMatlab packet but I could not found any near information or description of it. Can anyone help me or give me additional papers or Links? Thanks, Corinna
On Wed, 2007-03-28 at 13:22 +0200, Schmitt, Corinna wrote:> Hallo, > > Sorry for more details before but I was in a hurry. > > One workspace comes from Matlab and one should come from Bioconductor. > At the moment I can just work with the Matlab-workspace. I just know > that the data is stored in an Excel-File --> I have a table. > I know that there exists an RMatlab packet but I could not found any > near information or description of it. > > Can anyone help me or give me additional papers or Links? > > Thanks, CorinnaThere are various ways to read data stored in an Excel file and these are detailed in the R Data Import/Export manual. For the Matlab files, see the R.matlab package on CRAN: http://cran.r-project.org/src/contrib/Descriptions/R.matlab.html Using: RSiteSearch("matlab") would have revealed the above. Since Bioconductor is built upon R, those files should not be an issue. HTH, Marc Schwartz