On 3/11/11 2:24 AM, David Montgomery wrote:
> Hi,
>
>
> How can I use rpy2 to load libraries at run time.  In need ti have this
> automated.
>
> Lets say  have a base server with no pagages installed except the
> default.  How to I deal with having to select a mirror?
>
> e.g.
>
> install.packages('randomForest',dependencies=TRUE)
> library('randomForest')
>
> would the R code be?

That's an R question more than rpy2-specific then. You have to 
explicitly specify a repository to install.packages(), and you may have 
more answers about the details on an R-specific mailing list.


HTH,


L.

> Thanks
>
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
>
>
>
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to