[R] running strucchange?
Don MacQueen
macq at llnl.gov
Sun Aug 3 04:41:23 CEST 2008
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
More information about the R-help
mailing list