lib_path {libr} | R Documentation |
Get the Path for a Data Library
Description
The lib_path
function returns the current path of the
the library as a string.
Usage
lib_path(x)
Arguments
x |
The data library. |
Value
The path of the data library as a single string.
See Also
Other lib:
is.lib()
,
lib_add()
,
lib_copy()
,
lib_delete()
,
lib_export()
,
lib_info()
,
lib_load()
,
lib_remove()
,
lib_replace()
,
lib_size()
,
lib_sync()
,
lib_unload()
,
lib_write()
,
libname()
,
print.lib()
Examples
# Create temp directory
tmp <- tempdir()
# Create library
libname(dat, tmp)
# Examine library path
lib_path(dat)
# [1] "C:\Users\User\AppData\Local\Temp\RtmpCSJ6Gc"
# Clean up
lib_delete(dat)
[Package libr version 1.3.4 Index]