lessR not installing

Hi,

I am trying to load lessR in RStudio, I managed to load it on my laptop at home but it it refuses to load on my Laptop in the office. here is the error message:

Installing 'lessR' ...

Installing package into 'C:/Users/devar/Documents/R/win-library/4.0'
(as 'lib' is unspecified)

There is a binary version available but the source version is later:
binary source needs_compilation
lessR 3.9.6 3.9.7 FALSE

installing the source package 'lessR'

trying URL 'https://cran.rstudio.com/src/contrib/lessR_3.9.7.tar.gz'
Content type 'application/x-gzip' length 2440459 bytes (2.3 MB)

downloaded 2.3 MB

  • installing source package 'lessR' ...
    ** package 'lessR' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** data
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    converting help for package 'lessR'
    finding HTML links ... done
    ANOVA html
    BarChart html
    Correlation html
    CountAll html
    Density html
    Extract html
    Help html
    Histogram html
    LineChart html
    Logit html
    Merge html
    Model html
    Nest html
    PieChart html
    Plot html
    Read html
    finding level-2 HTML links ... done

    Recode html
    Regression html
    Rescale html
    Sort html
    Subset html
    SummaryStats html
    Transform html
    VariableLabels html
    Write html
    corCFA html
    corEFA html
    corProp html
    corRead html
    corReflect html
    corReorder html
    corScree html
    dataBodyMeas html
    dataCars93 html
    dataEmployee html
    dataEmployee_lbl html
    dataJackets html
    dataLearn html
    dataMach4 html
    dataMach4_lbl html
    dataReading html
    dataStockPrice html
    details html
    factors html
    getColors html
    label html
    pivot html
    print_out html
    print_outall html
    prob_norm html
    prob_tcut html
    prob_znorm html
    regPlot html
    see html
    showColors html
    showPalettes html
    simCImean html
    simCLT html
    simFlips html
    simMeans html
    style html
    to html
    ttest html
    ttestPower html
    values html
    xAnd html
    xNum html
    xP html
    xRow html
    xU html
    xW html
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    *** arch - i386
    Error: package or namespace load failed for 'lessR' in library.dynam(lib, package, package.lib):
    DLL 'leaps' not found: maybe not installed for this architecture?
    Error: loading failed
    Execution halted
    *** arch - x64
    ERROR: loading failed for 'i386'

  • removing 'C:/Users/devar/Documents/R/win-library/4.0/lessR'

The downloaded source packages are in
'C:\Users\devar\AppData\Local\Temp\RtmpemSVno\downloaded_packages'

<U+2714> Package 'lessR' successfully installed.
Warning message:
In utils::install.packages("lessR", repos = "https://cran.rstudio.com/") :
installation of package 'lessR' had non-zero exit status

If you don't need a 32bit R version, I would recommend removing it and keeping the 64-bit version only to avoid this issues.

I am using the Platform: x86_64-w64-mingw32/x64 (64-bit)

Sorry but I don't understand your answer.
Have you tried uninstalling the 32-bit R installation from your system?

thanks for the help, for some strange reason the package installed and is now working.

If your question's been answered (even if by you), would you mind choosing a solution? (See FAQ below for how).

Having questions checked as resolved makes it a bit easier to navigate the site visually and see which threads still need help.

Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.