Good evening, I tried loading an R global environment that I had saved so to resume my work on the datasets I manipulated during that particular R session. After loading the file directly, the same items that were contained in the original working environment from the previous session appeared to be successfully implemented in my new environment. I used the ls() command to ensure that the data I had loaded through my main console was present and properly formatted (as it appears to be) in the environment. This is the result...> ls()[1] "anno" [2] "cnames" [3] "GBM_protein_expression" [4] "mapper" [5] "meth" [6] "protein_expression.LGG.US.(1).tsv" [7] "stringAsFactors" [8] "vec" I was expecting an object/file name of some sort to appear given that I had loaded two datasets in this previous R session, manipulating them in a manner that resulted in the above output. Does this output illustrate that the data I worked with in the previous R session, with its cosmetic alterations and all, are all now loaded within this session? In other words, has my previous work been restored? I wanted to make sure somehow as I would like to manipulate the data further. Best, Spencer [[alternative HTML version deleted]]
Saving/loading does not affect the status of packages being loaded or not, which may affect how useful those objects are. This is why I depend on having a script that can reproduce my results at all times, and only use the load/save feature to minimize the number of times I have to re-do long recalculations. On July 3, 2019 2:59:44 PM PDT, Spencer Brackett <spbrackett20 at saintjosephhs.com> wrote:>Good evening, > >I tried loading an R global environment that I had saved so to resume >my >work on the datasets I manipulated during that particular R session. >After >loading the file directly, the same items that were contained in the >original working environment from the previous session appeared to be >successfully implemented in my new environment. I used the ls() command >to >ensure that the data I had loaded through my main console was present >and >properly formatted (as it appears to be) in the environment. > >This is the result... > >> ls() >[1] "anno" >[2] "cnames" >[3] "GBM_protein_expression" >[4] "mapper" >[5] "meth" >[6] "protein_expression.LGG.US.(1).tsv" >[7] "stringAsFactors" >[8] "vec" > >I was expecting an object/file name of some sort to appear given that I >had loaded two datasets in this previous R session, manipulating them >in a >manner that resulted in the above output. Does this output illustrate >that >the data I worked with in the previous R session, with its cosmetic >alterations and all, are all now loaded within this session? In other >words, has my previous work been restored? I wanted to make sure >somehow as >I would like to manipulate the data further. > >Best, > >Spencer > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >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.-- Sent from my phone. Please excuse my brevity.
I do have a script available, though it is not in a traditional R script file/document, but an .Rhistory file as well as on Notepad. Is there a way I can convert one or both of these file types into an R script file so that I can run the commands directly to my console? Best, Spencer On Wed, Jul 3, 2019 at 8:18 PM Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:> Saving/loading does not affect the status of packages being loaded or not, > which may affect how useful those objects are. This is why I depend on > having a script that can reproduce my results at all times, and only use > the load/save feature to minimize the number of times I have to re-do long > recalculations. > > On July 3, 2019 2:59:44 PM PDT, Spencer Brackett < > spbrackett20 at saintjosephhs.com> wrote: > >Good evening, > > > >I tried loading an R global environment that I had saved so to resume > >my > >work on the datasets I manipulated during that particular R session. > >After > >loading the file directly, the same items that were contained in the > >original working environment from the previous session appeared to be > >successfully implemented in my new environment. I used the ls() command > >to > >ensure that the data I had loaded through my main console was present > >and > >properly formatted (as it appears to be) in the environment. > > > >This is the result... > > > >> ls() > >[1] "anno" > >[2] "cnames" > >[3] "GBM_protein_expression" > >[4] "mapper" > >[5] "meth" > >[6] "protein_expression.LGG.US.(1).tsv" > >[7] "stringAsFactors" > >[8] "vec" > > > >I was expecting an object/file name of some sort to appear given that I > >had loaded two datasets in this previous R session, manipulating them > >in a > >manner that resulted in the above output. Does this output illustrate > >that > >the data I worked with in the previous R session, with its cosmetic > >alterations and all, are all now loaded within this session? In other > >words, has my previous work been restored? I wanted to make sure > >somehow as > >I would like to manipulate the data further. > > > >Best, > > > >Spencer > > > > [[alternative HTML version deleted]] > > > >______________________________________________ > >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > >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. > > -- > Sent from my phone. Please excuse my brevity. >[[alternative HTML version deleted]]