search for: rfiles

Displaying 20 results from an estimated 52 matches for "rfiles".

Did you mean: files
2011 Jan 24
3
error with source(): invalid 'times' value
hi I am seeing a strange behavior I can't understand... doing: > source("/tmp/RFile.r",echo=TRUE) Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - : invalid 'times' value > traceback() 3: rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - leading)) 2: paste(rep.int(c(prompt.echo, continue.echo), c(leading, length(dep)
2006 May 17
2
No output in sourced R program
...ram 02e451444d6a46acf551996579092c911b90aa8e.R and run it I get R : Copyright 2006, The R Foundation for Statistical Computing Version 2.3.0 (2006-04-24) > source("02e451444d6a46acf551996579092c911b90aa8e.R") Save workspace image? [y/n/c]: n mars:/srv/www/htdocs/mediawiki/teachwiki/Rfiles # more 02e451444d6a46acf551996579092c911b90aa8e.R rfiles<-"/srv/www/htdocs/mediawiki/teachwiki/Rfiles" 1:30 q() No output from 1:30 to the screen. Any idea what I do wrong ? Thanks Sigbert
2002 Aug 13
1
R CMD check: Too long [R] code line generated (PR#1900)
Full_Name: Henrik Bengtsson Version: 1.5.1 OS: WinMe Submission from: (NULL) (217.210.0.243) In the Perl script $R_HOME/bin/check there is a bug under the section "Check R code for syntax errors" where the 'Rfiles <- c(...)' is build up. If there are too many files in @Rfiles the source code line generated will be too long and weird things will happen, e.g. strange bytes/characters will be inserted. SUGGESTION/SOLUTION: Add a new line character after each "join"; $Rcmd .= join("\&quo...
2006 Oct 25
1
Excel files
Hi every one, I am very very new to R and solicit your kind help I am trying to use my excel files in R. I used the Xlread/write package and able to load the a sample file into console. Then I tried to find the mean of a column vector for example. But I could not proceed Here is the problem rfile <- "Trial1.xls" > read.xls( rfile, colNames = TRUE, sheet = 1, type =
2011 Jun 02
1
Line histogram for a matrix
...istogram for each row, but it should not appear as bars but rather as lines connecting the points of the frequencies. Now, I want to do this for the 100 rows and make all histogram lines appear with different colors into the same graph. The graph should look something like: http://robjhyndman.com/Rfiles/animation/frmale191.jpg http://robjhyndman.com/Rfiles/animation/frmale191.jpg but instead of those values should be more like histogram shape. How can you do it??? Thanks!!! -- View this message in context: http://r.789695.n4.nabble.com/Line-histogram-for-a-matrix-tp3568560p3568560.html Sent...
2007 Feb 09
1
append within worksheet in write.xls
I can currently append an entire worksheet with write.xls, but would also like to be able to append within the same worksheet. Is this possible? It doesn't seem to work if I use append = T Thanks, Mark -- Mark W. Kimpel MD Neuroinformatics Department of Psychiatry Indiana University School of Medicine
2004 Sep 28
1
package error message
...hecking whether package 'GammaTest' can be installed ... ERROR Installation failed. See 'c:/Documents and Settings/Samuel Kemp/My Documents/R Files/GammaTest.Rcheck/00install.out' for details. This file contains the following..... installing R.css in c:/DOCUME~1/SAMUEL~1/MYDOCU~1/RFILES~1/GAMMAT~1.RCH ---------- Making package GammaTest ------------ adding build stamp to DESCRIPTION make[2]: *** No rule to make target `R/Create', needed by `c:/DOCUME~1/SAMUEL~1/MYDOCU~1/RFILES~1/GAMMAT~1.RCH/GammaTest/R/GammaTest'. Stop. make[1]: *** [all] Error 2 make: *** [pkg-Gam...
2002 Aug 14
1
FW: R CMD check: Too long [R] code line generated (PR#1900)
...; > Version: 1.5.1 > > > OS: WinMe > > > Submission from: (NULL) (217.210.0.243) > > > > > > > > > In the Perl script $R_HOME/bin/check there is a bug under the > > section "Check R > > > code for syntax errors" where the 'Rfiles <- c(...)' is build > > up. If there are > > > too many files in @Rfiles the source code line generated will > > be too long and > > > weird things will happen, e.g. strange bytes/characters will be > > inserted. > > > > > SUGGESTION/SOLUTIO...
2009 Dec 17
2
Sweave Makefile issue
Dear R-specialists, I am trying to create a Makefile that will first convert all my .Rnw files into .tex files and then, that will run the LaTeX compiler to produce a pdf document. This issue has been discussed before. Hence, I've basically adapted a Makefile I found at http://n4.nabble.com/R-Sweave-R-and-complex-latex-projects-td810020.html#a810023 to make it compatible with a Windows
2002 Aug 14
0
source() crashes on long lines (PR#1900)
...gt; Full_Name: Henrik Bengtsson > > Version: 1.5.1 > > OS: WinMe > > Submission from: (NULL) (217.210.0.243) > > > > > > In the Perl script $R_HOME/bin/check there is a bug under the > section "Check R > > code for syntax errors" where the 'Rfiles <- c(...)' is build > up. If there are > > too many files in @Rfiles the source code line generated will > be too long and > > weird things will happen, e.g. strange bytes/characters will be > inserted. > > > SUGGESTION/SOLUTION: > > Add a new line charact...
2010 Apr 25
4
Image into Excel file from R
Hi useRs, I would like to know what R users are employing to get their images/plots created in R, into Excel sheets. I am aware of the various packages (xlsReadWrite, RODBC) to get data frames into R, but I would like to copy images too. Thank you for any help in solving this problem. Regards, Harsh Singhal
2007 Jun 20
1
How to handle package conflicts between classes ..
what is the best way to handle package conflicts between classes? for example, below, i have the following two classes defined and both include a "package { "perl-LDAP" }", so when used separately they work as expected but when i need to assign both classes to a node i get a conflict. error: "Duplicate definition: Package[perl-LDAP] is already defined" thanks
2010 Mar 24
1
R and/or REngine kills Java
Hi all, I am using R and JRI under Windows XP Pro. I am posting this question here since the reason might be R related (since I am running an R script) but there is also a very good chance that it is JRI only (since I am using the JRI interface to activate the script) -- in which case I want to apologize for misplacing this message. I have a method that instantiates an REngine object every time
2007 Feb 22
1
R CMD CHECK question
...scribes the dependency as it should be ('Imports', `require'), at least I think so. now, running R CMD CHECK pkc yields the following output in which I have inserted my questions (lines starting with -->): * checking for working latex ... OK * using log directory '/Users/vdh/rfiles/Rlibrary/.check/pkc.Rcheck' * using R version 2.4.0 (2006-10-03) * checking for file 'pkc/DESCRIPTION' ... OK * this is package 'pkc' version '1.1' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'pkc...
2012 Dec 25
2
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
Dear all, First of all, Merry Christmas! :) While testing a File I/O sample program, I've encountered a link failure due to missing implementation of "\01__isoc99_fscanf" function. I think this function should be named "__isoc99_fscanf" instead. Please see the program code and LLVM IR generated by DragonEgg and clang below. It shows that clang generates
2004 Dec 13
4
Calling R from a non-X shell script to plot?
I am trying to run R from an apache C++ module in a shell script to plot some data to display it in apache later. I get the error (reported in apache's logs): Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, : unable to start device PNG In addition: Warning
2007 Mar 19
1
R CMD CHECK problem
...is it, that R CMD CHECK is complaining? what am I doing wrong? how have I to specify the links in the manpages to tell CHECK that everything is basically OK? ========================CUT==================================== * checking for working latex ... OK * using log directory '/Users/vdh/rfiles/Rlibrary/.check/pkc.Rcheck' * using R version 2.4.0 (2006-10-03) * checking for file 'pkc/DESCRIPTION' ... OK * this is package 'pkc' version '1.1' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'pkc...
2008 Aug 31
2
Help using ed [OT]
Hi Perhaps omeone might answer this tricky problem. I can do this other ways, but i really want to understand how to solve it using ed. I have one solution using g/re/s/re//txt/ , but I want to understand how or if i can solve it using the ed (.)a command. A script i have parse several files and append text after a specific text is matched. If one file do not have this text, i get a no match
2003 Sep 17
2
Very long console input lines
Hallo all, I got a problem executing R in batch-mode via a perl-script (under Win2000) : system ("Rterm.exe --slave --no-save --no-restore \<Rfile.r \>NUL"); The R execution is aborting with syntax error due to very-long lines. My solution is converting a <- c("very long string") to a <- paste("short string 1",\n "short string
2003 Sep 14
2
Problem building methods package?
...ild R... I finally took the time to investigate and the crash is in building 'methods': all.R is unchanged ../../../library/methods/man/methods.Rd is unchanged make[2]: `Makedeps' is up to date. ../../../../library/methods/libs/methods.so is unchanged make[1]: Nothing to be done for `Rfiles'. Any clues to where this came from? Regenerating the Makefiles didn't seem to help. OS X, 10.2.6, gcc3.3 rsync about 6 hours old. Should I just nuke the whole build tree and rsync everything again? --- Byron Ellis (bellis@hsph.harvard.edu) "Oook" - The Librarian