Loading Libraries/Packages

1 view
Skip to first unread message

Matthew Bascom

unread,
Jul 4, 2009, 8:51:47 AM7/4/09
to hel...@googlegroups.com
Hello Team.
 
I have been placing packages at C:\Users\Owner\Documents\R\win-library\2.8
 
Is there any reason I should be saving libraries to C:/PROGRAMFILES/R/R-2.8.1/library/...?
 
I ask upon arriving at the following command in the intro documentation:
 
filepath <- system.file("data", "morley.tab" , package="datasets")
 
which accesses the filepath
 
"C:/PROGRA~1/R/R-28~1.1/library/datasets/data/morley.tab"
 
Thank you for your time!!
 
Best regards,
 
Matt

Earl

unread,
Jul 6, 2009, 3:07:32 PM7/6/09
to Bay Area R Helpers
Out of curiosity, why are you setting the package install path?
install.packages will take care of all of that for you
Reply all
Reply to author
Forward
0 new messages