To see All the content (not just objects) in a package in R

后端 未结 3 611
忘了有多久
忘了有多久 2021-01-04 23:40

This is likely a newbie\'s question but I think I did my homework and yet have not found the answer (I hope to find) so I am posting it here to seek some assistance.

3条回答
  •  北海茫月
    2021-01-05 00:02

    If you want to see all the system files for a particular package, then try something like

    list.files(system.file(package = 'TCGAGBM'), recursive = T, full.names = T)
    

    How useful this will be will depend on your OS, as the way packages are installed is OS dependent

    see the appropriate section in R Installation and Administration manual for more details.

    NOTE

    @DirkEddelbuettel's suggestion of inspecting the source is a far better approach.

提交回复
热议问题