Thanks a lot, Enrico.

________________________________
From: Enrico Schumann <e...@enricoschumann.net>
Sent: Tuesday, September 22, 2020 1:29 AM
To: Alec Schmidt <aschm...@stevens.edu>
Cc: Daniel Cegiełka <daniel.cegie...@gmail.com>; r-sig-finance@r-project.org 
<r-sig-finance@r-project.org>
Subject: Re: [R-SIG-Finance] PairTrading package

On Mon, 21 Sep 2020, Alec Schmidt writes:

> Daniel and Jasen, thanks much!
>
> Daniel, sorry, I'm on Windows PC, so I used dir instead of ls and I do see 
> PairTrading but your command
> R CMD INSTALL PairTrading/ doesn't work:
>
> 'R' is not recognized as an internal or external command,operable program or 
> batch file.
>
> Thanks again, Alec

It's more of a question for R-help, but:

If you follow the URL 
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcran.r-project.org%2Fpackage%3DPairTrading&amp;data=02%7C01%7Caschmid1%40stevens.edu%7Cc6a153bd55104ef7910208d85eb87a52%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C637363493716373736&amp;sdata=bsmkUniLSnS6ofp73MaG0DYToVii7VEZbzIgzZcAjR8%3D&amp;reserved=0
 ,
you'll find that the package has been archived. You can still follow the
archive link, download the package and then install (on Windows) from
the R-GUI by selecting "install from local files" in the packages menu.
(Keep in mind that packages are archived for a reason, usually.)

If you want to try Daniel's suggestion: That 'R' is not found tells you
it's not in the search path.  You can set it on Windows in the
system/environment variable settings; just add 'C:/Program Files/R
<....>/bin ' (or whereever R is installed on your system) to the path.


kind regards
    Enrico

> ________________________________
> From: Daniel Cegiełka <daniel.cegie...@gmail.com>
> Sent: Monday, September 21, 2020 5:01 PM
> To: Alec Schmidt <aschm...@stevens.edu>
> Cc: r-sig-finance@r-project.org <r-sig-finance@r-project.org>
> Subject: Re: [R-SIG-Finance] PairTrading package
>
> Hi Alec,
>
> $ R --version
> R version 4.0.0 (2020-04-24) -- "Arbor Day"
> Copyright (C) 2020 The R Foundation for Statistical Computing
> Platform: x86_64-apple-darwin17.0 (64-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under the terms of the
> GNU General Public License versions 2 or 3.
> For more information about these matters see
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gnu.org%2Flicenses%2F&amp;data=02%7C01%7Caschmid1%40stevens.edu%7Cc6a153bd55104ef7910208d85eb87a52%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C637363493716383730&amp;sdata=55EEnTvuJH429ccclZvkkx1%2BWWejUD5Qy2b17UzGAis%3D&amp;reserved=0.
>
> $ git clone
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcran%2FPairTrading&amp;data=02%7C01%7Caschmid1%40stevens.edu%7Cc6a153bd55104ef7910208d85eb87a52%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C637363493716383730&amp;sdata=erwDXdwA44XFD93I1vBXTtmm819Mb9PUQvGvo0kdm%2FM%3D&amp;reserved=0
> Cloning into 'PairTrading'...
> remote: Enumerating objects: 39, done.
> remote: Counting objects: 100% (39/39), done.
> remote: Compressing objects: 100% (24/24), done.
> remote: Total 39 (delta 11), reused 39 (delta 11), pack-reused 0
> Unpacking objects: 100% (39/39), done.
>
> $ ls
> PairTrading
>
> $ R CMD INSTALL PairTrading/
> * installing to library 
> ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
> * installing *source* package ‘PairTrading’ ...
>
> (…)
>
> ** building package indices
> ** testing if installed package can be loaded from temporary location
> ** testing if installed package can be loaded from final location
> ** testing if installed package keeps a record of temporary installation path
> * DONE (PairTrading)
>
>
> Best regards,
> Daniel
>
>
>> On 21 Sep 2020, at 22:38, Alec Schmidt <aschm...@stevens.edu> wrote:
>>
>> I used to have R version 3.6.0 and tried to install PairTrading but got a 
>> message that the package is not available for that version.
>> Now I've updated R to 4.0.2. but still have the message:
>>
>> package �PairTrading� is not available (for R version 4.0.2)
>>
>> I wonder if anything can be done about it or there may be other packages 
>> with similar functionality.
>>
>> Thanks! Alec
>>

[...]


--
Enrico Schumann
Lucerne, Switzerland
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fenricoschumann.net%2F&amp;data=02%7C01%7Caschmid1%40stevens.edu%7Cc6a153bd55104ef7910208d85eb87a52%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C637363493716383730&amp;sdata=sEkds70iDxr5HsNMuTycpt5bLSVl%2BA35S7GNbheGi7Y%3D&amp;reserved=0

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to