Greetings,
I have just installed version 3.0.0. I am trying to use code that I
have used numerous times in previous versions of R. My code executes
correctly until I try to call makePSOCKcluster. I issue the following
command and get the following error:
cluster - makePSOCKcluster(nodes,
On 07/05/13 02:10, Ken Weiss wrote:
Greetings,
I have just installed version 3.0.0. I am trying to use code that I
have used numerous times in previous versions of R. My code executes
correctly until I try to call makePSOCKcluster. I issue the following
command and get the following error:
Hello,
I have this script which will be invoked as
Rscript a.r a.r
a.r follows
#!/usr/bin/Rscript --vanilla
f=file(stdin)
while(TRUE){
y=readLines(f,n=1,warn=TRUE)
if(length(y)==0) break else print(y)
}
But it only reads one line from a.r
How can I read line by line from standard
On 14 October 2010 at 08:49, Saptarshi Guha wrote:
| Hello,
| I have this script which will be invoked as
|
| Rscript a.r a.r
|
| a.r follows
|
| #!/usr/bin/Rscript --vanilla
| f=file(stdin)
| while(TRUE){
| y=readLines(f,n=1,warn=TRUE)
| if(length(y)==0) break else print(y)
| }
|
|
|
On 14 October 2010 at 11:21, Dirk Eddelbuettel wrote:
| On 14 October 2010 at 08:49, Saptarshi Guha wrote:
| | Hello,
| | I have this script which will be invoked as
| |
| | Rscript a.r a.r
| |
| | a.r follows
| |
| | #!/usr/bin/Rscript --vanilla
| | f=file(stdin)
| | while(TRUE){
| |
Dirk, thanks.
On Thu, Oct 14, 2010 at 9:42 AM, Dirk Eddelbuettel e...@debian.org wrote:
On 14 October 2010 at 11:21, Dirk Eddelbuettel wrote:
| On 14 October 2010 at 08:49, Saptarshi Guha wrote:
| | Hello,
| | I have this script which will be invoked as
| |
| | Rscript a.r a.r
| |
| |
Dear List,
I'm having trouble running a .bat file which calls an R-Script via the
command line (using Rscript).
I put the following line in a file called test.bat:
Rscript --vanilla test.R
Then I tried to launch test.bat via Windows' CMD (I plan to make this a
scheduled Windows task).
The
Dear List,
Hopefully someone will point me to a piece of documentation that I have
overlooked.
I am running Rscript successfully to read and execute an R program, but
have failed
to find the correct syntax to route the output to a file using the
Rscript command that invokes
the job. I tried
You use the facilities of your command-line shell.
Rscript infile.R outfile
works in every one I have seen in recent years, including Windows'
cmd.exe (although many people prefer more capable shells on that
platform such as tcsh or bash).
On Fri, 30 Jan 2009, Philip Whittall wrote:
Dear
9 matches
Mail list logo