Full_Name: David Hall (gringer)
Version: 2.7.2 (2008-08-25)
OS: Debian GNU/Linux (sid/lenny)
Submission from: (NULL) (130.195.86.38)
Following on from a conversation I had with someone on IRC about Java's handling
of difficult floating point numbers and its comparison with R's handling, I
observe
Dear all,
I have asked before, in R-help [1], about a way to create an
interactive session in which commands are taken from a file or
standard input - like R CMD BATCH but additionally allowing user input
- but there was no response to that question, and the workarounds that
I have found
Dear R-developers,
In read.table() the argument |colClasses = "NULL" can be used to skip
columns and col.names to name the variables. The first time I tried to
skip columns, I naively thought that /first/ the "NULL"-columns are
skipped, /then/ you name only the remaining columns actually speci
Dear list members,
When I modify the MFC sample (using the statconnector graphics device) to
show a lattice graph in the Active X control (actually the wireframe from
http://addictedtor.free.fr/graphiques/graphcode.php?graph=40 ) the program
runs without generating any errors, but the data-driven
For an alternative approach to your original goal, take a look at
demoSource() in the SoDA package from CRAN. It's a bit tedious to set
up (see the Details section of the help file) but uses standard R
sessions to mix lines from a demo file and interactive input.
John
Jon Clayden wrote:
Dea
One canonical way of doing it is:
(echo 'print(readline("Input:"))'; cat -) | R --interactive --no-save
(you don't want to leave out --no-save )
John Chambers wrote:
> For an alternative approach to your original goal, take a look at
> demoSource() in the SoDA package from CRAN. It's a bit
> I assume, given this outcome, that this is not the intended use of
> --interactive, but I still wonder if there is any way to achieve an
> interactive session based on a predefined set of commands without writing a
> completely new front-end (overkill, surely?).
When you say an interactive sessi
hadley wickham wrote:
>> I assume, given this outcome, that this is not the intended use of
>> --interactive, but I still wonder if there is any way to achieve an
>> interactive session based on a predefined set of commands without writing a
>> completely new front-end (overkill, surely?).
>>
My application, at least, wanted to show (my class) individual commands
from the file and then optionally insert some typed commands before
going on to the next part of the source file. As far as I can see, the
piped shell command approach will have to treat the whole file at one time.
John
Pe
Many thanks for the suggestions.
The use case I had in mind is more along the lines of what Peter
Dalgaard mentioned, and his solution looks ideal. I know in advance
exactly what code I want to run, but some of that code may require
user input.
Jon
2008/9/25 John Chambers <[EMAIL PROTECTED]>:
>
John Chambers wrote:
My application, at least, wanted to show (my class) individual
commands from the file and then optionally insert some typed commands
before going on to the next part of the source file. As far as I can
see, the piped shell command approach will have to treat the whole
file
Full_Name: Cyril Alegret
Version: 2.7.2
OS: Windows
Submission from: (NULL) (90.80.39.42)
An error occurs when I try to load the package "tcltk2_1.0-7" with R-2.7.2
(whereas it works with version 2.6.2).
Please find below the error message :
"> source("C:\\Data\\Travail\\Software&Method\\R\\Proc
On 25/09/2008 7:30 AM, [EMAIL PROTECTED] wrote:
Full_Name: Cyril Alegret
Version: 2.7.2
OS: Windows
Submission from: (NULL) (90.80.39.42)
An error occurs when I try to load the package "tcltk2_1.0-7" with R-2.7.2
(whereas it works with version 2.6.2).
Please find below the error message :
"> s
13 matches
Mail list logo