I tried this:

sh -c 'R_DEFAULT_PACKAGES="$R_DEFAULT_PACKAGES rattle" R "$@"'

but without success. I get this message:

R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i486-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Rattle: A free graphical interface for data mining with R.
Version 2.6.6 Copyright (c) 2006-2011 Togaware Pty Ltd.
Error : .onAttach failed in attachNamespace() for 'rattle', details:
  call: rownames(installed.packages())
  error: could not find function "installed.packages"
Rattle: A free graphical interface for data mining with R.
Version 2.6.6 Copyright (c) 2006-2011 Togaware Pty Ltd.
Error : .onAttach failed in attachNamespace() for 'rattle', details:
  call: rownames(installed.packages())
  error: could not find function "installed.packages"
In addition: Warning message:
package ‘rattle’ in options("defaultPackages") was not found
During startup - Warning message:
package ‘rattle’ in options("defaultPackages") was not found


2011/4/16 Iurie Malai <iurie.malai@gmail.com>

> How to make a launcher for Rattle?
>
> Regards,
> Iurie Malai
> Moldova Pedagogical State University
>

	[[alternative HTML version deleted]]

