similar to: Cannot read in a csv file.

Displaying 20 results from an estimated 3000 matches similar to: "Cannot read in a csv file."

2011 Jul 06
1
trouble parsing a date using strptime()
Hi, I am having a trouble parsing dates using strptime() that I get in the format of year and week number. The data looks like this "201127" which means year 2011 and week 27. I would like to graph this using ggplot but then I get a gap between 201054 and 201101 so I thought I would just easily convert it. I tried to use strptime and as.Date and the format string of %Y%W but it seems
2011 May 12
2
Simple order() data frame question.
Clearly, I don't understand what order() is doing and as ususl the help for order seems to only confuse me more. For some reason I just don't follow the examples there. I must be missing something about the data frame sort there but what? I originally wanted to reverse-order my data frame df1 (see below) by aa (a factor) but since this was not working I decided to simplify and order by
2008 May 26
1
SciViews and Tinn-R installation problem
Hello, I have just installed R 2.7.0 and re-installed SciViews 0.8-9 and Tinn-R 1.19.4.7 and seem to have broken something along the way as follows. I double-click on my current .RData file in the Windoze explorer, R Console and Tinn-R load successfully (?). I can list objects in my working directory with ls() but, when I attempt to refresh any list in the R explorer tab of the Tools child
2008 Jan 17
2
Converting plots to ggplot2
Hello Hadley, I am trying to reproduce the following with ggplot: a <- seq(0, 360, 5)*pi/180 ; a ac <- sin(a + (45*pi/180)) + 1 ; ac plot(a, ac, type='b', xaxt = "n") axis(1, at=seq(0,6,1), labels=round(seq(0,6,1)*180/pi),1) abline(v=c(45*pi/180, 225*pi/180)) I can get the basic plot: p <- qplot(a, ac, geom=c('point', 'line')) ;
2009 Jul 23
1
ggplot2 : commands on one line vs two lines.
I have just started using ggplot2 and I seem to be doing something stupid in writing ggplot2 commands on more than one line. In the example below the commands on one line are working fine, but as soon as I put them on two lines I get an error. Can any one point out what I am doing wrong? It must be something blindingly simple. Thanks Example
2010 Feb 28
1
ggplot 'annotate problem' again.
I had a problem annotating a graph last year ( see http://n4.nabble.com/Putting-names-on-a-ggplot-td907158.html#a907158 for the discussion) Stefan (smu) provided a solution using annotate(). However I apparently did not update the graph file and,now, when I go back to the thread and try to use Stefan's solution it does not seem to work although I am sure that it did then. The problem
2011 Apr 11
1
Fwd: CRAN problem with plyr-1.4.1
It looks like there might be some kind of problem with the Plyr-1.4.1 packages pushed to CRAN? The web pages show 1.4.1 as the current version, but trying to fetch the source through the provided link gives a 404: http://lib.stat.cmu.edu/R/CRAN/web/packages/plyr/index.html $ wget http://lib.stat.cmu.edu/R/CRAN/src/contrib/plyr_1.4.1.tar.gz --2011-04-11 13:19:09--
2019 Mar 25
2
R 3.5.3 having trouble spawning a new process on my Windows 10 machine
Hi all, I am noticing some strange behaviour so I am bringing to this list. In the past when I have submitted bugs to bugzilla, I have come here first for confirmation/advice. Hopefully this is appropriate. Upgrading from R 3.5.2 to R 3.5.3 seems to have elicited some strange behaviour on my Windows machine. R seems to have trouble spawning a new process on my machine. You can noticing with all
2011 May 12
2
Change font size in Windows
My day for dumb questions. How do I increase the type size in the Rgui console in Windows? (R-2.13.0, Windows 7) It looked to me that I just needed to change the font spec in Rconsole but that does not seem to be working. The R FAQ for Windows has a reference in Q3.4 to changing fonts, (Q5.2), but I don't see anything relevant there. Rconsole originally was: font = TT Courier New points =
2007 Jun 07
2
character to time problem
I am trying to clean up some dates and I am clearly doing something wrong. I have laid out an example that seems to show what is happening with the "real" data. The coding is lousy but it looks like it should have worked. Can anyone suggest a) why I am getting that NA appearing after the strptime() command and b) why the NA is disappearing in the sort()? It happens with na.rm=TRUE
2010 Jul 15
1
Send code to R from WinEdt55
R Gurus: This sounds not a FAQ. I upgraded WinEdt from 5.4 to 5.5 , following load RWinEdt, R-WinEdt editor appears. There are more menu items and task icons in this version, but I failed to find a pull down menu or task icon to send code to R. What did I miss? > sessionInfo() R version 2.11.0 (2010-04-22) i386-pc-mingw32 locale: [1] LC_COLLATE=English_Canada.1252
2008 Oct 06
1
Bug with message if there is no documentation; R2.8alpha Win32 (PR#13131)
In the latest R 2.8 alpha for Win32, if either of the commands are typed: > help("erfc") .. or .. > ?erfc the result is: No documentation for 'erfc' in specified packages and libraries: you could try '??erfc' This should be: 'help.search("erfc")', as shown in R 2.7.2 Apologies if this has already been submitted/fixed. -Mike --please do not edit
2008 Oct 10
2
Fatal error: unable to restore saved data in .RData
Hello, I am unable to start an R session by double-clicking on an existing .RData file from the Windoze file explorer. A dialogue appears with the message "Fatal error: unable to restore saved data in .RData", and I notice in the R Console the last few lines are: "Loading required package: R2HTML NULL error in function () : unused argument(s) (1:43)" I tried starting
2015 Sep 28
2
Link R with Tcl 8.6 on Windows
Dear all, I am working on an R package intended for CRAN that requires Tcl version 8.6 because of the TclOO tcl extension and the -angle option for canvas text items. R for Windows currently still ships with Tcl 8.5. Does anyone have experience with linking R under Windows to a Tcl interpreter of version 8.6? When I link R 3.2.2 (installed from the binary on Windows 8) to a custom Tcl
2010 Feb 02
1
[R] Suppressing scientific notation on plot axis tick labels (PR#14202)
On 02/02/2010 6:20 AM, Dimitri Shvorob wrote: > Ruben Roa has kindly suggested using 'scipen' option - cf. > >> fixed notation will be preferred unless it is more than ???scipen??? digits >> wider. > > However, > > options(scipen = 50) > x = c(1e7, 2e7) > barplot(x) > > still does not produce the desired result. This is strange. I see what
2010 Apr 02
1
packages with DLLs under 2.12.0
I realize that R-core must be busy with the imminent release of 2.11.0, so please consider this not urgent. The NEWS file for 2.12.0 (Windows-specific) says, in part: For now, 32-bit packages with compiled code built under 2.{10,11}.x can be used, but this will be disabled before release. For me, this doesn't work without a tweak. For example, > library(mvtnorm) #Error:
2015 Jan 26
4
problem with update.packages() in R-Devel (3.2.0) on Windows
Dear all, I've noticed the following problem for the past several days: ---------------- snip ---------------- > update.packages(ask=FALSE) . . . trying URL 'http://cran.utstat.utoronto.ca/src/contrib/zoo_1.7-11.zip' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'http://cran.utstat.utoronto.ca/src/contrib/zoo_1.7-11.zip'
2008 Jan 13
1
Hmisc latex() does not want to work
I seem to have a problem getting latex (Hmisc) to work. Any suggestions as to what I am doing wrong? Thanks library(Hmisc) aa <- data.frame(aa=1:10, bb=rnorm(10, 5, 2), cc=rnorm(10, 20, 4)) rr <- lm(cc~aa+bb, data=aa); rr latex(rr) > latex(rr) 'latex' is not recognized as an internal or external command, operable program or batch file. Warning messages: 1: In cbind(cx, cxk) :
2011 Jun 14
2
Still have problems with tcltk in R 64 bit
Dear R users, Since a long time now, I have the following error when I want to load the tcltk library in R 64 bit. Loading Tcl/Tk interface ...Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object 'C:/Program Files/R/R-2.13.0/library/tcltk/libs/x64/tcltk.dll': LoadLibrary
2015 Jan 27
1
problem with update.packages() in R-Devel (3.2.0) on Windows
----- Original Message ----- > From: "Henrik Bengtsson" <hb at biostat.ucsf.edu> > To: "John Fox" <jfox at mcmaster.ca> > Cc: "R-devel" <r-devel at r-project.org> > Sent: Tuesday, January 27, 2015 10:15:36 AM > Subject: Re: [Rd] problem with update.packages() in R-Devel (3.2.0) on Windows > > It works again using: > > % R