Skip to content
Snippets Groups Projects
Commit baa2d6cb authored by Mick Jordan's avatar Mick Jordan
Browse files

fix String/RStringVector bug

parent 02bc74ad
No related branches found
No related tags found
No related merge requests found
......@@ -583,7 +583,7 @@ public abstract class REnvironment extends RAttributeStorage implements RAttribu
* is the value returned by the R {@code environmentName} function.
*/
public String getName() {
String attrName = attributes == null ? null : (String) attributes.get(NAME_ATTR_KEY);
String attrName = attributes == null ? null : (String) RRuntime.asString(attributes.get(NAME_ATTR_KEY));
return attrName != null ? attrName : name;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment