Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/jri/src/Rengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ JNIEXPORT jobjectArray JNICALL Java_org_rosuda_JRI_Rengine_rniGetAttrNames
jobjectArray sa;
#if (R_VERSION >= R_Version(4,6,0))
SEXP ans = R_getAttribNames(o);
ac = (unsigned int) XLENGTH(o);
ac = (unsigned int) XLENGTH(ans);
if (!ac) return 0;
#else
SEXP att = ATTRIB(o), ah = att;
Expand Down