Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on SAM interface #44

Open
g54ncs opened this issue Dec 13, 2019 · 3 comments
Open

Issue on SAM interface #44

g54ncs opened this issue Dec 13, 2019 · 3 comments

Comments

@g54ncs
Copy link

g54ncs commented Dec 13, 2019

After a year of using, I now having trouble running the SAM interface. I am getting the following error on R:

install_github("cran/samr")
Downloading GitHub repo cran/samr@master
Skipping 1 packages ahead of CRAN: impute
─ building ‘samr_3.0.tar.gz’information ...v/kj_8j_8j4yncq2kqc1q4mj8w0000gn/T/RtmpqUcnTu/remotes168f5ad02e0d/cran-samr-bf0d63f/DESCRIPTION’ ...

  • installing source package ‘samr’ ...
    ** using staged installation
    ** libs
    gfortran -fPIC -Wall -g -O2 -c rankcol.f -o rankcol.o
    make: gfortran: No such file or directory
    make: *** [rankcol.o] Error 1
    ERROR: compilation failed for package ‘samr’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/samr’
  • restoring previous ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/samr’
    Error: Failed to install 'samr' from GitHub:
    (converted from warning) installation of package ‘/var/folders/cv/kj_8j_8j4yncq2kqc1q4mj8w0000gn/T//RtmpqUcnTu/file168f4e0b7335/samr_3.0.tar.gz’

When I open the SAM interface (# runGitHub("SAM", "MikeJSeo")) and upload data that I have analyzed before, I am now getting the following error:

DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter '5' for row 0. For more information about this error, please see http://datatables.net/tn/4

@SamGG
Copy link

SamGG commented Dec 13, 2019

Hi,
The 1st error is due to the installation of samr. It says that your current installation has no fortran compiler.
The 2nd issue seems to be related to the data format of the data you put into SAM. I think there has been some changes in R or RStudio so that lead to DataTable being the default format when importing data from file. Try something like mydata <- as.data.frame(mydata).
HTH

@MikeJSeo
Copy link
Owner

MikeJSeo commented Jan 9, 2020

I changed the datatable to just plain tables.. it works now for me. Sorry for the delay.. :(

@SamGG
Copy link

SamGG commented Jan 9, 2020

Better later than never ;-)
Best wishes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants