Skip to content

Manual dev install instructions do not detect my x64 Windows system #260

@thadguidry

Description

@thadguidry

Hi @trinker Using the following installation for dev found on the README.md:

if (!require("pacman")) install.packages("pacman")
pacman::p_load_gh(
  "trinker/qdapDictionaries",
  "trinker/qdapRegex",
  "trinker/qdapTools",
  "trinker/qdap"
)

and then getting final error output as

Rd warning: C:/Users/thadg/AppData/Local/Temp/RtmpMTVBXi/R.INSTALL4ac0630f6199/qdap/man/word_proximity.Rd:41: file link 'sqrt' in package 'base' does not exist and so has been treated as a topic
    word_stats                              html  
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'qdap':
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'E:/R/R-4.0.2/library/rJava/libs/i386/rJava.dll':
  LoadLibrary failure:  %1 is not a valid Win32 application.

Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'E:/R/R-4.0.2/library/qdap'
Warning message:
In pacman::p_load_gh("trinker/qdapDictionaries", "trinker/qdapRegex",  : 
Failed to install/load:
trinker/qdap

Verified that Console is showing arch as x86_64:

image

Verified that R 64bit is being used:

image

I have verified my Java is fine (and JAVA_HOME is set) I'm a light developer in Java:

image

And that rJava actually installed fine from RStudio and shows the paths correctly in my library folder:

image

Curious why the error during installation is trying the
E:/R/R-4.0.2/library/rJava/libs/i386/rJava.dll
instead of
E:/R/R-4.0.2/library/rJava/libs/x64/rJava.dll ?

Maybe the install doesn't look at the arch and instead the os or something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions