Re: [R-SIG-Mac] Some introductory questions
> On 7 Sep 2020, at 9:31 am, Mike Feher wrote: > 2. Are these objects, etc. stored on disk somewhere, or are they only > accessible via the interfaces? For example, I would be interested to see > the source code for the demo examples to learn how to do certain things, if > this is possible. (It appeared as if the code for each demo that is > executed as part of the ‘demo()’ command displayed in my R console, but I > just want to be sure about this.) How to find the demo files is contained in the demo help. Type ?demo > 4. I tried to read in a set of dummy space-delimited data saved in an > absolute path on my computer, but it would not work. I tried something in > another path that did not have a subfolder with a space in it (I.e. I plan > on storing my data in a folder called “R Documents” or something similar) > and that didn’t work either, so I’m still wondering whether or not (a) > things have to be in the library location (it seems like you could > customize that) and (b) whether R recognizes spaces in file paths. > Try using file.choose() to locate files using a dialog and it will return the full name. Spaces shouldn’t matter provided that everything is enclosed in quotes. Most people don’t use absolute references. They set the working directory and then just use the name of the file. See under the Misc menu. Ken ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Some introductory questions
> On Sep 6, 2020, at 4:31 PM, Mike Feher wrote: > > Greetings, > > As I’m getting familiar with R, I have some basic questions that I thought > of to shoot to useRs: You should review the ListInfo material. Most of these questions have nothing to do with the Mac version of R. > > 1. When looking up library functions, symbols, objects, etc., is there a > Google-style “global search” capability for all that is available with my > installation? Or is it just all accessible via navigating the help() tree? You should be trying help.search() or it's shortcut `??` > 2. Are these objects, etc. stored on disk somewhere, or are they only > accessible via the interfaces? For example, I would be interested to see > the source code for the demo examples to learn how to do certain things, if > this is possible. (It appeared as if the code for each demo that is > executed as part of the ‘demo()’ command displayed in my R console, but I > just want to be sure about this.) Not sure what you are considering "interfaces". Pretty much everything is on disk. > 3. How does one restore a saved session automatically? Is that saved in a > file or files anywhere on the local filesystem? They are generally automagically reloaded if you exited in a manner that saved them and restart from the same directory. The state of the previous session is stored in a special .Rdata file which is invisible to Macs and Windoze machines by default. You need to modify your system file manage to see them. Read about .Rdata files and how to use them. > 4. I tried to read in a set of dummy space-delimited data saved in an > absolute path on my computer, but it would not work. Sadder words were never written, but most of the sadness derives from the failure to efficiently communicate what "it" actually was. > I tried something in > another path that did not have a subfolder with a space in it (I.e. I plan > on storing my data in a folder called “R Documents” or something similar) > and that didn’t work either, so I’m still wondering whether or not (a) > things have to be in the library location (it seems like you could > customize that) and (b) whether R recognizes spaces in file paths. R does recognize space on a Mac. You need to provide actual code. I cannot intuit what errors you are making from this description. > > Please keep in mind that I am consulting the documentation first, but maybe > not doing a global Google search for examples of these things. I’m trying > to remember to do both as I go along, so as not to bother everyone. > > Regards and thanks in advance, > Mike > > [[alternative HTML version deleted]] > Well you are not reading the documentation for this list (or any of the several R-project list) since you are posting in HTML. Hth; David. > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] Some introductory questions
Greetings, As I’m getting familiar with R, I have some basic questions that I thought of to shoot to useRs: 1. When looking up library functions, symbols, objects, etc., is there a Google-style “global search” capability for all that is available with my installation? Or is it just all accessible via navigating the help() tree? 2. Are these objects, etc. stored on disk somewhere, or are they only accessible via the interfaces? For example, I would be interested to see the source code for the demo examples to learn how to do certain things, if this is possible. (It appeared as if the code for each demo that is executed as part of the ‘demo()’ command displayed in my R console, but I just want to be sure about this.) 3. How does one restore a saved session automatically? Is that saved in a file or files anywhere on the local filesystem? 4. I tried to read in a set of dummy space-delimited data saved in an absolute path on my computer, but it would not work. I tried something in another path that did not have a subfolder with a space in it (I.e. I plan on storing my data in a folder called “R Documents” or something similar) and that didn’t work either, so I’m still wondering whether or not (a) things have to be in the library location (it seems like you could customize that) and (b) whether R recognizes spaces in file paths. Please keep in mind that I am consulting the documentation first, but maybe not doing a global Google search for examples of these things. I’m trying to remember to do both as I go along, so as not to bother everyone. Regards and thanks in advance, Mike [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Looking for help - demo() hangs R.app on 10.15.6
I am pleased to announce that Peter’s suggestion worked! I just downloaded and installed the R-4.0.0 (Patched) from the Mac nightly builds site and now R.app is version 1.73 and the rev is 7883. The command ‘demo()’ worked just fine. Thank you very much! Mike On September 6, 2020 at 4:54:03 PM, Mike Feher (mfeher1...@gmail.com) wrote: I am experiencing my issues with the same version: R.app 1.72, rev 7847. I’ll attempt a rev 7849 download. Thank you both for responding! Mike On September 6, 2020 at 3:30:06 PM, David Carlson (dcarl...@tamu.edu) wrote: I'm having the problem on R for R 4.0.2 GUI 1.72 Catalina build (7847). David Carlson On Sun, Sep 6, 2020 at 12:22 PM peter dalgaard wrote: > Which Rgui version is this? A somewhat similar issue with opening files on > some platforms was fixed shortly after 4.0.2 in Rgui rev 7849. > > I forget whether this was pushed to the CRAN binary (my install has 7847). > At any rate, if yours is older, you may want to try Rgui.app from > https://urldefense.com/v3/__https://mac.r-project.org__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpF8AXt8k$ > > -pd > > > On 5 Sep 2020, at 22:55 , Michael Feher wrote: > > > > Hello! I am a brand-new useR and have installed R-4.0.2.pkg and XQuartz > on my macOS 10.15.6. The R GUI launches fine, but when I type 'demo()', > the application hangs (even with XQuartz running). However, I can run from > the CLI in my XQuartz window just fine. Where can I go to get help to get > up and running? Thank you. > > > > Mike > > ___ > > R-SIG-Mac mailing list > > R-SIG-Mac@r-project.org > > > https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpqDyJTRA$ > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd@cbs.dk Priv: pda...@gmail.com > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > > https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpqDyJTRA$ > [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Looking for help - demo() hangs R.app on 10.15.6
I am experiencing my issues with the same version: R.app 1.72, rev 7847. I’ll attempt a rev 7849 download. Thank you both for responding! Mike On September 6, 2020 at 3:30:06 PM, David Carlson (dcarl...@tamu.edu) wrote: I'm having the problem on R for R 4.0.2 GUI 1.72 Catalina build (7847). David Carlson On Sun, Sep 6, 2020 at 12:22 PM peter dalgaard wrote: > Which Rgui version is this? A somewhat similar issue with opening files on > some platforms was fixed shortly after 4.0.2 in Rgui rev 7849. > > I forget whether this was pushed to the CRAN binary (my install has 7847). > At any rate, if yours is older, you may want to try Rgui.app from > https://urldefense.com/v3/__https://mac.r-project.org__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpF8AXt8k$ > > -pd > > > On 5 Sep 2020, at 22:55 , Michael Feher wrote: > > > > Hello! I am a brand-new useR and have installed R-4.0.2.pkg and XQuartz > on my macOS 10.15.6. The R GUI launches fine, but when I type 'demo()', > the application hangs (even with XQuartz running). However, I can run from > the CLI in my XQuartz window just fine. Where can I go to get help to get > up and running? Thank you. > > > > Mike > > ___ > > R-SIG-Mac mailing list > > R-SIG-Mac@r-project.org > > > https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpqDyJTRA$ > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd@cbs.dk Priv: pda...@gmail.com > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > > https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpqDyJTRA$ > [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Looking for help - demo() hangs R.app on 10.15.6
I'm having the problem on R for R 4.0.2 GUI 1.72 Catalina build (7847). David Carlson On Sun, Sep 6, 2020 at 12:22 PM peter dalgaard wrote: > Which Rgui version is this? A somewhat similar issue with opening files on > some platforms was fixed shortly after 4.0.2 in Rgui rev 7849. > > I forget whether this was pushed to the CRAN binary (my install has 7847). > At any rate, if yours is older, you may want to try Rgui.app from > https://urldefense.com/v3/__https://mac.r-project.org__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpF8AXt8k$ > > -pd > > > On 5 Sep 2020, at 22:55 , Michael Feher wrote: > > > > Hello! I am a brand-new useR and have installed R-4.0.2.pkg and XQuartz > on my macOS 10.15.6. The R GUI launches fine, but when I type 'demo()', > the application hangs (even with XQuartz running). However, I can run from > the CLI in my XQuartz window just fine. Where can I go to get help to get > up and running? Thank you. > > > > Mike > > ___ > > R-SIG-Mac mailing list > > R-SIG-Mac@r-project.org > > > https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpqDyJTRA$ > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd@cbs.dk Priv: pda...@gmail.com > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > > https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!KwNVnqRv!WWCmSB3D7SUSON7cEBWdCPTbpb7xYwE16JYJCMR1n76M-ZesYDeQEvKpqDyJTRA$ > [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Looking for help - demo() hangs R.app on 10.15.6
Which Rgui version is this? A somewhat similar issue with opening files on some platforms was fixed shortly after 4.0.2 in Rgui rev 7849. I forget whether this was pushed to the CRAN binary (my install has 7847). At any rate, if yours is older, you may want to try Rgui.app from https://mac.r-project.org -pd > On 5 Sep 2020, at 22:55 , Michael Feher wrote: > > Hello! I am a brand-new useR and have installed R-4.0.2.pkg and XQuartz on > my macOS 10.15.6. The R GUI launches fine, but when I type 'demo()', the > application hangs (even with XQuartz running). However, I can run from the > CLI in my XQuartz window just fine. Where can I go to get help to get up and > running? Thank you. > > Mike > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac