similar to: Reading file from remote location or network drive.

Displaying 20 results from an estimated 10000 matches similar to: "Reading file from remote location or network drive."

2010 Sep 21
5
removed data is still there!
I'm confused, hope someone can point out what is not obvious to me. I thought I was creating a new data frame by 'deleting' rows from an existing dataframe - I've tried 2 methods. But this new data frame seems to remember values from its parent - even though there are no occurences. Where does it get the values versicolor and virginica from and give then a count of 0? What
2009 Nov 23
4
Check if string has all alphabets or numbers
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091123/470946bc/attachment-0001.pl>
2010 Jul 01
4
Index of Character
Hi, I am a newbie to R and this may be too simple to ask. I am trying to find out a string function in R that returns the index of a character. For e.g. indexOf("Test1234", '4') would return 8. Is there a similar function in R. I tried searching the documentation and could find other useful string functions, but not the index function. Thanks in advance. Regards, Harsh
2010 Mar 05
2
"\." vs "\\."
Hola a tod@s, ¿alguien me podría clarificar la diferencia entre "\." y "\\." en el siguiente caso? (He mirado ?regex, ?cat, ?Quotes y FAQ 7.37 y no lo acabo de ver) > a<-"hola.me.llamo.pepe" > a [1] "hola.me.llamo.pepe" > strsplit(a,"\.") [[1]] [1] "" "" "" "" "" ""
2011 Jul 26
0
[LLVMdev] XOR Optimization
Hi Duncan, when I run "opt -std-compile-opts" on the original source code it has the same output of O3. when I run "opt -std-compile-opts" on the -O3 optimized code, things get even more weird, it outputs the following code: while.body: ; preds = %while.body, %entry %indvar = phi i32 [ 0, %entry ], [ %indvar.next.3, %while.body ] %tmp
2012 Aug 01
3
Neuralnet Error
I require some help in debugging this code  library(neuralnet) ir<-read.table(file="iris_data.txt",header=TRUE,row.names=NULL) ir1 <- data.frame(ir[1:100,2:6]) ir2 <- data.frame(ifelse(ir1$Species=="setosa",1,ifelse(ir1$Species=="versicolor",0,""))) colnames(ir2)<-("Output") ir3 <- data.frame(rbind(ir1[1:4],ir2))
2007 May 14
2
How to write data to astdb?
Hello, I'm trying to fill CID data into the astdb using AsteriskWin32's asterisk.exe, to no avail: The batch file stops after the first line, and just waits: ---------------------------------------- rem c:\cygroot\mystuff>import.bat rem rem c:\cygroot\mystuff>C:\cygroot\bin\asterisk.exe -rx 'database put cidname 123 "My cellphone"' rem rem Asterisk module
2008 Oct 08
3
Re move repeated values
Dear R users, I'd like to make this data rem.y = c(-1,0,2,4,5) from y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5). That is, I need to remove repeated values. Here is my code, but I don't think it is efficient. How could I improve this? #------------------------------------------------------------------------ y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5) n=length(y) for (i in 1:n) #
2002 Aug 12
5
Why does this logon-script not work under Win9x ?
Hi, i'm having a serious problem with the following logon-script. It works under W2k, but not under W98, although W98 tells it is running startup-script .. First my smb.conf (only interesting parts) : ---snipp--- [global] server string = Samba-PDC %v on %h workgroup = WORKGROUP encrypt passwords = yes netbios name = 486dx66 domain master = Yes
2011 Jul 26
2
[LLVMdev] XOR optimization
Hi folks, I couldn't find a specific XOR (OR and AND) optimization on llvm, and therefore I am about to implement it. But first I would like to check with you guys that it really does not exist. For a simple loop like this: nbits = 128; bit_addr = 0; while(nbits--) { bindex=bit_addr>>5; /* Index is number /32 */ bitnumb=bit_addr % 32; /* Bit number in longword */
2011 Jul 26
2
[LLVMdev] XOR Optimization
Hi Daniel, > Hi folks, > > I couldn't find a specific XOR (OR and AND) optimization on llvm, and > therefore I am about to implement it. > But first I would like to check with you guys that it really does not exist. > > For a simple loop like this: > > nbits = 128; > bit_addr = 0; > while(nbits--) > { > bindex=bit_addr>>5; /* Index is
2006 Oct 03
3
How to get podcasters to adopt Speex?
Please consider using 16-bit 16kHz (wideband) instead. It's a huge increase in audio quality and the bitrate is still very low, especially if you take advantage of Speex features such as VBR. 8kHz seems totally inappropriate to me for desktop streaming audio, let alone 8-bit samples. Or perhaps your recording equipment is an original Sound Blaster from 1989? (Even that could record at
2008 Dec 14
1
re ad.spss (foreign) conflict with SPSS 17 files.
SPSS seems to have changed its default datafile format, resulting in issues for read.spss(). In Windows this results in a warning, in Debian the import completely fails: Debian (R version 2.8.0 (2008-10-20) i486-pc-linux-gnu, foreign_0.8-29) > read.spss("/home/jeroen/samples/Tomato.sav") Error in iconv(names(rval), cp, "") : unsupported conversion from 'CP65001'
2009 Jun 09
2
Isolating a single plot from plots produced simultaneously
Dear R-Help, I am using the 'mfp' package. It produces three plots (as I am using the Cox model) simultaneously which can be viewed together using the following code: fit <- mfp(Surv(rem.Remtime,rem.Rcens)~fp(age)+strata(rpa),family=cox,data=nearma,select=0.05,verbose=TRUE) par(mfrow=c(2,2)) plot(fit) They can be viewed separately but the return key must be pressed after each graph
2008 Dec 09
4
Pre-model Variable Reduction
Hello All, I am trying to carry out variable reduction. I do not have information about the dependent variable, and have only the X variables as it were. In selecting variables I wish to keep, I have considered the following criteria. 1) Percentage of missing value in each column/variable 2) Variance of each variable, with a cut-off value. I recently came across Weka and found that there is an
2011 Mar 03
3
R usage survey
Hi R users, I request members of the R community to consider filling a short survey regarding the use of R. The survey can be found at http://goo.gl/jw1ig Please accept my apologies for posting here for a non-technical reason. The data collected will be suitably analyzed and I'll post a link to the results in the coming weeks. Thank you all for your interest and for sharing your R usage
2005 Oct 07
1
sscanf equivalent
I have a data file from which I need to read portions of data but data location/quantity can change from file to file. I wrote some code and have a working solution but it seems wasteful to have to do it this way. Here's the contrived incomplete code. datalines <- readLines(datafile.pathname) # marker will appear on line preceding and following # actual data offset.data
2008 Mar 28
3
Major rsync issue - overwriting files!!!
Hi, I'm having a MAJOR issue with an rsync backup script that is actually OVERWRITING the files that it should be backing up! The thing is, the same script (with different source/destination variables) runs FLAWLESSLY on another file server! Background: 2 OS X client computers running 10.4.11 (1 intel, 1 PPC). both are running rsync v2.6.3. rsync is backing up from one firewire HD(afp
2006 Oct 03
2
How to get podcasters to adopt Speex?
This is a really good point, and definitely a recurring theme on this mailing list. :) I wonder, what are some better options for handling this issue, other than to keep saying "just use 8/16/32kHz"? - Extend Speex to support other sample rates (seems unlikely..?) - Integrate a resampling algorithm into libspeex - Maintain a list of recommended resampling libraries that work well
2006 Sep 26
7
FLAC CD Archive
I see that this was the right place to fire off this question. Thanks for your feedback. It has given me a base to start some trials. I used to use EAC on Windows, but I tend to only use open source software as much as possible and I don't use Windows any more. I gave a brief look at abcde, but it is clear I need to look at this some more. It looks like it has the potential to do everything I