Skip to content

Array does not work #230

@gdkrmr

Description

@gdkrmr

The following does not compile (attributes::sourceCpp(test.cpp), see also comment on #156):

#include <Rcpp.h>
using namespace Rcpp ;

typedef Array<3,REALSXP> Numeric3D ;

// [[Rcpp::export]]
Numeric3D test(){
  Numeric3D res(1,1,1);
  return res;
}

/*** R
test()
*/

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