search for: r_opt

Displaying 3 results from an estimated 3 matches for "r_opt".

Did you mean: r_apt
2004 Sep 05
1
[PATCH] simple rm command
...00 +0200 @@ -0,0 +1,116 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <unistd.h> +#include <dirent.h> + +#include <linux/limits.h> + +static char *progname; +static int f_opt, r_opt; + +static int recursive_rm(const char *path); + +static int unlink_direntry(const char *p) +{ + struct stat sb; + int ret; + + if (lstat(p, &sb) < 0) { + ret = 1; + if (!f_opt) + perror(p); + goto out; + } + + if (S_ISDIR(sb.st_mode) && r_opt) + ret = recursive_rm(p); + else {...
2003 May 20
1
R in BATCH mode
Dear all, In R<=1.6.2 I usually used the following code (in DOS prompt) to run R in batch mode C:\documents> Rcmd BATCH myfile.R and I could see the results (including warning messages) in the file myfile.Rout In R.1.7.0 I'm experiencing the followings: (1) even if I type "Rcmd BATCH myfile.R myfile.Rout", no file myfile.Rout is created, but just a "&1" file
2001 Sep 06
4
code/documentation mismatches
Hi, I would like to get a hint on how to debug in the case of #> R CMD check pllib signalling * checking for code/documentation mismatches ... WARNING Error in parse(file, n, text, prompt) : syntax error on line 22 I am able to sort out which of the files is the culprit is by swapping files in and out of the /R and /man directories. But I cannot find the syntax error, the .Rd file seems