[R] Help with RExcel (running code)
Erich Neuwirth
erich.neuwirth at univie.ac.at
Sun May 3 13:57:31 CEST 2009
Please send mail to the rcom mailing list.
You can subscribe at
rcom.univie.ac.at
benn fine wrote:
> Hello:
>
> First, RExcel completely rocks! Hat tip to the development team.
>
> However, I don't understand something very basic about it.
>
> Suppose I put the following code in two cells and choose the Run Code option
>
> plot(runif(20),runif(20))
> text(.5,.5,"Hello")
>
> I get the expected plot.
>
> HOWEVER, if I put the following in a cell and hit Run Code, I get nothing.
>
> runif(20)
>
> HOWEVER, If I choose the Get R Value command, and tell it to run runif(20), I
> get the output I expect.
>
> Am I doing something wrong, or just don't fully understand how the Run
> Code Option works?
>
> Actually, I don't get this at all-
>
> try the following in a cell
> cat("Hello")
>
> ERROR message when you try the Get R Value
>
> but the following works when you try the Get R Value
> print("Hello")
>
> Of course, neither of these commands work with the R Code option.
>
> Any insights from the gurus out there?
>
> Thanks!
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39464 Fax: +43-1-4277-39459
More information about the R-help
mailing list