Error in readSet(paramSet, "paramSet") : object 'paramSet' not found

Hi!
I’ve followed your instructions for installing the package and I wanted to test the package first using your example data:

dataSets <- MapListIds("datalist1", genelist, "hsa", "entrez")

And this error appears:

Error in readSet(paramSet, “paramSet”) : object ‘paramSet’ not found

Any ideas?

Thank you

Hello Pllorens,

Did you run

dataSets <- Init.Data(FALSE);

before that command?

Guangyan

Yes.
I got an error saying I didn’t have a package named Cairo, so I installed it and now when I do

dataSets ← Init.Data(FALSE);

I get this error:

Loading required package: Cairo
Error: package or namespace load failed for ‘Cairo’:
 .onLoad failed in loadNamespace() for 'Cairo', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Cairo/libs/Cairo.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Cairo/libs/Cairo.so, 0x0006): Library not loaded: /opt/X11/lib/libXrender.1.dylib
  Referenced from: <94176F06-D9DC-3FA4-B5E8-9082A5CF1335> /Library/Frameworks/R.framework/Versions/4.2/Resources/library/Cairo/libs/Cairo.so
  Reason: tried: '/opt/X11/lib/libXrender.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/X11/lib/libXrender.1.dylib' (no such file), '/opt/X11/lib/libXrender.1.dylib' (no such file), '/Library/Frameworks/R.framework/Resources/lib/libXrender.1.dylib' (no such file), '/Users/palmira/lib/libXrender.1.dylib' (no such file), '/usr/local/lib/libXrender.1.dylib' (no such file), '/usr/lib/libXrender.1.dylib' (no such file, not in dyld cache), '/lib/libXrender.1.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/jre/lib/server/libXren
Error in CairoFonts("Arial:style=Regular", "Arial:style=Bold", "Arial:style=Italic",  : 
  could not find function "CairoFonts"