search for: cliffcliv

Displaying 8 results from an estimated 8 matches for "cliffcliv".

Did you mean: cliffclive
2010 Jul 15
2
write.csv() : attempt to set 'append' ignored... Why?
I'm running R 2.11.0 on a 32-bit Windows XP machine. Whenever I try to write a csv file with 'append' set to TRUE, I get this message: attempt to set 'append' ignored. Obviously, this is no good, since R is deleting my previously saved data files, rather than appending to them. What can I do to fix this? -- View this message in context:
2010 Nov 17
2
Looking up the directory a file is located in
Hello everyone, This should be an easy question, I think. I'd like to write a command in a program to set the working directory to whatever directory the file is currently stored in. Suppose I have a file called "myRscript.r", and it's stored in "C:\Rprojects\myRscript.r", and it references other R scripts and data files in the same directory. If I enter the
2011 Jul 06
1
Writing dataframes side by side in a file
Is there a quick and easy way to write data frames side-by-side in a csv file with one column separating them? I could just fill them with empty rows so they all have the same height, then cbind them with empty columns in between, but I'm looking for a more elegant solution, if one exists. Thanks in advance, Cliff -- View this message in context:
2011 Oct 16
2
Suppressing the Intercept in lm() when using a dataframe for the model
It's easy to run a linear regression on a simple model without an intercept just by doing this: lm(y ~ x1 + x2 -1) Is there a similar trick to suppress the intercept when your model is in a large dataframe and you don't want to write out the names of individual columns? -- View this message in context:
2010 Jul 12
2
Accessing files on password-protected FTP sites
Hello everyone, Is it possible to download data from password-protected ftp sites? I saw another thread with instructions for uploading files using RCurl, but I could not find information for downloading them in the RCurl documentation. I am using R 2.11 on a Windows XP 32-bit machine. Thanks in advance, Cliff -- View this message in context:
2011 Apr 21
6
What does the "<<-" operator mean?
I've been reading some code from an example in a blog post ( http://www.maxdama.com/ here ) and I came across an operator that I hadn't seen before. The author used a <<- operator to update a variable, like so: ecov_xy <<- ecov_xy+decay*(x[t]*y[t]-ecov_xy) At first I thought it was a mistake and tried replacing it with the usual <- assignment operator, but I didn't
2010 Jun 14
1
executable script
In Python, it is literally this easy: import rpy2.robjects as robjects robjects.r(""" source("C:/ YOUR R FILE GOES HERE ") """) Type the name of your R source code into this script and save it as a Python script (add the suffix .py), and then you can run by double-clicking. If you want to see the results of your program, you'll have
2010 Sep 21
1
Prime Factorization
Hi everyone, I have a very quick question: Is there a ready-made function in R or any R packages to find the prime factorization of an integer? -- View this message in context: http://r.789695.n4.nabble.com/Prime-Factorization-tp2548877p2548877.html Sent from the R help mailing list archive at Nabble.com.