Re: [R] Handling special characters in reading and writing to CSV

2014-02-07 Thread Venkata Kirankumar
are using. Best, Ista On Thu, Feb 6, 2014 at 3:34 AM, Venkata Kirankumar kiran4u2...@gmail.com wrote: Dear Ista, I copied my data below UNIQUEID,FINDINGSID,ORGNUMRES,STNUMRES,CONVRES,VISITDY,ORGCHARRES,STCHARRES,NOMINALDAY,NOMINALDATE,MEASRMTDAY,MEASRMTDATE,INPUTDATE,NEOPLASMNAME

Re: [R] Handling special characters in reading and writing to CSV

2014-02-06 Thread Venkata Kirankumar
into you message, posting a .csv file somewhere where we can download it. Without an example all we can do is guess what your problem might be. Best, Ista On Wed, Feb 5, 2014 at 5:10 AM, Venkata Kirankumar kiran4u2...@gmail.com wrote: Hi David, In CSV RFC 4180 format if any

Re: [R] Handling special characters in reading and writing to CSV

2014-02-05 Thread Venkata Kirankumar
Winsemius dwinsem...@comcast.netwrote: On Feb 4, 2014, at 7:58 AM, Venkata Kirankumar wrote: Hi All, I have some data with different special characters, newline character, and different language characters in a CSV file like `~!@#$%^*| ()-_+={[}]|\:;',.?/ in data, while I am

[R] Handling special characters in reading and writing to CSV

2014-02-04 Thread Venkata Kirankumar
Hi All, I have some data with different special characters, newline character, and different language characters in a CSV file like `~!@#$%^*| ()-_+={[}]|\:;',.?/ in data, while I am trying to read this CSV and trying to do calculations I am not able to get this data as there in single cell. I

[R] Problem with converting F to FALSE

2013-09-05 Thread Venkata Kirankumar
Hi, I have a peculier problem in R-Project that is when my CSV file have one column with all values as 'F' the R-Project converting this 'F' to FALSE. Can some one please suggest how to stop this convertion. Because I want to use 'F' in my calculations and show it in screen. for example my data is

Re: [R] Problem with converting F to FALSE

2013-09-05 Thread Venkata Kirankumar
(file.csv, colClasses = c(character, integer)) On Thu, Sep 5, 2013 at 5:44 AM, Venkata Kirankumar kiran4u2...@gmail.com wrote: Hi, I have a peculier problem in R-Project that is when my CSV file have one column with all values as 'F' the R-Project converting this 'F' to FALSE. Can some one

[R] Problem with writing a CSV file in UTF-8 formate

2010-06-22 Thread venkata kirankumar
Hi all, I have a problem with writing a *.CSV file in UTF-8 formate I tried to write a dataframe named dfPREINDX to the new file named preindx.csv in below formate write.table(dfPREINDX,PreIndex,fileEncoding=UTF-8,sep=|,row.names=FALSE) but its throed an error like Error in

Re: [R] Problem with writing a CSV file in UTF-8 formate

