RSQLite installation question
1
0
Entering edit mode
@herve-pages-1542
Last seen 1 day ago
Seattle, WA, United States
Hi Tae-Hoon, Sounds like a MacOS specific problem. I've you tried to ask on the R-SIG-Mac list? Cheers, H. Tae-Hoon Chung wrote: > Hi, All; > > I installed RSQLite with no apparent problem. But when I tried to load it, I > came across an error: > >> library(RSQLite) > Loading required package: DBI > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared library > '/Users/thchung/Library/R64/RSQLite/libs/x86_64/RSQLite.so': > dlopen(/Users/thchung/Library/R64/RSQLite/libs/x86_64/RSQLite.so, 6): > Symbol not found: _sqlite3_enable_load_extension > Referenced from: /Users/thchung/Library/R64/RSQLite/libs/x86_64/RSQLite.so > Expected in: dynamic lookup > > Error: package/namespace load failed for 'RSQLite' >> sessionInfo() > R version 2.7.2 beta (2008-08-16 r46368) > i386-apple-darwin9.4.0 > > locale: > C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] DBI_0.2-4 > > Can anyone help me with this? Thanks in advance > > Tae-Hoon >
• 2.3k views
ADD COMMENT
0
Entering edit mode
@kasper-daniel-hansen-2979
Last seen 18 months ago
United States
You are trying to load a 64bit version of the package. My guess is that you somehow have a 64 bit version of R, but have installed a 32 bit version of RSQLite. In that case R will not find the required architecture. When you install RSQlite make sure you have option(pkgType = "source") as the binary versions of the packages don't contain x64_86. You need to fix up your library. Kasper On Sep 4, 2008, at 10:24 PM, Herve Pages wrote: > Hi Tae-Hoon, > > Sounds like a MacOS specific problem. I've you tried to ask on > the R-SIG-Mac list? > > Cheers, > H. > > > Tae-Hoon Chung wrote: >> Hi, All; >> I installed RSQLite with no apparent problem. But when I tried to >> load it, I >> came across an error: >>> library(RSQLite) >> Loading required package: DBI >> Error in dyn.load(file, DLLpath = DLLpath, ...) : >> unable to load shared library >> '/Users/thchung/Library/R64/RSQLite/libs/x86_64/RSQLite.so': >> dlopen(/Users/thchung/Library/R64/RSQLite/libs/x86_64/RSQLite.so, >> 6): >> Symbol not found: _sqlite3_enable_load_extension >> Referenced from: /Users/thchung/Library/R64/RSQLite/libs/x86_64/ >> RSQLite.so >> Expected in: dynamic lookup >> Error: package/namespace load failed for 'RSQLite' >>> sessionInfo() >> R version 2.7.2 beta (2008-08-16 r46368) >> i386-apple-darwin9.4.0 >> locale: >> C >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> other attached packages: >> [1] DBI_0.2-4 >> Can anyone help me with this? Thanks in advance >> Tae-Hoon >> > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 958 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6