This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Loading data to R

Hi everyone,

I am fairly new to Bioconductor - I am trying to use the GRmetrics package and it works very well with the example files.

However, whenever I try to open my own file (that is built according to the package requirements) via the data() term, I always get an error:

> data("inputCaseA")  #this works perfectly fine
> data("testinput")
Warning message:
In data("testinput") : data set ‘testinput’ not found

The file testinput.xlsx is in the same file as my Rproj. Is there a different folder where R expects it?

Thanks a lot for your help!

Best wishes

r

1 answer

data is a method to load predefined data in a package, for your Excel, you need to read the file, check https://www.statmethods.net/input/importingdata.html

Thanks so much! It works now!

All the best

Log in to answer this question.