ior {CORBA}R Documentation

Read an IOR (stringified CORBA reference) from a file or treat the argument as an IOR.

Description

IOR generator function. If the argument starts with the string ``IOR:'', the object is considered an IOR and returned. Alternatively, we attempt to read a single IOR from the contents of the specified file.

Usage

ior(fileName)

Arguments

fileName

Details

This is a simple use of scan. To read more than one IOR from a file, one can use this approach.

Value

In R, a character vector identifying a CORBA object by its stringified reference.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/CORBA/References

See Also

namedCorbaObject

Examples

 i <- "IOR:010000002f00000049444c3a6f6f632e636f6d2f436f734e616d696e672f4578744e616d696e67436f6e746578745f315f313a312e300000010000000000000038000000010100001e0000007069676c65742e72657365617263682e62656c6c2d6c6162732e636f6d0089130c0000003933363930303334342d3000"
 ior(i)
 foo <- tempfile()
 cat(i,file=foo)
 ior(foo)
 unlink(foo)