Installing EasyStrata in R

> install.packages("/opt/EasyStrata_16.0.tar.gz")

Installing package into ‘/usr/lib64/R/library’

(as ‘lib’ is unspecified)

inferring 'repos = NULL' from 'pkgs'

**Error in rawToChar(block[seq_len(ns)]) :**

**embedded nul in string: '\037\x8b\b\0\0\0\0\0\0\003\xec\xbd{[\033ɱ8\xbc\xff\xcaϓ\xefЈ\x9c\xb5\x94\035\xc9H\xc6v\xe2\xb5|\026\003\xb6\xf9\005\xcb\034`\x93\xcd\022\xde}\006i\0\xc5B\xd2j$\033\x92\xf8\xbb\xbfu\xe9\xfb\xf4\x8c$\020؛\xc0.F\xeaKuuuuuuuu\xf5v\x9c^\035L\xc6\xf1$~\xb4\xb5}\xb0\xb9'**

Warning message:

In install.packages("/opt/EasyStrata_16.0.tar.gz") :

installation of package ‘/opt/EasyStrata_16.0.tar.gz’ had non-zero exit status

If you want to install from a file, you have to set parameters this way

install.packages(path_to_file, repos = NULL, type="source")

Thank you Andresrcs for your suggestion unfortunately I still get the same error.
install.packages("/opt/EasyStrata_16.0.tar.gz", repos=NULL, type="source")

:frowning:

Could you share a link to that source file so I can give it a try? I can't find that version on the CRAN archive

You can find the source file in here : https://www.uni-regensburg.de/medizin/epidemiologie-praeventivmedizin/genetische-epidemiologie/software/

I don't see a link for that specific version (16.0), could you please provide a direct download link (not to a website)

Andresrcs, unfortunately I wont able to attached or upload the files here due to network policy being implemented prohibiting us to upload any files. may email will do though.

May you kindly please try this link

https://homepages.uni-regensburg.de/~wit59712/easystrata/EasyStrata_18.1.tar.gz

That was not what I meant
I was just asking for the specific download link for the file, for example this script will install 8.6 version without problems

# Download file
url <- "https://homepages.uni-regensburg.de/~wit59712/easystrata/EasyStrata_8.6.tar.gz"
pkgFile <- "EasyStrata_8.6.tar.gz"
download.file(url = url, destfile = pkgFile)

# Install dependencies
install.packages(c("Cairo", "plotrix"))

# Install package
install.packages(pkgs=pkgFile, type="source", repos=NULL)

# Delete package tarball
unlink(pkgFile)

I have installed that version on RStudio Cloud without any issue

# Download file
url <- "https://homepages.uni-regensburg.de/~wit59712/easystrata/EasyStrata_18.1.tar.gz"
pkgFile <- "EasyStrata_18.1.tar.gz"
download.file(url = url, destfile = pkgFile)

# Install dependencies
install.packages(c("Cairo", "plotrix", "data.table"))

# Install package
install.packages(pkgs=pkgFile, type="source", repos=NULL)

# Delete package tarball
unlink(pkgFile)

Do you mind sharing the steps please/
I wonder what I'm doing different, I save the source on /opt

That script contains the exact steps I have taken, I haven't done nothing else

Here's what I did.

root@servername R]# R
> install.packages("/path2tarball/EasyStrata_18.0.tar.gz")

Then get the error i pasted here (both Cairo and plotrix already been installed)

:frowning: :frowning: :frowning:

I'm sorry I can't help you any further, the error message is not very informative and I can't reproduce your problem. Hopefully some one else will be able to help you.

No worries you been so great in providing info and responding on my email thanks alot

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.