2010-06-22 Thread venkata kirankumar
...@gmail.comwrote: On 22/06/2010 9:00 AM, venkata kirankumar wrote: Hi all, I have a problem with writing a *.CSV file in UTF-8 formate I tried to write a dataframe named dfPREINDX to the new file named preindx.csv in below formate write.table(dfPREINDX,PreIndex,fileEncoding=UTF-8,sep

[R] problem with not in in subseting dataframe

2010-05-26 Thread venkata kirankumar
Hi all, I have a problem while subsetting a dataframe that is while I am using *%in%* condition like *stemp-subset(temp, obj1 %in% obj2,select=c(temp))* this is working and giving results that what ever is there is both *obj1*and *obj2* ** ** but I want to get values which is there in *obj1*

[R] problem with retreaving column from a data.frame

2010-04-20 Thread venkata kirankumar
Hi all, I have a problem with retreaving column from a data.frame that is I have a data.frame named temp in that dataframe some column are there whose names are IDENTIFIERUNIQUEID TRIALGROUPSID GRPNUMBER GRPDESC SEXDIDSTDID STUDYTYPE SDID DOSDID

[R] Problem with mean

2010-03-09 Thread venkata kirankumar
Hi all, I got one intresting problem with caliculating mean that is while i am taking mean of values *0.6, -0.8, 4, -3.8* using *val-c(0.6, -0.8, 4, -3.8)* *mean(val)* it given result as *2.775558e-17* but the actual result is *0* can any one suggest how can I get correct mean result in this

[R] Problem with retreaving numeric data

2010-02-10 Thread venkata kirankumar
Hi all, I am trying to get a value from a dataset in data set its stored as 001 but while i am trying to retreave it its giving as 1 can any one help me to retreave it as 001 thanks in advance kiran [[alternative HTML version deleted]] __

[R] Hi problem with read.csv

2010-02-08 Thread venkata kirankumar
Hi all, I am getting problem with read.csv() command the problem is I have one file which is saved in ANSI while I am trying to open with R-Project its opend and all the cloumn names are comming proper like for the command names(kk) FILEID UNIQUEIDLATESTFLG ACTIVEFLG

[R] problem withrbind function

2010-02-01 Thread venkata kirankumar
Hi all, I am trying to to merge two data.frames(kk and ff) like kk a b d 1 1 4 7 2 2 5 8 3 3 6 9 ff a b d 1 2 5 8 2 3 6 9 3 4 7 1 and g-rbind(kk,ff) is working perfectly and giving results but if any of the column name changed then its giving Error in match.names(clabs, names(xi)) :

[R] Problem with multy level sorting

2010-01-29 Thread venkata kirankumar
Hi all I have a dataframe like I coppied below ff a b d 110 5 7 220 4 9 3 3 8 10 4 5 68 5 6 35 67373 74528 9 83 2 8 while I am trying to sort multy coloums at

[R] Problem with toString

2010-01-11 Thread venkata kirankumar
Hi all, I got a problem with* toString()* function its behaving odd in some times most of the times its giving correct results but in peculier cases its giving results like *æ]* especially while i am working with c# +R-project thats also after getting some error like after trying to

[R] problem with number formation

2010-01-04 Thread venkata kirankumar
Hi all, this is kiran I got one problem with formating a number that is if I have a number like ---2.33 that one ihave to convert to --2.33000 and if I have a number like ---0.33 that one ihave to convert to --0.33000 is this posible in R-project if its posible please help me to

[R] Problem with spliting a dataframe values

2009-12-17 Thread venkata kirankumar
Hi all, Hi this is kiran I am facing a problem to split a dataframe that is.. i have a string like:a,b,c|1,2,3|4,5,6|7,8,8 first I have to split with respect to | I did it with command unlist(strsplit(a,b,c|1,2,3|4,5,6|7,8,8, \\,)) after getting that set i made it as a dataframe and

[R] saving custom functions to existing library

2009-11-11 Thread venkata kirankumar
Hi all, I writen one function in Rgui(R Editor) I saved it as testfunction.R and while I am running that file using source(C:/testfunction.R) its running and it is giving subsequent result insted of this there is any thing like to save my function to save in existing library to reuse it

[R] problem with executing r-function from windows command prompt

2009-11-10 Thread venkata kirankumar
Hi all, I am trying to execute one function from windows command prompt and I am trying to execute queries like source(myRfile.R) but itis throughing runtime errors can any one help me how can i run my *.R file and how can i call a function in that *.R file thanks in advance kiran.

[R] creating custom package and functions

2009-11-10 Thread venkata kirankumar
Hi all, I am new to R-project I have to create custom package and some required functions in that package can any one help me how to create a custompackage and how to write my function in to that package These things I have to use in many places as per requirements in my solution please help me to

[R] problem with CPU usage

2009-10-09 Thread venkata kirankumar
Hi all, I have a problem with CPU usage while running the Rgui.exe problem is while I am running scripts on Rgui its taking 100% of CPU is there any posibility to reduce the cpu consumption are any package I can use to reduce CPU consumption can any one help me out from this problem because

[R] problem with checking wether file is present or not

2009-06-22 Thread venkata kirankumar
Hi all, I have a problem with checking File is present in the directory or not like I have a sequence of files in one folder I have to take each file in order and have to caliculate on those files data but in order some files are missing for that I have to check and load those files for that I am

[R] problem with bulk insert into a *.csv file

2009-06-08 Thread venkata kirankumar
Hi all, I am trying to create a index.csv with caliculating different types of caliculations . In that i have to caliculate on 10,000 studies and have to insert many no of rows more than 500,000 for that right now I am inserting every row after caliculating and doing data.frame but its

Re: [R] problem with bulk insert into a *.csv file

2009-06-08 Thread venkata kirankumar
can understand the problem you are trying to solve. On Mon, Jun 8, 2009 at 11:43 AM, venkata kirankumar kiran4u2...@gmail.com wrote: Hi all, I am trying to create a index.csv with caliculating different types of caliculations . In that i have to caliculate on 10,000 studies

[R] problem with using subset from two different tables

2009-06-04 Thread venkata kirankumar
Hi all, I am new to R-project my problem is I tried to get subset from two different tables its giving error but if i m tring for geting results from one table its working actually i have to take values from two tables with applying different conditions on two tables like kk- is an object of

[R] problem with 'loading file size'

2009-04-01 Thread venkata kirankumar
Hi all, I am working in a project which needed to load *.csv files of size more than 200MB is it posible to load 200MB size file to r-project and do subsetting as per requirement i am able to load maximum of 90 mb is there any way to increase memory limits and how much maximum memory we can exten

[R] problem with Dates

2009-03-19 Thread venkata kirankumar
Hi all, I am strugling with date formates and caliculating diferent operations like different between 2 dates and getting minimum in vector of dates that is i m working with dates in formate 6/22/1992 12:00:00 AM and the vector is [1] 6/4/1992 12:00:00 AM 2/13/1992 12:00:00 AM

[R] problem with creating webserver

2009-03-10 Thread venkata kirankumar
Hi all, I am not able to built a webservice with using R-Project is there any package I have to import while building webservice my problem here is I installed in one server and while I am working in another server i have to pass a request to the server where r-project is installed and I have to

[R] problem with concatinating string while taking as a path of a file

2009-03-09 Thread venkata kirankumar
Hi all, I have a problem with concatinating strings while taking as a path here the problem is i have to take path as FPATH-D:\\Kiran and file name as Fname-FINDINGS.CSV and while I am reading this table I have to take path with using these two strings because in FPATH there is many

[R] problem with comparing a part of string with whole string

2009-02-19 Thread venkata kirankumar
Hi all, I got one problem with comparing strings like if any string is like *RIGHT, EPICARDIUM: FOCUS, GRAY-WHITE, SINGLE, APPROX 0.6 CM IN DIAMETER*. and i have to compare *GRAY-WHITE*with the above string or otherwise i have to compare*TUMOR BENIGN* this string

[R] Problem in converting a string in binary formate

2009-02-19 Thread venkata kirankumar
Hi all, can any one suggest how to convert one string into binary formate to store in another file and to use for farther searching with using of binary files only that search can process for that i need to convert string into binary files thanks in advance [[alternative HTML version

Re: [R] problem with comparing a part of string with whole string

2009-02-19 Thread venkata kirankumar
Hi , i just attached one file to this mail which contains one modal of my data and there i have to search for the rows which contains SPECIMENTYP %in% ADIPOSE TISSUE and the rows which contains PRESERVEDin ORGCHARRES for that i tried with r-subset(rr,SPECIMENTYP %in% ADIPOSE TISSUE

[R] problem with using %in% condition while using in if() condition

2009-02-18 Thread venkata kirankumar
Hi all, I got one problem with using %in% condition while using in if() condition where I used the condition as if(SubFinSpt$SPECIMENTYP %in% CAP$SPECIMENTYP) this if()condition is in else condition and hear *SubFinSpt$SPECIMENTYP* having only one value but *CAP$SPECIMENTYP

[R] Problem in appending a row to *.csv file

2009-02-09 Thread venkata kirankumar
Hi all, I am new to R-project I have a problem when when ever I am going to append a row in a *.csv file that is in R-project I created one dataframe and I saved it in res.csv and again I got some results in dataframe with same column names and i tried to append in a new row of same res.csv

[R] problem with subsetting in compating one column with a vector

2009-02-03 Thread venkata kirankumar
Hi all, I got one problem withsubset()function hear i executed: findings1-subset(findings,SUBJECTSID==SUBJECTS1$SUBJECTSID,select=c(SUBJECTSID,ORGNUMRES)) hear SUBJECTS1$SUBJECTSID vector contains nearly 65 values the problem is after comparing and subsetting its not giving

[R] parsing problem

2009-02-02 Thread venkata kirankumar
Hi all, I am trying to parse a vector for caliculating minimum in that vector the vector having values like 1Kontrolle 2 Placebo 3 125mg/kg 4 250mg/kg 5 500mg/kg 61000mg/kg hear i tries for comverting it into numeric with using as.numaric()

[R] need a help with dealing XML

2009-01-30 Thread venkata kirankumar
Hi all, I am trying to read data from a XML file but the thing is when I am trying to read data from XML it is not allowing me to read and store nodes in objects can any one suggest how can i solve this problem. thanks in advance [[alternative HTML version deleted]]

[R] Grouping problem

2009-01-28 Thread venkata kirankumar
Hi all, I have a problem with grouping like I have to give count of employes in each department like if in one company there is departments like Mechanical, Computer, Fitting, electronics and Chemical hear I have to retreave the number of employes in each department and as well as I have to

[R] problem with compating 2 strings

2009-01-22 Thread venkata kirankumar
Hi all, I got one problem with compating charecterstrings with using == can anyone suggest if any other way to compare two charecterstrings thanks in advance [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] problem in appending data into*.csv file

2009-01-22 Thread venkata kirankumar
Hi all, I got a problem with appending data into the *.csv file like abc-read.csv(bbb.csv) # reading data from one csv file abc1-mean(subset(abc,Group==A)) hear i have to creat a .csv file and in that i have to create column's with names *group, mean* and farther i have to caliculate for

[R] problem with writing data to *.xls file

2009-01-20 Thread venkata kirankumar
Hi all, I read data from *.xls file and i did some caliculations on that data and now i have to create a column in the same .xls file and i have to insert the data in to the consicutive rows related to the previous data i tried it with *write.xls() *but the thing is it deleted all the columns

[R] problem with applying where condition

2009-01-19 Thread venkata kirankumar
Hi all, I am a biggener in R-Project I got one problem with applying *where condition* like if 2 tables like table1: empidname dep 101 kiransolutions 102 ram testing 103pavan database table2: empid month sal 101 Dec 9500

[R] reading data from Excel Spread sheet

2009-01-16 Thread venkata kirankumar
Hi all, I tried to read data from Excel spread sheet with using read.csv(file.choose()) and read.delim(file.choose()) but its showing *ÐÏ.à.*. and also i tried with read.table(file.choose()) then its showing* V1 1

[R] problem with working on R-Project from C#

2009-01-07 Thread venkata kirankumar
Hi, i got a problem with initialising R-Project from C# in this i m sending what are all the code line I had been written and the error where i got sc1 = new STATCONNECTORSRVLib.StatConnector(); sc1.Init(R); and error at SCN_E_INVALIDINTERPRETERVERSION -2147221487 0x80040011 can any one

[R] request for StatConnecter oriented problem

2009-01-07 Thread venkata kirankumar
hi, i got a problem with initialising R-Project from C# in this i m sending what are all the code line I had been written and the error where i got sc1 = new STATCONNECTORSRVLib.StatConnector(); sc1.Init(R); and error at SCN_E_INVALIDINTERPRETERVERSION -2147221487 0x80040011 can any one

[R] hi i have a problem with implementing R-Project in C#

2009-01-06 Thread venkata kirankumar
Hi, This is Kiran I tried to work on r-project through C#.Net While calling the r-project I got an error that *System.Runtime.InteropServices.COMException(0x80040013):Exception from HRESULT:0x80040013 at STATCONNECTORSRVLib.StatConnectorClass.Init(String bstrConnectorName) at