similar to: use of "input" in system()

Displaying 20 results from an estimated 20000 matches similar to: "use of "input" in system()"

2012 Oct 02
1
R process must die - can I save history?
I connected from my desktop Linux box to a Linux server using ssh in an xterm, but that xterm was running in Xvnc. I'm running R on the server in that xterm (over ssh). Something went wrong with Xvnc that has caused it to hang, probably this bug: https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/819473 So I can't get back to that ssh session or to R. I had done a bunch of work
2005 Apr 04
1
R package that has (much) the same capabilities as SAS v9 PROC GENMOD
I need capabilities, for my data analysis, like the Pinheiro & Bates S-Plus/R package nlme() but with binomial family and logit link. I need multiple crossed, possibly interacting fixed effects (age cohort of twin when entered study, sex of twin, sampling method used to acquire twin pair, and twin zygosity), a couple of random effects other than the cluster variable, and the ability to
2011 Jan 24
1
determining the order in which points are plotted
I make plenty of scatterplots, especially using scatterplot.matrix from library(car). One thing I don't know how to do is determine which points are plotted last. Sometimes I plot a large number of points for multiple groups represented by different colors. I would like to guarantee that point that are far from the centroid for their group are plotted last. This way they will be
2011 May 02
1
UNIX-like "cut" command in R
The R "cut" command is entirely different from the UNIX "cut" command. The latter retains selected fields in a line of text. I can do that kind of manipulation using sub() or gsub(), but it is tedious. I assume there is an R function that will do this, but I don't know its name. Can you tell me? I'm also guessing that there is a web page somewhere that will tell
2011 Sep 07
1
storage and single-precision
I'm getting the impression from on-line docs that R cannot work with single-precision floating-point numbers, but that it has a pseudo-mode for single precision for communication with external programs. I don't mind that R is using doubles internally, but what about storage? If all I need to store is single-precision (32-bit), can I do that? When it is read back into R it can be
2011 Apr 14
1
integer and floating-point storage
I note that "current implementations of R use 32-bit integers for integer vectors," but I am working with large arrays that contain integers from 0 to 3, so they could be stored as unsigned 8-bit integers. Can R do this? (FYI -- This is for storing minor-allele counts for genetic studies. There are 0, 1 or 2 minor alleles and 3 would represent missing.) It is theoretically possible
2011 Aug 05
1
If find x, then y, else do nothing
I want to write code that says "If you find an element equal to 4 in this vector for each person in the data set tested separately, then put in 1 for 2 and 2 for 4, else leave the variable as is" u.ppl <- (unique(init.dat1$grid)) l.ppl <- length(u.ppl) for (i in 1:l.ppl) { if (grep("4",init.dat1$Slide1_RESP)) {2 == 1, 4 == 2}; else
2007 Jan 09
1
MINNESOTA: TwinCities Asterisk Users Group - Saturday January 13th 2007 - 11:30am
This is a reminder that the Twin Cities Asterisk Users Group will be meeting this Saturday, January 13 at 11:30am. - This month's meeting will focused on IP Telephony (VoIP) and network security, threats, defenses and countermeasures you can use to strengthen your Asterisk system. Meetings are held monthly on the second Saturday of each month, excluding July and December. The Agenda is
2011 Aug 22
1
Counting Elements Conditionally
R - I have 3 variables with data below. Variable "Rev" is a vector that changes from 1 to 2, 2 to 3, etc.... Variable "FF" is a binary variable with 1's and 0's. Variable "bin" is a different binary variable with 1's and 0's. I want to calculate the number of elements: 1. Starting with the first element where Rev switches (i.e. 1 to 2) 2. The
2007 Sep 04
1
bootstrap confidence intervals with previously existing bootstrap sample
Dear R users, I am new to R. I would like to calculate bootstrap confidence intervals using the BCa method for a parameter of interest. My situation is this: I already have a set of 1000 bootstrap replicates created from my original data set. I have already calculated the statistic of interest for each bootstrap replicate, and have also calculated the mean for this statistic across all the
2011 Jul 27
1
Hidden Markov Models in R
R Community - I am attempting to fit a model as described in Hampton, Bossaerts, and O'doherty (J. Neuroscience) 2006. They use a bayesian hidden markov model to model the Reversal Learning data. I have tried using HMM and depmixS4 with no success. My data is a Reversal Learning Task in which there are 3 sets of patterns over 3 blocks. The participant receives incorrect or correct
2011 Jun 28
2
Loop through each subject
R help - I am attempting to write a script that has multiple subjects in 1 data file. Each subject has multiple rows with columns as variables. Here is my code, I am having problem executing it on each unique subject id (dat$Subject). getwd() setwd("/Users/edwardpatzelt/Desktop/Neuroimaging/MERIT/SRRT/merge") dat <- read.table("test2.txt", header = TRUE, na.strings
2009 Oct 30
1
[LLVMdev] LLVM Users in the Twin Cities?
Kenneth had a good idea trying to organize local LLVM user chapters. Anyone else in the Twin Cities hacking on LLVM? I'd love to get together sometime. -Dave
2007 May 09
0
MINNESOTA: Twin Cities Asterisk Users Group - Saturday May 12th 2007 - 11:30am
There will be a Twin Cities Asterisk Users Group meeting this Saturday, May 12th, at 11:30 'til about 1:30 at the Atacomm Corporate Offices at 7365 Kirkwood Court N., Suite 350, Maple Grove, Minnesota 55369. Although there is no formal program scheduled, we'll chat about Asterisk applications including interesting dial plans including one enabling Asterisk systems to keep an eye (ear?) on
2006 Jan 09
2
First Rails project: input welcomed
Hi everyone, I''m working on my first Rails project and I''d like some input before I get started coding in earnest. My previous Web app development experience has been in standard Python CGI and Zope. I''m here to find out more about Rails. I work in technology in an average-sized school district (8,000 students) in Minnesota (USA). One of the problems in our
2010 Mar 24
2
Exclude data using logical
Hi, I'm wanting to exclude data more than 2 sd's from the mean before proceeding with further analyses. I've created new logical variables (a and b) and written them to the existing dataframe. I want to be able to subset the TRUE observations based on another 2 factor variable. I'm assuming this is possible, but I don't know what I'm doing wrong, as I get results that
2011 Aug 02
6
[PATCH v2 0/4] Support drop directories directly from kinit
This patchset applies to klibc mainline. This patchset introduces the ability to kinit to execute scripts or executable files present in in the initramfs before switching over to the root filesystem. It is implemented by first implementing scandir() and alphasort() as present in POSIX.1-2008 in klibc itself, and then using that as the basis for iterating and executing files via a run_scripts()
2006 Apr 07
0
MINNESOTA: TwinCities Asterisk Users Group - Saturday 04/08/2006
SPONSORED THIS MONTH BY: SOUND CHOICE COMMUNICATIONS LLC "Keep in touch with the World" Hello, The next Asterisk Users Group meeting has been scheduled for this Saturday March 11th at 11:30am. Meetings are held monthly on the second Saturday of each month, excluding July and December. The Agenda is posted online
2007 Nov 27
2
lme object manipulation
Hello: I have an lme object, say lme_res2, which was generated using the varIdent. I'm trying to extract the double 1.532940 from the object, but I can't find it by attributes(lme_res2) or attributes(summary(lme_res2)). How can I pull it out (so that I can save it to another variable)? Thanks. Shin Linear mixed-effects model fit by REML Data: dat Log-restricted-likelihood:
2013 Feb 14
3
appending data to a row
For an analysis of data from twins, I'd like to do some rearranging in my dataframe. Currently, each twin has his or her own row. I'd like to add several columns of the co-twin's data to each row. In other words, this is the current situation: FamilyID ParticipantID IQ Digit_span 1 1 95 6 1 2 93 7 2 3 102 8 2