similar to: How to join path with arguments

Displaying 20 results from an estimated 1000 matches similar to: "How to join path with arguments"

2008 May 16
2
Getting JRI/rJava to work
Hello All I am trying to get the JRI examples from rJava to work on Windows XP and failing. (And as a more general and connected question is there any review/summary of front-end software for R?) I have installed rJava from the Windows binary supplied. I compile and run the example supplied (rtest.java) and get the results below. I do not think the notes about a deprecated API are a problem. But
2010 Jan 15
2
processing all files with certain extension in a directory
Hi all, I'm trying to process all files with a certain extension "*.ext" in a directory like this: > R --slave --args /my/dir < dir_plot.r where I then I want to do something like: myarg <- commandArgs() inputdir <- myarg[length(myarg)] print(inputdir) "for file with extension "*.ext in inputdir" do data = process.data(file) outfile =
2009 Jan 19
2
How to assign names in a list
Hi All How can you associate names with a list when names have not been assigned? For example if you have a list like this: list2<-list(1,2,3) list2 [[1]] [1] 1 [[2]] [1] 2 [[3]] [1] 3 How do you make it look like this with names? : f1<-1 f2<-2 f3<-3 list1<-list(name1=f1, name2=f2, name3=f3) list1 $name1 [1] 1 $name2 [1] 2 $name3 [1] 3 Thanks for any help. I expect
2008 Mar 06
1
histogram like x labels in barplot
Hi, all I drew a barplot with > barplot(data1, beside=TRUE) and then, I want to labels with hist() like x-axis ticks. How can I do this? Thanks in advance, Hyunchul
2008 Feb 19
1
How to count from larger value to smaller value in ecdf (Empirical Cumulative Distribution Function)
Hi, all ecdf function (Empirical Cumulative Distribution Function) in "stats" package counts from smaller values to larger values. However, I want to draw it by counting from larger value to smaller values and I couldn't find options for this purpose. How can I draw ecdf or ecdf like graph by counting from larger values to smaller values. Thank you in advance. Hyunchul Kim
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
Could someone please apply this patch to the Win32 support so that Morten and Jeff can handle the recent changes? I can't do it because I"m on the road with only email access. Thanks, Reid. -----Forwarded Message----- > From: Morten Ofstad <morten at hue.no> > To: Reid Spencer <reid at x10sys.com> > Subject: Updated LLVM Visual Studio project files > Date: Thu,
2018 Jul 26
4
Problem with definition of slist in CFEngine
Hey folks, I have a problem with the definition of a variable of type slist in CFEngine on # uname -a ; cat /etc/redhat-release Linux policyhub.example.com 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux CentOS Linux release 7.4.1708 (Core) I'm not sure if its valid to ask CFEngine questions on this mailing list, but as far as I'm running on
2008 Feb 29
4
help
Dear Sir/Madam, I got some problem about using R. I am a student, and need to use R a lot. But sometimes when I am working in computer lab, we can not install some particular pacakges by ourselves because of the previliges. Can the folder of Librabry of R, move to, for instance the personal folder, my documents... then we can install any specified package? Best regards,
2010 Aug 16
5
how to test if a vector contain a value?
Hi all, How to convert following simple python script to R if x in a_list: print x OR simply, how to test if a vector contain a value? Thank you in advance, Hyunchul [[alternative HTML version deleted]]
2004 Dec 03
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
On Fri, 3 Dec 2004, Reid Spencer wrote: > Could someone please apply this patch to the Win32 support so that > Morten and Jeff can handle the recent changes? I can't do it because > I"m on the road with only email access. I'd be happy to do it. Can someone send me the patch as an attachment off-list? -Chris > > <Tool > >
2010 Sep 03
4
function to compare numbers
Hi, all is there a built-in function to compare two numbers? something like following function cmp <- function(x, y){ value <- 0 if (x > y){ value <- 1 }else if (x == y){ value <- 0 }else { value <- -1 } return(value) } Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2005 Mar 27
5
Print from wine
I'm running debian sarge and have installed wine with "apt-get" (wine 20041201). Afterwards I configurated it with winetools. Everything went fine. I also installed the Internet Explorer and Office 2000. There were no problems during the installation and IE and Office run without problems besides printing. There I get error messages like "no printer installed". Is
2006 Jun 09
4
HTML nsmall vector format problem
Hello All I am having a bit of trouble formatting my HTML with the desired number of digits after the decimal place. Am I doing something wrong/misunderstanding or is it a bug? Looking at the example supplied with ?HTML.data.frame: HTML(iris[1:2,1:2],nsmall=c(3,1),file="") Gives html output that includes the lines: </tr> <tr><td
2010 Aug 30
2
listing files recursively
Hi, all how to get all filenames in a directory and its all subdirectories? something like filenames <- c(Sys.glob('/path/to/directory/*'), Sys.glob('/path/to/directory/*/*'), Sys.glob('/path/to/directory/*/*/*'), ...) Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2007 Nov 16
7
sorting factor levels by data frequency of levels
using an example from r online help > state <- c("tas", "sa", "qld", "nsw", "nsw", "nt", "wa", "wa", "qld", "vic", "nsw", "vic", "qld", "qld", "sa", "tas", "sa", "nt", "wa", "vic",
2006 Oct 25
1
Cross-compilation
Hi everyone, I am trying to cross-compile a package I wrote using the Yan and Rossini tutorial "Building Microsoft Windows versions of R and R packages using Intel Linux". I have got reasonably far with this but when doing the linking using the line: i586-mingw32-g++ -shared -s -o mylibrary.dll mylibrary.def mylibrary.o mylibrary_res.o
2010 Aug 29
2
take component names of a list
Hi, all I want to take a vector of component names of a list. list.a <- list('x'=1, 'y'=2) how to get a c('x','y') from list.a? Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2003 Apr 22
2
full upload happening even though only a timestamp has changed
Hello, For no apparent reason Rsync is uploading the whole file even though the the remote file is identical to the local file. Here is a transcript to demonstrate what is going wrong: tomg@nova:~/mylibrary$ rsync -rtlPvessh /extra/library teep:/extra/tomg building file list ... 46349 files to consider wrote 1358812 bytes read 20 bytes 44551.87 bytes/sec total size is 5240249974 speedup is
2008 May 01
3
elseif syntax
Hi, all How to use elseif ? For example, like following short python examples. ********* x = 1 if x == 1: print 'same' *elif* x > 1: print 'bigger' else: print 'smaller' ********* Thanks in advance, Hyunchul Kim [[alternative HTML version deleted]]
2010 Sep 19
2
get time as a number
Hi, all, How to get a time as a number? While script is running, I want to print the elapsed time something like TIME_AS_SECOND() in the following script inittime <- TIME_AS_SECOND() for (i in 1:100){ do_something(i) curtime <- TIME_AS_SECOND() elapsedtime <- curtime-inittime print(paste(i, elapsedtime)) } Thanks in advance, Hyunchul [[alternative HTML version