Re: [R] How to use Conda with R + RStudio Server

2019-10-07 Thread Juan Telleria Ruiz de Aguirre
Solution: https://github.com/grst/rstudio-server-conda It works. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] how to read this kind of csv in R?

2019-10-07 Thread Rui Barradas
Hello, OK, I had some spare time. Try readCSVFile <- function(filename){ lns <- readLines(filename) lns <- lns[sapply(lns, nchar) > 0] lns <- gsub(" ", "", lns) lns <- sub(";$", "", lns) i_title <- grep("[[:alpha:]]", lns) blocks <- lapply(seq_along(i_title)[-1], function(i){

Re: [R] how to read this kind of csv in R?

2019-10-07 Thread pauluo via R-help
The csv file is exported from Windows (dos format), so the line break is different from Unix. 在 星期一, 07 十月 2019 01:18:54 -0700 撰写 > I am mad about importing this strange csv format type. > > The real csv has been attached now. The raw data points are huge. > > Many thanks. >