On 9/7/2007 2:05 PM, Paul Smith wrote:
> On 9/7/07, Barry Rowlingson <[EMAIL PROTECTED]> wrote:
>> > When one loads certain packages, some other dependent packages are
>> > loaded as well. Is there some way of detaching them automatically when
>> > one detaches the first package loaded? For instanc
On 9/7/07, Barry Rowlingson <[EMAIL PROTECTED]> wrote:
> > When one loads certain packages, some other dependent packages are
> > loaded as well. Is there some way of detaching them automatically when
> > one detaches the first package loaded? For instance,
> >
> >> library(sqldf)
> > Loading requi
Paul Smith wrote:
> Dear All,
>
> When one loads certain packages, some other dependent packages are
> loaded as well. Is there some way of detaching them automatically when
> one detaches the first package loaded? For instance,
>
>> library(sqldf)
> Loading required package: RSQLite
> Loading re
If its good enough just to get rid of all attached packages since after startup
you could just do repeated detaches like this making use of the fact that
search() has 9 components on startup:
replicate(length(search()) - 9, detach())
On 9/7/07, Paul Smith <[EMAIL PROTECTED]> wrote:
> Dear All,
>
Dear All,
When one loads certain packages, some other dependent packages are
loaded as well. Is there some way of detaching them automatically when
one detaches the first package loaded? For instance,
> library(sqldf)
Loading required package: RSQLite
Loading required package: DBI
Loading require