Hi, I am working on R 2.15.2 on Win. 7. I am trying to run some simple commends.>class(SWX.RET) # SWX.RET is a data file that has been loaded.But, I cannot see the expected output. I have deselected "buffered output". Still it does not work. Any help will be appreciated. Thanks [[alternative HTML version deleted]]
David Winsemius
2012-Nov-28 03:34 UTC
[R] error, R commends cannot show the expected output
On Nov 27, 2012, at 8:25 PM, Jack Bryan wrote:> > Hi, > > I am working on R 2.15.2 on Win. 7. > > I am trying to run some simple commends. > >> class(SWX.RET) # SWX.RET is a data file that has been loaded.How was it loaded?> > But, I cannot see the expected output.What output do you see? What is returned from ls()> > I have deselected "buffered output". Still it does not work.Any sink(.) commands before this? -- David Winsemius, MD Alameda, CA, USA
Hello, And what do you get? Regards, Pascal Le 28/11/2012 12:25, Jack Bryan a ?crit :> > Hi, > > I am working on R 2.15.2 on Win. 7. > > I am trying to run some simple commends. > >> class(SWX.RET) # SWX.RET is a data file that has been loaded. > > But, I cannot see the expected output. > > I have deselected "buffered output". Still it does not work. > > Any help will be appreciated. > > Thanks > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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. >
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada> -----Original Message----- > From: dtustudy68 at hotmail.com > Sent: Wed, 28 Nov 2012 18:38:46 -0700 > To: michael.weylandt at gmail.com > Subject: Re: [R] error, R commends cannot show the expected output > > > Hi, > > The problem comes up again. > > This time, sink() does not work. > > Any help will be appreciated. > > Thanks > >> CC: r-help at r-project.org >> From: michael.weylandt at gmail.com >> Subject: Re: [R] error, R commends cannot show the expected output >> Date: Wed, 28 Nov 2012 08:09:38 +0000 >> To: dtustudy68 at hotmail.com >> >> >> >> On Nov 28, 2012, at 4:13 AM, Jack Bryan <dtustudy68 at hotmail.com> wrote: >> >>> >>> Thanks ! >>> >>> I solved it. >> >> Don't you mean David did? >> >>> >>> I run sink() to get the output on command line. >> >> No, not really -- you run sink to 'turn off' an earlier call to sink >> which, in the interactive REPL, returns you to the command line, but >> could conceivably do something else in differing circumstances. >> >> MW >> >>> >>>> Date: Wed, 28 Nov 2012 12:35:39 +0900 >>>> From: kridox at ymail.com >>>> To: dtustudy68 at hotmail.com >>>> CC: r-help at r-project.org >>>> Subject: Re: [R] error, R commends cannot show the expected output >>>> >>>> Hello, >>>> >>>> And what do you get? >>>> >>>> Regards, >>>> Pascal >>>> >>>> Le 28/11/2012 12:25, Jack Bryan a icrit : >>>>> >>>>> Hi, >>>>> >>>>> I am working on R 2.15.2 on Win. 7. >>>>> >>>>> I am trying to run some simple commends. >>>>> >>>>>> class(SWX.RET) # SWX.RET is a data file that has been loaded. >>>>> >>>>> But, I cannot see the expected output. >>>>> >>>>> I have deselected "buffered output". Still it does not work. >>>>> >>>>> Any help will be appreciated. >>>>> >>>>> Thanks >>>>> >>>>> [[alternative HTML version deleted]] >>>>> >>>>> ______________________________________________ >>>>> R-help at r-project.org 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. >>> >>> [[alternative HTML version deleted]] >>> >>> ______________________________________________ >>> R-help at r-project.org 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. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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.____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails