Skip to content

cant load rcpp11 #231

@JanaJarecki

Description

@JanaJarecki

Hi,

Im on a Windows 10 machine, using R 3.2.3. and when I try to source a cpp file using rcpp11 it throws an error:

in R:

    devtools::install_github("Rcpp11/attributes")
    library(Rcpp11)
    attributes::sourceCpp('RSFTOptimal.cpp')

where the file RSFTOptimal.cpp contains only the header

    #include <Rcpp11>
   #include <exception>

The error reads (sorry German) that it cant find a file in Temp

kann shared object 'C:/Users/JANAJA~1/AppData/Local/Temp/Rtmp6FPAJ4/file40802ef27b94.dll' nicht laden:
  LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.

This stackoverflow post could not really help: http://stackoverflow.com/questions/23927305/include-rcpp11-file-not-found-error

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions