KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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. Similar questions were asked before but from what I found, no answer could help me with the current issue except an "expensive" solution, which requires an editor for R. I learned that ls and objects allow us to view the objects inside a package. But even with ls(all.names=TRUE) , I still couldn't see all the content. Someone suggested ls(getNAMEspace) but still this isn't "good" enough for me. e.g. >search() [1]".GlobalEvn" "package:TCGAGBM" >ls("package:TCGAGBM") character(0) >ls(getNamespace("TCGAGBM"),all.names=TRUE) [1]"._NAMESPACE_." "._S3MethodsTable_." ".packageName" However, under C (cmd), I see the following C:\Users\XYZ\Documents\R\R-2.15.1\library\TCGAGBM . .. data extdata ...... (total 3 File(s), 7 Dir(s)) I came across this "discrepancy" when I saw the following line of script - >clinical=read.delim(system.file( +"extdata/Clinical/clinical_patient_public_GBM.txt.gz", +package="TCGAGBM"), header=TRUE) Thus I was wondering if there is a way under R to see ALL the content within a package so that we could "know" how better to utilize the package. Vignette would probably help, but in my limited experience with R so far, I have found that some packages did not come with Vignette. Any comment will be appreciated to help me learn more about R.
Tags (comma-separated)
Save Edits
Cancel