This works perfectly correctly in four separate configurations (32-/64-bit 
x gcc/cc) on our Solaris 8, and I can see no change in the R sources for 
do_system since Mar 2004.

Are you sure that it is not something in your build environment that has 
changed since 2.1.1 was built?

Please confirm that if you build 2.1.1 and 2.2.0 with the same tools they 
behave differently, and if so tell us what those tools are.

All R is doing here is to call the C system call and the output comes from 
the shell directly to the terminal, without any intervention from R.  You 
might try a command that actually does something permanent to confirm that 
csh is executing it: if that is the case the issue is how csh writes to 
your terminal.

On Wed, 19 Oct 2005 [EMAIL PROTECTED] wrote:

> Dear R developers,
>
> after upgrading from R 2.1.1 to 2.2.0 I can't start csh (scripts) anymore.
>
> While the following commands work fine
>
>  > system("tcsh -c pwd")
>  /hom1/users/gloeckler
>  > system("bash -c pwd")
>  /hom1/users/gloeckler
>  > system("ksh -c pwd")
>  /hom1/users/gloeckler
>
> csh (in contrast to the shells used above) doesn't give any result:
>
>  > system("csh -c pwd")
>  >
>
> Outside of R csh and csh scripts do not cause any problems.
>
> I tracked down a problem with starting an HTML browser down to this
> problem with the invocation of any csh process.
>
> The csh used is the normal C-Shell shipped with Solaris 9.
>
> Thanks in advance,
> Jens Gloeckler
>
>
>
> --please do not edit the information below--
>
> Version:
> platform = sparc-sun-solaris2.9
> arch = sparc
> os = solaris2.9
> system = sparc, solaris2.9
> status =
> major = 2
> minor = 2.0
> year = 2005
> month = 10
> day = 06
> svn rev = 35749
> language = R
>
> Locale:
> C
>
> Search Path:
> .GlobalEnv, package:methods, package:stats, package:graphics, 
> package:grDevices, package:utils, package:datasets, Autoloads, package:base
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to