Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Colin Baxter via ESS-help
> Tyler Smith via ESS-help  writes:

> This was fixed in ESS 19.04. If you install/update ESS from Melpa,
> you should get a recent version that includes this fix.

??? I have pulled ESS from git and M-x ESS-version  gives
18.10.3snapshot. Does this mean ESS from git lags behind Melpa?

Best wishes,

Colin Baxter.


URL: http://www.Colin-Baxter.com
-
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [R] getting historical data from cryptocurrency exchange

2020-11-25 Thread Gergely Daróczi
Hi,

I've started https://github.com/daroczig/binancer for educational
purposes, but since then, it became pretty feature-rich for the
Binance API, and you can get historical data for free (see
binance_klines).

Best,
Gergely


On Thu, Nov 26, 2020 at 12:13 AM arnaud gaboury
 wrote:
>
> I need to download basic OHLCV (Open, High, Low, Close, Volume) in a
> hourly format from various cryptocurrency exchanges.
> There is the crypto package[0] but it has been removed from CRAN. Then
> there is the coinmarketcapr[1] package on CRAN, but it is limited to a
> paid service, coinmarketcap, which sell data.
>
> Browsing the web, I mainly found Python scripts to fetch the data, which
> I would like to avoid. Can anyone point me to any github or website with
> material about crypto data fetching with R?
>
> Thank you
>
>
> [0]https://cran.r-project.org/web/packages/crypto/index.html
> [1]https://github.com/amrrs/coinmarketcapr
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


[R] getting historical data from cryptocurrency exchange

2020-11-25 Thread arnaud gaboury
I need to download basic OHLCV (Open, High, Low, Close, Volume) in a
hourly format from various cryptocurrency exchanges.
There is the crypto package[0] but it has been removed from CRAN. Then
there is the coinmarketcapr[1] package on CRAN, but it is limited to a
paid service, coinmarketcap, which sell data.

Browsing the web, I mainly found Python scripts to fetch the data, which
I would like to avoid. Can anyone point me to any github or website with
material about crypto data fetching with R?

Thank you


[0]https://cran.r-project.org/web/packages/crypto/index.html
[1]https://github.com/amrrs/coinmarketcapr

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


[R] [R-pkgs] experDesign

2020-11-25 Thread Lluís Revilla
Hello,

Some weeks ago the experDesign package was released on CRAN:
https://CRAN.R-project.org/package=experDesign
The package helps designing experiments to avoid batch effects
confounding the result by distributing the samples on batches
according to their features.

If you or your colleagues design this kind of analysis I hope
experDesign will be useful. I greatly appreciate your feedback,
especially if you find bugs (despite the testing) or think of any
improvement.

To all developers, maintainers and the CRAN team that made this
possible: Thank you!

Best regards,

Lluís

GitHub: https://github.com/llrs/experDesign
CRAN: https://CRAN.R-project.org/package=experDesign

___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] Need help to calculate allele score

2020-11-25 Thread Bert Gunter
This list has a no-homework policy. Referring to the posting guide linked
below:

"*Basic statistics and classroom homework:* R-help is not intended for
these."

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Wed, Nov 25, 2020 at 1:27 PM Anas Jamshed 
wrote:

> Go to page http://zzz.bwh.harvard.edu/plink/profile.shtml and follow the
> help to generate a basic allele score using your independently associated
> SNPs.  Use R to make the myprofile.rawfile required.
>
> I am unable to generate .raw file which will contain allele score
>
> I have tried this script:
> results_2049669_adjusted <-
> read.table("results_2049669.assoc.linear.adjusted", header=T)
>
> #display first 15 SNPs
> results_2049669_adjusted [1:15,]
>
> system("plink_mac/plink --bfile BB5707 --clump results_2049669.assoc.linear
> --clump-p1 5e-08 --clump-p2 0.05 --clump-r2 0.1 --clump-kb 250 --out
> results_2049669.assoc.linear_clumped")
>
> results_2049669_clumped <-
> read.table("results_2049669.assoc.linear_clumped.clumped", header=T)
> results_2049669_clumped[1:15 ,1:6] ## 2 hits we have
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


[R] Need help to calculate allele score

2020-11-25 Thread Anas Jamshed
Go to page http://zzz.bwh.harvard.edu/plink/profile.shtml and follow the
help to generate a basic allele score using your independently associated
SNPs.  Use R to make the myprofile.rawfile required.

I am unable to generate .raw file which will contain allele score

I have tried this script:
results_2049669_adjusted <-
read.table("results_2049669.assoc.linear.adjusted", header=T)

#display first 15 SNPs
results_2049669_adjusted [1:15,]

system("plink_mac/plink --bfile BB5707 --clump results_2049669.assoc.linear
--clump-p1 5e-08 --clump-p2 0.05 --clump-r2 0.1 --clump-kb 250 --out
results_2049669.assoc.linear_clumped")

results_2049669_clumped <-
read.table("results_2049669.assoc.linear_clumped.clumped", header=T)
results_2049669_clumped[1:15 ,1:6] ## 2 hits we have

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Tyler Smith via ESS-help
This was fixed in ESS 19.04. If you install/update ESS from Melpa, you should 
get a recent version that includes this fix.

Best,

Tyler

-- 
plantarum.ca

On Wed, Nov 25, 2020, at 11:53 AM, Marius Hofert via ESS-help wrote:
> Hi,
> 
> I used to be able to start a specific R version with M-x R-... but it
> doesn't work anymore. On M-x R- I see:
> R-devel
> R-initialize-on-start
> R-mode
> R-newest
> R-transcript-mode
> ... but no R-4.0.x. I have R-4.0.0, R-4.0.2, R-4.0.3 and R-devel
> installed and M-x R-devel and M-x R-newest correctly find and start
> R-devel and R-4.0.3, respectively. The other two R versions are set up
> exactly in the same way, which is why it's so confusing that they are
> not found. Also, in an Emacs shell (M-x shell), R-4.0. completes
> to all R versions and I can also start every single one of them.
> 
> Any ideas what to try?
> 
> This is on macOS 10.15.7 with GNU Emacs 26.3 and ESS version 18.10.2
> [Released git: d4cd65da6dbf].
> 
> Thanks & cheers,
> Marius
> 
> __
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Marius Hofert via ESS-help
Hi,

I used to be able to start a specific R version with M-x R-... but it
doesn't work anymore. On M-x R- I see:
R-devel
R-initialize-on-start
R-mode
R-newest
R-transcript-mode
... but no R-4.0.x. I have R-4.0.0, R-4.0.2, R-4.0.3 and R-devel
installed and M-x R-devel and M-x R-newest correctly find and start
R-devel and R-4.0.3, respectively. The other two R versions are set up
exactly in the same way, which is why it's so confusing that they are
not found. Also, in an Emacs shell (M-x shell), R-4.0. completes
to all R versions and I can also start every single one of them.

Any ideas what to try?

This is on macOS 10.15.7 with GNU Emacs 26.3 and ESS version 18.10.2
[Released git: d4cd65da6dbf].

Thanks & cheers,
Marius

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[R] [R-pkgs] WriteXLS Version 6.1.0 - Bug Fix Release

2020-11-25 Thread Marc Schwartz via R-packages
Hi All,

WriteXLS version 6.1.0 has been released and is in the process of becoming 
available via CRAN.

This is a bug fix release, as in version 6.0.0, there were occasions where 
certain integer values in source data frames, containing specific patterns of 
trailing and embedded zeros, were written to the Excel worksheets as left 
justified text values, as opposed to right justified numeric values.

Please download and install the updated version at your convenience.

Thanks and regards,

Marc Schwartz

___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.