[R] running strucchange?

Burgs sjh408 at hotmail.com
Sun Aug 3 17:46:22 CEST 2008


Thanks to all for your replies.  It is appreciated.
 

Prof Brian Ripley wrote:
> 
> On Sat, 2 Aug 2008, Burgs wrote:
> 
>>
>> Yes, I'm using Windows.  I'm getting an error when I use the source()
>> command, it seems not to like the path to the .R file I'm putting in,
>> although it is the correct path...thanks for your response anyway.
> 
> See rw-FAQ Q2.16.
> 
> If you want to send code to the R Console to run it, you just paste it in. 
> Provided it is a complete line (with newline at the end) it will be run.
> Otherwise as Don says, you need to hit Return/Enter to run it.
> 
>>
>>
>> Don MacQueen wrote:
>>>
>>> Most of the time I use the source() command.
>>>
>>>    source('path_to_file')
>>>
>>> Maybe if you press the Return key after pasting into the console?
>>> I assume you're on Windows, which I don't use, so basically I have no
>>> idea...
>>>
>>> -Don
>>>
>>> At 2:45 PM -0700 8/2/08, Burgs wrote:
>>>> Thank you for your post.  I think my question is simply how to "run"
>>>> code
>>>> contained in an .R text file?  From the manual I see that it should be
>>>> highlighted/selected and then run using a Ctrl character however that
>> simply
>>>> seems to paste the code in the RConsole without actually doing
>>>> anything...
>>>>
>>>>
>>>>
>>>> Don MacQueen wrote:
>>>>>
>>>>>  I would suggest imitating an example from the help page for the
>>>>>  function you're trying to use.
>>>>>
>>>>>  Since you haven't shown any example of what you tried, including
>>>>>  error messages, there's really no way anyone can help, beyond
>>>>>  generalities like mine. (Please review the posting guide, whose URL
>>>>>  is at the bottom of every email to r-help.)
>>>>>
>>>>>  -Don
>>>>>
>>>>>  At 2:11 PM -0700 8/2/08, Burgs wrote:
>>>>>> Greetings,
>>>>>>
>>>>>>    I'm complety new to "R" and have a question.  I've read through a
>>>>>>  couple
>>>>>> of manuals but I'm having a problem with getting something run
>>>>>> properly.
>>>>>> I'd like to attempt to use the "strucchange" package with some sample
>> data
>>>>>> however I'm having trouble understanding the proper syntax of the
>> commands
>>>>>> from which to do so.  I basically want to take some data I have and
>>>>>> run
>> it
>>>>>> through strucchange so as to be able to observe the plots.  Any
>>>> suggestions
>>>>>> greatly appreciated.
>>>>>> --
>>>>>> View this message in context: http://  www.
>>>>>> nabble.com/running-strucchange--tp18791489p18791489.html
>>>>>> Sent from the R help mailing list archive at Nabble.com.
>>>>>>
>>>>>> ______________________________________________
>>>>>> 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.
>>>>>
>>>>>
>>>>>  --
>>>>>  ---------------------------------
>>>>>  Don MacQueen
>>>>>  Lawrence Livermore National Laboratory
>>>>>  Livermore, CA, USA
>>>>>  925-423-1062
>>>>>  macq at llnl.gov
>>>>>
>>>>>  ______________________________________________
>>>>>  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.
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context: http:// www.
>>>> nabble.com/running-strucchange--tp18791489p18793670.html
>>>> Sent from the R help mailing list archive at Nabble.com.
>>>>
>>>> ______________________________________________
>>>> 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.
>>>
>>>
>>> --
>>> ---------------------------------
>>> Don MacQueen
>>> Lawrence Livermore National Laboratory
>>> Livermore, CA, USA
>>> 925-423-1062
>>> macq at llnl.gov
>>>
>>> ______________________________________________
>>> 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.
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/running-strucchange--tp18791489p18795602.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> 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.
>>
> 
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> ______________________________________________
> 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/running-strucchange--tp18791489p18799748.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list