[R] Problem in compiling a function

2014-07-03 Thread Abhinaba Roy
Hi R-helpers, Can someone help me with this function prepArr - function(CA) { if(CA$CD_ACCRUAL_FLAG == 'AY' ){ if(!is.na(CA_AMT_PAYBACK ){ CA$IND_COLLECTION[(CA$TOT_PAID=CA$TOT_ARREAR_BEG| CA$TOT_PAID=CA_AMT_PAYBACK)] - 1L

Re: [R] Problem in compiling a function

2014-07-03 Thread Pascal Oettli
Hi, At the 3rd line, a bracket is missing, to close the if statement. HTH Pascal On Thu, Jul 3, 2014 at 3:29 PM, Abhinaba Roy abhinabaro...@gmail.com wrote: Hi R-helpers, Can someone help me with this function prepArr - function(CA) { if(CA$CD_ACCRUAL_FLAG == 'AY' ){

Re: [R] Problem in compiling a function

2014-07-03 Thread Abhinaba Roy
Hi, The 'if' statement closes CA$IND_COLLECTION[CA$TOT_PAID= =0] - 5L} On Thu, Jul 3, 2014 at 12:12 PM, Pascal Oettli kri...@ymail.com wrote: Hi, At the 3rd line, a bracket is missing, to close the if statement. HTH Pascal On Thu, Jul 3, 2014 at 3:29 PM, Abhinaba Roy

[R] Help with tables in R

2014-07-03 Thread Barry Lambert
I am a new convert to R (from SAS). I am a research scientist and most of my use of SAS was in data analysis. Recently, I have been wanting to use R to create a simple, reliable way to summarize a dataset of student demographics for a university. The spreadsheet has a row for every student

[R] parLapply on sqlQuery (from package RODBC)

2014-07-03 Thread Tevlin, Dylan
R Version : 2.14.1 x64 Running on Windows 7 Connecting to a database on a remote Microsoft SQL Server 2012 The short form of my problem is the following. I have an unordered vectors of names, say: names-c(A, B, A, C,C) each of which have an id in a table in my db. I need to convert the names

[R] Data frame with unequal lines per case

2014-07-03 Thread Pat Jackson
Dear R Help list, I have data in a comma delimited format with an unequal number of lines per case, ranging from 1 to 5. Each line contains that individual's rating of a televised conference they observed. I'm interested in the influence of group size on ratings. My questions:

Re: [R] Sorting data.frame datewise in a descending order and geting datewise subtotl

2014-07-03 Thread veepsirtt
Hi A.K - library(XML) URL - http://money.securebank.in/index.php?option=com_dashboardview=historyItemid=56startdate=01/01/2013enddate=6/9/2014exchange=MCXsid=1; doc - htmlParse(URL) tableNodes - getNodeSet(doc, //table) dat1 - readHTMLTable(tableNodes[[4]],

[R] Compilation fails for package 'BayesTree' on R 3.0.1 for Windows

2014-07-03 Thread Javier
Hello, I am trying to install package BayesTree on R 3.0.1 for Windows, but I am getting a compilation error: compilation failed for package 'BayesTree'. Here is what I am doing: I installed Rstudio for windows from binary file. On Rstudio, I go to Tools-Install Packages. I select 'Install from

Re: [R] Problem in compiling a function

2014-07-03 Thread Pascal Oettli
3rd line: if(!is.na(CA_AMT_PAYBACK ){ ^^ ^ Two brackets opened, only one closed. You must close the second one. HTH Pascal On Thu, Jul 3, 2014 at 4:03 PM, Abhinaba Roy abhinabaro...@gmail.com wrote: Hi, The 'if' statement closes

Re: [R] Problem in compiling a function

2014-07-03 Thread Abhinaba Roy
Got it..Thanks :) On Thu, Jul 3, 2014 at 12:44 PM, Pascal Oettli kri...@ymail.com wrote: 3rd line: if(!is.na(CA_AMT_PAYBACK ){ ^^ ^ Two brackets opened, only one closed. You must close the second one. HTH Pascal On Thu, Jul 3, 2014 at 4:03 PM,

Re: [R] Data frame with unequal lines per case

2014-07-03 Thread PIKAL Petr
Hi You shall consult ?aggregate to get summaries for groups. And you shall also consult R-intro manual to learn some basic facts about objects structure and manipulation with them. And finally you shal also have a look into Posting guide how to construct questions Regards Petr

Re: [R] Help with tables in R

2014-07-03 Thread PIKAL Petr
Hi Hm. Cooperation of R with excel can be probably done by Rexcel package. Without more detailed information how do you want to use R in connection with Excel you probably do not get more precise answer. For summaries use ?aggregate or maybe ?sapply For counting item occurance ?table, ?xtabs

Re: [R] Dataframes and text identifier columns

2014-07-03 Thread PIKAL Petr
Hi What is the problem? some comments in line -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Brian Willis Sent: Wednesday, July 02, 2014 1:33 PM To: r-help@r-project.org Subject: Re: [R] Dataframes and text identifier

Re: [R] parLapply on sqlQuery (from package RODBC)

2014-07-03 Thread Frede Aakmann Tøgersen
Hi Why are you doing duplicate queries to the database (two As and Cs in your names vector)? Why do 5 simultaneously connection to the database server? Woukld you do 500 connections? Why not do one query and let the database server do the job for you? Try this: options(useFancyQuotes =

Re: [R] Help with tables in R

2014-07-03 Thread Jeff Newmiller
Your question is vague. You say you have code that does what you want it to, yet do not share an example of it as a starting point, or explain what you have not been able to do. It is the nature of the Internet that you have to be precise in describing your problems and desired solutions. When

[R] Comparing two times with different format

2014-07-03 Thread Marte Hansen
I want to compare two tables, but the format on the time stamps are different. Both had the same format in Excel, but when I read those into R, the times have changed in the following way: 00:00 = 0:00, that is, the smallest dataset has the original time stamp, the largest has a new format. The

Re: [R] Sorting data.frame datewise in a descending order and geting datewise subtotl

2014-07-03 Thread veepsirtt
Warning in install.packages : package ‘dplyr’ is not available (for R version 2.15.3) Is there any alternate way to sorting data.frame datewise in a descending order?.(not using dplyr) On Thu, Jul 3, 2014 at 12:48 PM, Velappan Periasamy veepsi...@gmail.com wrote: Hi A.K I modified

Re: [R] Sorting data.frame datewise in a descending order and geting datewise subtotl

2014-07-03 Thread veepsirtt
Hi A.K I modified and got the results thanks A.K library(XML) URL - http://money.securebank.in/index.php?option=com_dashboardview=historyItemid=56startdate=01/01/2014enddate=02/07/2014exchange=MCXsid=1 doc - htmlParse(URL) tableNodes - getNodeSet(doc, //table) l=length(tableNodes) dat1 -

Re: [R] Comparing two times with different format

2014-07-03 Thread PIKAL Petr
Hi Are you sure that In Excel your times have same formating? There can be many sources of quirks from Excel itself through automatic csv conversion performed by Pearl to reading this csv to R. I presume that the timestamp is not actually in POSIX format (check with str) so if it is consistent

Re: [R] Help with tables in R

2014-07-03 Thread Jim Lemon
On Wed, 2 Jul 2014 09:33:12 PM Barry Lambert wrote: I am a new convert to R (from SAS). I am a research scientist and most of my use of SAS was in data analysis. Recently, I have been wanting to use R to create a simple, reliable way to summarize a dataset of student demographics for a

Re: [R] Help with tables in R

2014-07-03 Thread Duncan Murdoch
On 02/07/2014, 10:33 PM, Barry Lambert wrote: I am a new convert to R (from SAS). I am a research scientist and most of my use of SAS was in data analysis. Recently, I have been wanting to use R to create a simple, reliable way to summarize a dataset of student demographics for a

Re: [R] Comparing two times with different format

2014-07-03 Thread Duncan Mackay
Hi If you have problems with dates in Excel copy and paste the date column into a text editor and see if there are any peculiarities. Remember what is shown on the screen may be totally different from what is stored. Duncan Duncan Mackay Department of Agronomy and Soil Science University of

Re: [R] Help with tables in R

2014-07-03 Thread PIKAL Petr
Hi -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Jim Lemon Sent: Thursday, July 03, 2014 12:17 PM To: r-help@r-project.org Cc: Barry Lambert Subject: Re: [R] Help with tables in R snip Hi Barry, If I understand the

Re: [R] Help with tables in R

2014-07-03 Thread Barry Lambert
Thanks for the suggestions Jeff. I have added some text below that will hopefully clarify my question and more closely follow the guidelines. Barry -- Sorry for the confusing first post. I have edited for clarity and included some sample data. Clarified summary of problem: I have an excel

Re: [R] Checking whether a time series is stationary with irregular spaced data

2014-07-03 Thread Worthington, Thomas A
Hi Mark Thank you for the response. The problem is biologically I can’t really avoid using the irregular time step (daily samples taken at irregular intervals) I guess generally I’m not really doing time series analysis (my model is a multiple regression), I just wanted to use time series

Re: [R] Comparing two times with different format

2014-07-03 Thread Duncan Mackay
At the expense of extra bandwidth Remember Excel is a workbook or worksheet not a database caveat emptor or such ilk Duncan From: Marte Hansen [mailto:hansen_ma...@hotmail.com] Sent: Thursday, 3 July 2014 22:06 To: Duncan Mackay; R Subject: RE: [R] Comparing two times with different

Re: [R] Compilation fails for package 'BayesTree' on R 3.0.1 for Windows

2014-07-03 Thread Michael Dewey
At 08:04 03/07/2014, Javier wrote: Hello, I am trying to install package BayesTree on R 3.0.1 for Windows, but I am getting a compilation error: compilation failed for package 'BayesTree'. Here is what I am doing: I installed Rstudio for windows from binary file. On Rstudio, I go to

Re: [R] Help with tables in R

2014-07-03 Thread PIKAL Petr
Hi Maybe you can find something in Hmisc package from Frank Harrel. Especially summary.formula first example is probably close to what you want. And also this seems to be quite convenient. http://cran.r-project.org/web/packages/stargazer/vignettes/stargazer.pdf Regards Petr -Original

[R] Residual-Plotting and na.exclude

2014-07-03 Thread Katharina Mersmann
-Ursprüngliche Nachricht- Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im Auftrag von Katharina Mersmann Gesendet: Dienstag, 1. Juli 2014 16:22 An: r-help@r-project.org Betreff: [R] (PLM- package) Residual-Plotting and missing Values Dear R-Community, I tried

[R] RPostgreSQL, RS-DBI error

2014-07-03 Thread Tomas Lanczos
Hello all, I have a problem with the connection to a Postgresql database in R. At first, some system information: Fedora 2.0, R 3.1.0 compiled from source, Postgresql 9.2 I installed the RPostgreSQL package in R with all the dependencies also. When I'm trying to connect to the database

[R] correlation structures in gls models

2014-07-03 Thread Basil Iannone
Dear R users, I have a question regarding accounting for spatioautocorrelation in the residuals of gls models. I would like the error term of my GLS model (in the nlme package) to account/control for spatialautocorrelation among my sample units. So I use a model that looks something along the

Re: [R] Residual-Plotting and na.exclude

2014-07-03 Thread PIKAL Petr
Hi I tried plm and it seems that na.exclude does not work. Try to connect maintainer directly. maintainer(plm) [1] Yves Croissant yves.croiss...@univ-reunion.fr The only workaround I can think about is to give NAs to proper places in residual vector. In your example it is simple

Re: [R] Help with tables in R

2014-07-03 Thread David L Carlson
Generating tables from your sample data like the ones you attached is simple using the ftable() function: (CCxT - ftable(College+Campus~Term, mydata)) College COBA COE COLFA Campus M O S M O S M O S Term Fall 2010

[R] Using R to analyze multiple MRI studies

2014-07-03 Thread moleps islon
I need to analyze multiple T1 contrast enhanced MRI studies from different patients. They are all in DICOM format. I see that there are different packages for loading individual studies in DICOM format, however I have had limited luck so far researching how the different studies can be tranformed

Re: [R] Order Book details in R Interactive Brokers Package

2014-07-03 Thread ce
There is a very good example system in http://censix.com/download/ -Original Message- From: jeeth ghambole [jeethghamb...@gmail.com] Date: 07/01/2014 10:59 AM To: r-help@r-project.org Subject: [R] Order Book details in R Interactive Brokers Package Hello All, I am working on project

Re: [R] Dataframes and text identifier columns

2014-07-03 Thread Brian Willis
Thank you for the suggestion What seems to work is assigning out_put$Case - Inp_dat$Case that is for(i in 1:4) { ... Case- Inp_dat$Case[i] … out_put[i,]-data.frame(Case, stdL, stdPP, stdSE, L, PP, PP_SE) } out_put$Case - Inp_dat$Case out_put What I don't understand is

Re: [R] RPostgreSQL, RS-DBI error

2014-07-03 Thread Tomas Lanczos
On Thu, 2014-07-03 at 11:09 -0500, John McKown wrote: On Thu, Jul 3, 2014 at 9:49 AM, Tomas Lanczos lanc...@fns.uniba.sk wrote: Hello all, I have a problem with the connection to a Postgresql database in R. At first, some system information: Fedora 2.0, R 3.1.0 compiled from

[R] How to hide the vector number output in write.table function?

2014-07-03 Thread dstrick1
What I'm trying to do should be simple enough, but I've been having some trouble - hence this post. I am attempting to output a tsv file directly from R but for some reason the write.table function is outputting the vector number for each set of values and thus offsetting all of my tab

[R] How to install Vennerable

2014-07-03 Thread gktahon
Hi, I'm new to using R and would like to use Vennerable to process my data and make Venn diagrams. However I cannot seem to install the package. If I enter the command install.packages(Vennerable, repos=http://R-Forge.R-project.org;) I get the following message: package ‘Vennerable’ is available

Re: [R] Comparing two times with different format

2014-07-03 Thread Marte Hansen
Fine bug that Excel provides. I had hoped that it would not require editing in Excel, but... It works now! Thank you so much! From: dulca...@bigpond.com To: r-help@r-project.org; hansen_ma...@hotmail.com Subject: RE: [R] Comparing two times with different format Date: Thu, 3 Jul 2014

Re: [R] error:max not meaningful for factors

2014-07-03 Thread Marta valdes lopez
Thank you Jim for your answer.Ok alpha( it is the speed of the boat) is a range of number from 0.5 to 10 like 0.5,1,1.5,2, I would like to have the mean of x and y base on each value of alpha, because I have like ten numbers of x for each value of speed, thats why I want the mean of that and

Re: [R] How to hide the vector number output in write.table function?

2014-07-03 Thread Frede Aakmann Tøgersen
Setting row.names = FALSE? Br. Frede Sendt fra Samsung mobil Oprindelig meddelelse Fra: dstrick1 Dato:03/07/2014 19.02 (GMT+01:00) Til: r-help@r-project.org Emne: [R] How to hide the vector number output in write.table function? What I'm trying to do should be simple

[R] metafor package: changing decimal in forest plot to midline decimal

2014-07-03 Thread Dietlinde Schmidt
Dear R-Community, I need to change the punctuation of the reported weights, effect sizes and confidence intervals in a forest plot created with the forest()-function in the metafor-package. Midline decimal means that it looks like this (23·6) rather than that (23.6). Do I need to change

Re: [R] Sorting data.frame datewise in a descending order and geting datewise subtotl

2014-07-03 Thread arun
Hi, Try: res1 - aggregate(PROFIT~DATE, data=dat, FUN=sum) res1[rev(order(as.Date(res1$DATE, format=%d/%m/%Y))),] #    DATE PROFIT #2 02/07/2014  -1350 #1 01/07/2014   9400 #4 30/06/2014  11325 #3 27/06/2014   6850 #if you don't wanted another column in the original dataset with `sum`  res2

Re: [R] How to hide the vector number output in write.table function?

2014-07-03 Thread dstrick1
Can't believe I missed that. Thank you! -- View this message in context: http://r.789695.n4.nabble.com/How-to-hide-the-vector-number-output-in-write-table-function-tp4693469p4693478.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] How to install Vennerable

2014-07-03 Thread Adams, Jean
Important note for package binaries: R-Forge provides these binaries only for the *most recent version of R*, but not for older versions. In order to successfully install the packages provided on R-Forge, you have to switch to the most recent version of R or, alternatively, install from the

[R] odd behavior of seq()

2014-07-03 Thread Matthew Keller
Hi all, A bit stumped here. z - seq(.05,.85,by=.1) z==.05 #good [1] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE z==.15 #huh [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE More generally: sum(z==.25) [1] 1 sum(z==.35) [1] 0 sum(z==.45) [1] 1 sum(z==.55) [1] 1

Re: [R] odd behavior of seq()

2014-07-03 Thread Marc Schwartz
On Jul 3, 2014, at 1:28 PM, Matthew Keller mckellerc...@gmail.com wrote: Hi all, A bit stumped here. z - seq(.05,.85,by=.1) z==.05 #good [1] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE z==.15 #huh [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE More

Re: [R] odd behavior of seq()

2014-07-03 Thread Jim Holtman
FAQ 7.31 Sent from my Verizon Wireless 4G LTE Smartphone div Original message /divdivFrom: Matthew Keller mckellerc...@gmail.com /divdivDate:07/03/2014 11:28 (GMT-08:00) /divdivTo: r help r-help@r-project.org /divdivSubject: [R] odd behavior of seq() /divdiv /divHi all, A

Re: [R] odd behavior of seq()

2014-07-03 Thread Peter Langfelder
Precision, precision, precision... z[2]-0.15 [1] 2.775558e-17 My solution: z - signif(seq(.05,.85,by=.1), 5) z[2] - 0.15 [1] 0 z[2]==0.15 [1] TRUE Peter On Thu, Jul 3, 2014 at 11:28 AM, Matthew Keller mckellerc...@gmail.com wrote: Hi all, A bit stumped here. z - seq(.05,.85,by=.1)

Re: [R] odd behavior of seq()

2014-07-03 Thread Matthew Keller
thanks all! On Thu, Jul 3, 2014 at 12:38 PM, Peter Langfelder peter.langfel...@gmail.com wrote: Precision, precision, precision... z[2]-0.15 [1] 2.775558e-17 My solution: z - signif(seq(.05,.85,by=.1), 5) z[2] - 0.15 [1] 0 z[2]==0.15 [1] TRUE Peter On Thu, Jul 3, 2014 at

[R] intermittent errors in [.data.frame

2014-07-03 Thread Spencer Graves
I get inconsistent results from [.data.frame. I've so far been unable to create a simple, replicable example nor a workaround. With debug, I traced the problem to rows - rows[i], line 131 in [.data.frame: In this example, rows = 1:45, and rows[1:3] = 1:3, as we expect. However with

Re: [R] Help with tables in R

2014-07-03 Thread John Kane
I see that others have answered the question much better than I could. However assumng you are getting the data in the layout you want you may also want to look at the xtable package in R as a very handy alternative to stargazer if you want to produce some good-loking tables in some flavour of

Re: [R] intermittent errors in [.data.frame

2014-07-03 Thread Duncan Murdoch
On 03/07/2014 2:55 PM, Spencer Graves wrote: I get inconsistent results from [.data.frame. I've so far been unable to create a simple, replicable example nor a workaround. With debug, I traced the problem to rows - rows[i], line 131 in [.data.frame: In this example, rows = 1:45, and

[R] access an element of a list without looping

2014-07-03 Thread carol white
Hi, Is there any way to access an element of a list without looping over the list nor using unlist? Just to avoid parsing a very long list. For ex, how to find a vector of a length 2 in a list without using a loop? l = list (c(1), c(2,3), c(1,2,3)) for (i in 1:length(l))    

Re: [R] intermittent errors in [.data.frame

2014-07-03 Thread Spencer Graves
Hi, Duncan: On 7/3/2014 12:25 PM, Duncan Murdoch wrote: On 03/07/2014 2:55 PM, Spencer Graves wrote: I get inconsistent results from [.data.frame. I've so far been unable to create a simple, replicable example nor a workaround. With debug, I traced the problem to rows - rows[i],

Re: [R] access an element of a list without looping

2014-07-03 Thread Greg Snow
You could use which( sapply(l, length) == 2 ) but that still uses a loop internally. On Thu, Jul 3, 2014 at 1:35 PM, carol white wht_...@yahoo.com wrote: Hi, Is there any way to access an element of a list without looping over the list nor using unlist? Just to avoid parsing a very long

[R] Display a dataframe

2014-07-03 Thread Gang Chen
I have a matrix 'dd' defined as below: dd - t(matrix(c(153.0216306, 1, 7.578366e-35, 13.3696538, 1, 5.114571e-04, 0.8476713, 1, 7.144239e-01, 1.2196050, 1, 5.388764e-01, 2.6349405, 1, 2.090719e-01, 6.0507714, 1, 2.780045e-02), nrow=3, ncol=6)) dimnames(dd)[[2]] - c('# Chisq', 'DF',

Re: [R] access an element of a list without looping

2014-07-03 Thread Marc Schwartz
On Jul 3, 2014, at 2:35 PM, carol white wht_...@yahoo.com wrote: Hi, Is there any way to access an element of a list without looping over the list nor using unlist? Just to avoid parsing a very long list. For ex, how to find a vector of a length 2 in a list without using a loop? l =

Re: [R] Display a dataframe

2014-07-03 Thread David L Carlson
Not elegant, but it works: term - dimnames(dd)[[1]] dd1 - dd dimnames(dd1)[[1]] - rep(, 6) dd2 - capture.output(dd1) cat(paste(dd2,, c(Term, term)), fill=48) # Chisq DF Pr(Chisq) Term 153.0216306 1 7.578366e-35 # Sex 13.3696538 1 5.114571e-04 # Volume

[R] Fisher Scoring v/s Coordinate Descent for MLE in R

2014-07-03 Thread Vijay goel
R base function glm() uses Fishers Scoring for MLE, while the glmnet uses the coordinate descent method to solve the same equation ? Coordinate descent is more time efficient than Fisher Scoring as fisher scoring calculates the second order derivative matrix and some other matrix operation which

[R] Using subplot (from Hmisc) along with par(mfrow)

2014-07-03 Thread Cory Champagne
Hello all, I think this should be a relatively easy solution involving par but I can't figure it out, involving subplot: I'm making a three-figure plot, each with a subplot. Here's simple reproducible code below. But each plot seems to call the original par setting and

[R] applying operations within() a matrix's environment

2014-07-03 Thread Steve Bellan
I am trying to optimize code for speed and readability for a fairly complex function inside an MCMC sampler. As of now I have a bunch of variables inside a function that get iteratively reset inside a loop. Something like this: set.seed(1) K - 10 v1 - rnorm(K) v2 - rnorm(K) v3 - rnorm(K) steps

Re: [R] Analysis of censored cost data

2014-07-03 Thread Ian Cromwell
Paul, I happen to be working on the exact same problem. If you found a solution somewhere, please let me know. I will do the same if I stumble onto a solution first. Rich - cost information can be collected prospectively but be censored due to incomplete follow-up or some other similar reason.

Re: [R] How to install Vennerable

2014-07-03 Thread David Winsemius
On Jul 3, 2014, at 4:40 AM, gktahon wrote: Hi, I'm new to using R and would like to use Vennerable to process my data and make Venn diagrams. However I cannot seem to install the package. If I enter the command install.packages(Vennerable, repos=http://R-Forge.R-project.org;) I get the

Re: [R] Using subplot (from Hmisc) along with par(mfrow)

2014-07-03 Thread David Winsemius
On Jul 3, 2014, at 12:45 PM, Cory Champagne wrote: Hello all, I think this should be a relatively easy solution involving par but I can't figure it out, involving subplot: I'm making a three-figure plot, each with a subplot. Here's simple reproducible code below. But each

Re: [R] Display a dataframe

2014-07-03 Thread arun
Hi, May be this helps: nC - max(nchar(row.names(dd)))  term - formatC(row.names(dd), width=-nC) #or  term - sprintf(%-11s, row.names(dd))   dd1 - setNames(data.frame(unname(dd), term,stringsAsFactors=F), c(colnames(dd), formatC(term,width=-nC))) dd1 #  # Chisq DF   Pr(Chisq) term   #1

Re: [R-es] error al leer una linea desde un archivo de texto

2014-07-03 Thread Jorge I Velez
Hola Eric, Me incliniaria mas por un problema de enconding. Intenta agregando enconding = 'latin1' al final de read.csv() A lo mejor enviandonos tu sessionInfo() podriamos ayudarte un poco mas. Saludos, Jorge.- 2014-07-03 5:32 GMT+10:00 neo ericconchamu...@gmail.com: Estimada comunidad,

Re: [R-es] error al leer una linea desde un archivo de texto

2014-07-03 Thread neo
Hola Javier, los archivos los genero yo mismo, asi es que en principio al menos, no hay demasiadas cosas raras, son solo simples calculos de planilla electronica. Gracias por sus sugerencias. Las probare. Eric. On 02/07/14 16:08, Marcuzzi, Javier Rubén wrote: Estimado Eric Una forma que

[R-es] script de anomalias

2014-07-03 Thread Luis Alfonso LOPEZ ALVAREZ
Tengo una consulta, alguien tiene algun script en R para hacer graficos de anomalias estandarizadas (precipitacion, temperatura, etc) y que me permita pintar de rojo anomalias positivas y azules las negativas, ​Muchas gracias de antemano​ -- Luis Alfonso LOPEZ ALVAREZ MSc- Meteorologia -