[R] r and ocx

2009-07-30 Thread Applejus
Hello dear community, I have written scripts in r that involve 3d plots (rgl library). I would like to know if there is a possibility of creating an OCX object that contains my code and plot? The reason is I need to embed my r script into another application that only accepts OCX This

[R] rscript write function

2009-02-10 Thread Applejus
Hi, I have this very simple two-line script : test.r: print (abc); write(def,test.txt); When run with rscript.exe --vanilla test.r (or just rscript.exe test.r), I get the abc output in the shell but no file is created in the directory I noticed that the only time the test.txt

Re: [R] rscript write function

2009-02-10 Thread Applejus
OK, obviously that was a silly question... SOLUTION: just specify the path in the write function...! Sorry ! Applejus wrote: Hi, I have this very simple two-line script : test.r: print (abc); write(def,test.txt); When run with rscript.exe --vanilla test.r (or just

[R] PHP and R

2009-01-16 Thread Applejus
Hi, I know I've already asked this question, but I am really getting trouble getting a PHP document execute an R function on windows. I would appreciate if someone could give me a simple example code where a php calls an R function and passes to it arguments, specifying also how to set up the

[R] PHP and R

2009-01-11 Thread Applejus
Hi, I know that using PHP command exec(...) you can call a unix command that would run an R script, but how does it work on Windows platform? Basically, I have an R function which takes a file and two strings as arguments and I need to call this function and pass to it the arguments

Re: [R] R and SPSS

2008-11-27 Thread Applejus
Thanks all! Tobias Verbeke wrote: There exists a R plug-in for SPSS. You can find it on the SPSS website. ... and there is a page on the R wiki: http://wiki.r-project.org/rwiki/doku.php?id=tips:callingr:spss HTH, Tobias I have a code in R. Could anyone give me the best

[R] R and SPSS

2008-11-26 Thread Applejus
Hi, I have a code in R. Could anyone give me the best possible way (or just ways!) to integrate it in SPSS? Thanks! -- View this message in context: http://www.nabble.com/R-and-SPSS-tp20708367p20708367.html Sent from the R help mailing list archive at Nabble.com.

[R] opening an external file

2008-09-01 Thread Applejus
Hi, Is there a way to launch a file from an R command? To be more precise: I am using windows, and I have an html file in the working directory of R, and I would like my code in R to automatically launch the html file in the browser (that is, open the file). Basically, i would like to simulate

Re: [R] opening an external file

2008-09-01 Thread Applejus
on Windows). On Mon, Sep 1, 2008 at 5:06 PM, Applejus [EMAIL PROTECTED] wrote: Hi, Is there a way to launch a file from an R command? To be more precise: I am using windows, and I have an html file in the working directory of R, and I would like my code in R to automatically launch the html file

[R] graphsheet

2008-08-17 Thread Applejus
Hello, I am trying to convert the following command from SPLUS to R: graphsheet(pages = TRUE) Does anyone have an idea what is the equivalent in R? Thanks -- View this message in context: http://www.nabble.com/graphsheet-tp19026010p19026010.html Sent from the R help mailing list archive

Re: [R] The assign function in R

2008-06-19 Thread Applejus
contains the help page for assign() in S ca 1988, and apart from what where=0 means (which may well be a later addition) the information is all there. On Thu, 19 Jun 2008, Peter Dalgaard wrote: Duncan Murdoch wrote: Applejus wrote: Hello, I want to convert assign(a, b, where =1 ) from SPLUS

[R] The assign function in R

2008-06-17 Thread Applejus
Hello, I want to convert assign(a, b, where =1 ) from SPLUS to R. Is it safe to assume that the equivalent of where=1 is pos=1 in R? Thanks for help! -- View this message in context: http://www.nabble.com/The-assign-function-in-R-tp17918416p17918416.html Sent from the R help mailing list

[R] length functions

2008-05-22 Thread Applejus
Hello, Does anyone know what the functions p_length and s_length do in SPLUS and what is their equivalent in R? Thanks! -- View this message in context: http://www.nabble.com/length-functions-tp17406498p17406498.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] length functions

2008-05-22 Thread Applejus
Never mind! In fact I just discovered that the underscore and the - are used equivalently in SPLUS. Applejus wrote: Hello, Does anyone know what the functions p_length and s_length do in SPLUS and what is their equivalent in R? Thanks! -- View this message in context: http

[R] var function

2008-05-14 Thread Applejus
Hello, I am trying to convert this splus line of code to R : var(outcome[1, ], unbiased = FALSE) It seems the var function in R doesn't have the unbiased argument. Could someone help me figure the correct equivalent line in R? Thank you -- View this message in context:

[R] is.category

2008-05-12 Thread Applejus
Hello, Could someone tell me what the SPLUS is.category function do and what is its equivalent in R? Thank you, I couldn't find any help elsewhere... -- View this message in context: http://www.nabble.com/is.category-tp1719p1719.html Sent from the R help mailing list archive at

[R] printing to the console in color

2008-04-23 Thread Applejus
Hi, Is there a function that would allow me to print things in different colors to the CONSOLE, say one line in blue and another line in green? Right now, the print() function only prints in navy blue... Thanks! -- View this message in context: