similar to: Re:How to create a R -application

Displaying 20 results from an estimated 20000 matches similar to: "Re:How to create a R -application"

2004 Oct 07
3
Read.Table Reading a Text file
Dear R users and Helpers I am beginner with using R and interested in carrying out certain task for my statistical research. I am reading data for a text file, which could contain data in following pattern x y 8 10 11 14 16 16 18 15 6 20 4 4 20 18 As per the example I have two columns and 7 rows of data in each. However is real life data situation I may not know how many columns are present
2004 Oct 27
2
Random number
Dear R- User I created two random number sets using rnorm function and calcuted their respective means. However now I would like to randomly replace some values with NA. Thus create my own test data. Any help or suggestions on this ? Also wanted to confirm when multiplying two random number vectors x am y by matrix..is this how i do it. A is the matrix z <- c(x,y)
2004 Oct 28
2
array problem and for looping
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20041028/dbf887a9/attachment.pl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: random1.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20041028/dbf887a9/random1.txt
2004 Oct 13
1
Maximum Likelihood :- Log likehoood function
Dear R - users/Helpers I am dealing with bivariate Normal data with missing values. Further I am trying to implement Expectation-Maximization (EM) algorithm to resolve the missing data problem. Now one of the requirements is use the Log likehood function i.e -2Log so as to find a reliable convergence.... My question is there any R built function for the same or do i have to use the
2004 Oct 25
1
Ref: Variable scope or function behaviour or array reassign
Dear R- helpers Following a draft structure of the R script for which I am facing problem Step 1 x <- of type array with original values y <- of type array with original values Step 2 for (ctr in 1:10) { # my problem here the both x and y still show the original values from step 1 # in spite of making changes to the old values of the arrays x and y in the function function
2004 Oct 08
1
reading partial file content
hi, I'd like to extract data from very large files (ca 1-2 Mio lines), and I already know which lines of these files I need. Is there a way to do it without filling the memory with the whole file content? The lines I need are randomly distributed within the files. Thanks, Marc -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at
2007 Apr 01
2
commandArgs usage and --args invokation
Dear R experts: I am a bit stymied by how the argument picking-off works in R batch file usage. $ cat commandArgs.R cat(" Command Line Arguments were ", commandArgs(), "\n"); $ /usr/bin/R CMD BATCH commandArgs.R --args 1 2 3 $ /usr/bin/R --args 1 CMD BATCH commandArgs.R ... I am now getting into interactive mode ?! I guess it really is skipping the rest of the command line
2002 Jun 25
1
commandArgs: feature request
Dear R-core Team, As Thomas Lumley pointed out in one of his e-mails one can use commandArgs() to get a copy of the command line arguments supplied when R session was invoked and then use grep to extract parameters of interest. His solution works very well if the custom options are passed by names, e.g. --my-option=value, but what if one wants to pass parameters by their positions. Then it's
2007 May 16
2
Running R function as a Batch process
Hi, I am struggling with using R CMD BATCH command. Kindly suggest solution to the following problem. I have a function named CinC with accept two input parameters. This can be shown as: CinC <- function(start, end) where start and end both are character strings. Please suggest me how can I run this function using command R CMD BATCH. Currently I am trying to do like this -> R CMD
2012 May 03
1
is there a way of identifying batch mode running?
Hello list Is there a way of identifying from within R whether a script has been source(d) from Rgui.exe or via Rscript.exe in batch mode? For the code I have I use the commandArgs() function to pick up command line args when running in batch mode via Rscript.exe However I like to get the code working manually first using source("MyRCode.r") I'd like to be able to put something at
2011 Oct 14
1
"verbose source" command?
(Apologies for the n00b question.) Hello, I'm teaching R in an introductory programming course and am walking the students through the baby steps. One thing I'd like to be able to do is have them copy the commands they type at the R console into a text file, and then execute the text file to see the results. For instance, if their session looks like this: 3+4 [1] 7 factorial(10) [1]
2019 Feb 25
2
Linking mailboxes
drwx-----x kunal kunal Storage I'm guessing this point is being more restrictive. Can you try changing this into 0755? Also suddenly you are no longer using vmail but random user IDs. This only works with vmail. Aki > On 25 February 2019 19:56 Kunal A. <kunal.oa at gmail.com> wrote: > > > Hi, > Yes. Output ;- > > dr-xr-xr-x root root / > drwxr-xr-x root
2005 May 10
2
Manoj Shetty is out of the office. [Email checked- EMEA]
Whew... What a relief. I know the list was worried about why we could not get a hold of Manoj Shetty.... W -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Manoj Shetty Sent: Monday, May 09, 2005 12:24 PM To: asterisk-users Subject: [Asterisk-Users] Manoj Shetty is out of the office. [Email checked- EMEA] I
2019 Feb 25
2
Linking mailboxes
Dear Aki, Many thanks again. Thanks for explaining this. Very grateful for your assistance. Thanks a bunch ! Kunal On Mon, Feb 25, 2019 at 11:56 AM Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > At minimum directories > > /run/media/computer/Storage/ > > need to have o+x, so you can do > > chmod o+x /run /run/media /run/media/computer /run/media/computer/Storage
2019 Feb 25
2
Linking mailboxes
Dear Aki, I have given permission to the folders Storage/Email to vmail. But the upper hierarchy is not under vmail . Full directory = /run/media/computer/Storage/Email /run/media/computer = not vmail Storage/Email = vmail How do I get this corrected ? It seems like vmail needs access through all through run/media/computer . Please excuse my ignorance as I am not very familiar with
2003 May 05
1
commandArgs()
Apologies for asking about this, but I don't quite understand how this works after looking through the FAQ and the Help archives. Let's say I want to pass "1000" as an argument to R. I did the following: >R CMD BATCH --1000 infile outfile When I do print( commandArgs() ), I see [1] ".../R.bin" "--restore" [3] "--save"
2016 Jun 16
2
AD authentication on samba server using sssd
Well thanks. Will post it on the sssd list. On Wed, Jun 15, 2016 at 11:36 PM, Rowland penny <rpenny at samba.org> wrote: > On 15/06/16 18:24, shridhar shetty wrote: > >> I am trying to run samba with sssd service and AD authentication. >> I have joined the linux server to the AD domain using realmd and using >> sssd >> to authenticate to the AD. I am able to
2004 Oct 28
2
Running R on a grid engine
Dear Group, I am using DEAL package for modeling signal transduction nets. This process is deal slow on a SunFire server with 8 gigs ram. we have a grid that can process much faster that one individual server. However, to start the process in Grid, I have to give a command or submit a batch process. Is there any way, I can run R in bach process. I tried the following: R CMD |
2007 Nov 24
3
Query About Domain Configuration for Xen on Solaris 11 Build snv_77 i86pc
Hi All, I have installed Solaris 11 Build snv_77 on x86 box. I have been facing problem while working with Xen (xm command)... I have installed guest domain/VM/OS(Solaris 11 Build snv_77) on x86 box, using "virt-install" utility. After rebooting the host machine, my guest domain has become inactive. I am not able to perform any task on guest domain, including getting console. It
2019 Feb 25
2
Linking mailboxes
Dear Aki, Many thanks for your feedback. Its what I figured I should do but I was not sure how safe it was. Would it make sense to execute the following to /run/media/computer so that the user/group is vmail? sudo chown -R vmail:vmail to the /run folder ? Also if this practice is safe to perform? Thanks Kunal A On Mon, Feb 25, 2019 at 11:20 AM Aki Tuomi <aki.tuomi at open-xchange.com>