if (object instanceof Object[])
{
Object[] array = (Object[])object;
if (array.length == 0)
{
return new REXPList(new RList());
}
else if (array[0] instanceof String)
{
String[] strings = ListUtils.copyStringArray(array, new String[array.length]);
return new REXPString(strings);