View source: R/community_collection.R
| LoadCollection | R Documentation | 
LoadCollection and SaveCollection are functions 
for loading and saving CommunityCollection objects to text files.
LoadCollection(dir, ...)
SaveCollection(collection, dir, ...)| collection | an object of class  | 
| dir | a directory. | 
| ... | other values to  | 
The Community objects in collection are saved to a 
directory named communities inside dir. The order of the 
collection is not saved. Any existing data in dir is ignored.
LoadCollection returns a new CommunityCollection.
Lawrence Hudson
CommunityCollection, 
OrderCollection, 
LoadCommunity,
SaveCommunity
data(pHWebs)
temp.path <- tempfile()
SaveCollection(pHWebs, temp.path)
pHWebs.loaded <- LoadCollection(temp.path)
pHWebs.loaded <- OrderCollection(pHWebs.loaded, 'pH')
unlink(temp.path, recursive=TRUE)
identical(pHWebs, pHWebs.loaded)    # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.