similar to: Regarding information on writing R scripts

Displaying 20 results from an estimated 8000 matches similar to: "Regarding information on writing R scripts"

2009 Sep 20
3
plotting least-squares regression against x-axis
Hi, I want to plot the residuals of a least-squares regression. plot(lm(y~x), which=1) does this, but it plots the y-axis of my data on the x-axis of the residuals plot. That is, it plots the residual for each y-value in the data. Can I instead use the x-axis of my data as the x-axis of the residuals plot, showing the residual for a given x? Thanks! Jason Priem University of North
2009 Sep 22
4
Problem in using BATCH command
I tried to use BATCH command to run an input file (a simple text file) which contained a few R commands. I first saw the BATCH help page using      > ?BATCH The help page mentioned the Usage as: Batch Execution of RR CMD BATCH [options] infile [outfile] The Detailed section mentioned the following: Use R CMD BATCH --help to be reminded of the usage. My input file is called batchchk, which
2009 Dec 14
6
write.csv and header
Dear list, I would like to export a matrix to a TXT-File by using write.csv (not necessarily). Is there a way to add a header (with additional informations concerning the project) spanning multiple lines to this file before the actual data are listed up? Should look like this: date: filename: number of permutations: ------------ data (as a matrix) Any suggestions? Thnx in advance.
2013 Jan 22
4
Simple use of dcast (reshape2 package)
Suppose I have a small dataframe > aa Target Eaten ID 50 TPP 0 1 51 TPP 1 2 52 TPP 3 3 53 TPP 1 4 54 TPP 2 5 50.1 GPA 9 1 51.1 GPA 11 2 52.1 GPA 8 3 53.1 GPA 8 4 54.1 GPA 10 5 And I want to reshape it into ID TPP GPA 1 1 0 9 2 2 1 11 3 3 3 8 4 4 1 8 5 5 2 10 I realise that
2010 Feb 18
2
sprng 2.0 header file for Rmpi
When I try to install Rmpi, it has a dependency rsprng which, as its description says: Provides interface to SPRNG 2.0 APIs I installed it on Mepis by installing the appropriate debs with minimal drama. In the rpm world of Fedora, no such luxury. Installing rsprng fails because: checking sprng.h usability... no checking sprng.h presence... no checking for sprng.h... no Cannot find sprng 2.0
2010 Mar 03
2
Rmpi on CentOS (64bit)
I got Rmpi to compile with little difficulty, but had a tricky time setting the LD_LIBRARY_PATH to use the OpenMPI libs. I now get a different error when I try to load Rmpi > require(Rmpi) Loading required package: Rmpi librdmacm: couldn't read ABI version. librdmacm: assuming: 4 libibverbs: Fatal: couldn't read uverbs ABI version. CMA: unable to open
2018 Feb 02
2
Updating Rcpp package when it is claimed by dplyr
Or, to avoid accusing you of lying. what you think is "vanilla" probably isn't. What exactly did you do? On Unix-likes, I would do something like this echo 'options(repos=list(CRAN="cran.r-project.org"));install.packages("Rcpp")' | R --vanilla (or maybe https://cloud.r-project.org is better...) -pd > On 2 Feb 2018, at 08:15 , Jeff Newmiller
2009 Jun 09
3
how to install own R withour root?
Dear list members, i am currently want to install Rpy2 in a linux box which has R 2.4.0 installed RPy requries R 2.7.0 or above but i have no root previlleges so my question is how to install R 2.7.0 on my own directory? and replace the system installed R 2.4.0 when i input R command from the bash Shell? thanks for any reply. Best Regards! -- Daofeng Li,PhD Candidate China Agricultural
2011 Oct 19
2
A questions regarding R plots
Hi Dear all, I am making Venn Diagram plots in R. I attached an example: http://r.789695.n4.nabble.com/file/n3919206/venn.jpeg I want to get rid of the black boarder line, is there any way to do it? Thank you very much, Karena -- View this message in context: http://r.789695.n4.nabble.com/A-questions-regarding-R-plots-tp3919206p3919206.html Sent from the R help mailing list archive at
2018 Feb 02
2
Updating Rcpp package when it is claimed by dplyr
When i tried to install the hunspell package, I got this error message: Error: package ?Rcpp? 0.12.3 was found, but >= 0.12.12 is required by ?hunspell? So I set about installing a new version of Rcpp but I get this message: Error in unloadNamespace(pkg_name) : namespace ?Rcpp? is imported by ?dplyr? so cannot be unloaded How does one get around that? I tried installing Rcpp in a
2009 Sep 12
1
medcouple-based outlier detection in R
I need to detect outliers in a large data set which is highly right-skewed. I plan to use medcouple-based outlier detection. Is there any support for medcouple-based outlier detection in R? Are there any other routines in R to perform outlier detection in highly right-skewed data? Manuj Sharma See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz.
2017 May 19
1
[R] R-3.4.0 fails test
On Thu, 18-May-2017 at 05:46PM +0200, Martin Maechler wrote: |> ..... |> |> Being pretty "stretched" time wise currently, I'm happy for |> timezone-portable propositions to change the test. Meantime, anyone who lives where DST happpens in December who wants to get through the remaining tests can avoid this one by changing the line > stopifnot(length(fd) == 10,
2017 May 18
2
[R] R-3.4.0 fails test
On Wed, 17-May-2017 at 01:21PM +0200, Peter Dalgaard wrote: |> |> Anyways, you might want to |> |> a) move the discussion to R-devel |> b) include your platform (hardware, OS) and time zone info System: Host: MTA-V1-427894 Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2) Desktop: KDE Plasma 4.14.2 (Qt 4.8.6) Distro: Linux Mint 17.3 Rosa Machine: System:
2016 Mar 16
2
R 3.2.4-revised is released
The 3.2.4 release had two annoyances which we would rather not have in an "ultra-stable" release, designed to hang around for the duration of the 3.3 series. One was a relatively minor Makefile issue affecting system using R's bundled lzma library. The other, rather more serious, affected printing and formatting of POSIXlt objects, which would unpredictably get the Daylight Savings
2018 Feb 14
2
Using gutenbergr with a firewall
I can use the gutenberg_download() function in the gutenbergr package on a computer that doeson't use a firewall, but on an almost identical installation that is behind a firewall, nothing happens, not even a time-out. Has anyone succeeded in using gutenberg_download() successfully with a firewall? I tried raising an issue at https://github.com/ropenscilabs/gutenbergr/issues/17 with no
2011 Apr 27
2
Writing Macros for RExcel
I have columns of data in Excel 2007, A2:A196, B2:B196...ET2:ET196 that I would like to place into arrays in R. I have been trying to write a macro that would automatically create all of my arrays for me with a array names coming from the cells A1, B1, etc. I can manually create an array using RExcel<Put R Var< Array, but I don't want to manually create all 150 arrays this way. Thanks
2012 Apr 04
3
Remove carriage return in writing tab-delimited file.
Having problems with the write.table function. I can write a tab delimited file just fine, but for each line in my matrix its inputs a carriage return when i dont want it to. For example my matrix might be: ID V1 V2 V3 FARY1004 1 2 3 FARY2067 2 3 1 FARY4587 2 2 2 And I want the written File to be: FARY1004 1 2 3FARY2067 2 3 1FARY4587 2 2 2 TIA -- View this
2011 Aug 05
3
RPMs needed to compile R using the tar.gz file
I don't wish to install R by rpm. I need to know what Fedora rpms I need to install to give me the capability to install R using the tar.gz source file as I've done for years. On previous occasions when I've installed Fedora, I've used the DVD which has thousands of RPMs. Lately I've installed Fedora 15 from the Live CD which has a lot fewer and so a lot of necessary stuff
2011 Aug 05
3
RPMs needed to compile R using the tar.gz file
I don't wish to install R by rpm. I need to know what Fedora rpms I need to install to give me the capability to install R using the tar.gz source file as I've done for years. On previous occasions when I've installed Fedora, I've used the DVD which has thousands of RPMs. Lately I've installed Fedora 15 from the Live CD which has a lot fewer and so a lot of necessary stuff
2018 Feb 02
0
Updating Rcpp package when it is claimed by dplyr
On Fri, 02-Feb-2018 at 10:25AM +0100, peter dalgaard wrote: |> Or, to avoid accusing you of lying. what you think is "vanilla" |> probably isn't. What exactly did you do? On Unix-likes, I would do |> something like this |> echo 'options(repos=list(CRAN="cran.r-project.org"));install.packages("Rcpp")' | R --vanilla |> |> (or maybe