Re: [R] Information installation package sjPlot

2018-01-11 Thread Orvalho Augusto
That is very strange. I am using Ubuntu 16.04 and managed to install it in less than 5 minutes. OA On Wed, Jan 10, 2018 at 12:00 PM, Luca Danieli wrote: > Hi all, > > I am new. I am installing the library sjPlot on Ubunto 16.10 and I guess > it is installing some dependencies. But it is taking

Re: [R] RQuantLib

2017-12-29 Thread Orvalho Augusto
Hi Bob, I don't know what is the cause of your trouble but try this: 1. Download the zip of package. 2. And install it from local zip files. This you find on the Packages menu. Hope it helps OA On Fri, Dec 29, 2017 at 10:31 AM, rsherry8 wrote: > Joshua, > > Thanks for the response. When you

Re: [R] Principal component analysis with EQUAMAX rotation

2014-06-20 Thread Orvalho Augusto
Dear! I get this error when I try to install it on my linux PC: root@orvaquimcism:~# R CMD INSTALL /mnt/disco/downloads/R/psych_1.4.6.20.tar.gz Error in rawToChar(block[seq_len(ns)]) : embedded nul in string: '\037\x8b\b\0\0\0\0\0\0\003\xec\xbdk{\xe3Ƒ(\x9c\xaf\xc2\xf3\xf0?\xb4\xa9I\x86\x90 \x8a

[R] Reading xlsx files in R

2014-03-07 Thread Orvalho Augusto
Dear Agony you did not place a "subject" on your message. That prevents people to help you. So I have corrected. About your problem. This seems to be related to memory allocated to Java Virtual Machine on rJava and has been comment online many times (eg: http://stackoverflow.com/questions/7963393/

Re: [R] installing rJava

2013-07-30 Thread Orvalho Augusto
It is really strange what I see on this output. Your machine is 64 bit (i386) and the libjvm is being compiled to 32 bit (I do not know what could elicit such behavior). Can you try and JDK 6 version? I am on a ubuntu 12.04 64 bit and I have rJava: orvaquim@orvaquimcism:~$ R CMD javareconf -e Jav

Re: [R] [R-pkgs] WriteXLS Version 3.0.0 Released

2013-07-25 Thread Orvalho Augusto
d that Archive::Zip is missing. > > I may then need to update WriteXLS to include Archive::Zip if there are > some Perl installations that do not include it. > > Thanks, > > Marc > > > On Jul 24, 2013, at 11:24 PM, Orvalho Augusto wrote: > > > Hello! > >

Re: [R] [R-pkgs] WriteXLS Version 3.0.0 Released

2013-07-24 Thread Orvalho Augusto
Hello! None can imagine how this package is helpful for me. I might have understood wrong... is it correct that WriteXLS doesn't no more require Perl? It is because I got this on my machine: > WriteXLS("iris", "iriscomments.xlsx", AdjWidth = TRUE, BoldHeaderRow = TRUE) Can't locate Archive/Zi

Re: [R] fail to install shiny package in R 3.0.1 on Ubuntu

2013-07-22 Thread Orvalho Augusto
Dear Yu Some of the packages required by shiny were installed for version 2 according to the output provided. So you must at least run this as superuser on R session: update.packages() And answer accordiling. Then you may try to install shiny. Caveman On Jul 22, 2013 8:03 PM, "yu ge" wrote: >

Re: [R] Problem reading dates from Excel

2013-02-08 Thread Orvalho Augusto
I do not promise much. But try to use XLConnect package. It requires rJava package which requires java on your system. Good luck Orvalho On Fri, Feb 8, 2013 at 8:55 PM, Edwin Isensee wrote: > I'm using the read.xls function from gdata package to read one Excel file, > like the example below: > >

Re: [R] Read.dta and Write.dta Binary Data Error

2013-01-16 Thread Orvalho Augusto
We have the same problem. And we reported as bug: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15166 Hope someone can help Orvalho On Wed, Jan 16, 2013 at 8:05 PM, voldermatt wrote: > Thanks in advance. > > I pass data sets between R and Stata and think dta files would be the best > fi

Re: [R] Pattern names matching

2011-08-20 Thread Orvalho Augusto
e R also returns a Levenshtein distance. > > -- > David. > > __**__ >> From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On >> Behalf Of Orvalho Augusto [orvaq...@gmail.com] >> Sent: Saturday, August 20, 2011 11:

[R] Pattern names matching

2011-08-20 Thread Orvalho Augusto
Dear R magic guys.. I have two tables (actually will be dataframes), both with names to be matched. The names on the first dataframe are from a study with antenatal visits on some health centers here. It happens that we need the delivery info. And half and some thing else of the women decided to d

Re: [R] Running R from windows command prompt

2011-06-29 Thread Orvalho Augusto
If you want to have R available under command prompt you need to add the R executable to the PATH environmental variable doing this (On Windows XP and it is similar on Vista or 7): start> right click on My Computer > Choose properties > Advanced > Envonment variables > Under system variables choose

Re: [R] RJDBC and multiple classpaths

2011-06-26 Thread Orvalho Augusto
C("jstels.jdbc.mdb.MDBDriver", "/opt/DbVisualizer-7.1.1/jdbc/mdb/mdbdriver.jar") con <- dbConnect(drv, "jdbc:jstels:mdb:/mnt/disco/data/fhi/roads/ROADSII.mdb") If there better ways please advice me. Thanks! Caveman On Sun, Jun 26, 2011 at 3:29 PM, Orvalho Augusto w

[R] RJDBC and multiple classpaths

2011-06-26 Thread Orvalho Augusto
Corect me if this is not the right place to post this. I have a mdbdriver.jar (to access an MSAccess file) under Linux. I bought the license from http://www.csv-jdbc.com/ guys. The driver work fine when tested with DBVisualizer or another JDBC thing. The problem is that driver needs 3 other more

Re: [R] Access R functions from web

2011-06-26 Thread Orvalho Augusto
Thanks everyone! Now it became difficult to decide. I will give feedback soon. Caveman On Sat, Jun 25, 2011 at 9:59 PM, Tobias Verbeke < tobias.verb...@openanalytics.eu> wrote: > Hi Caveman, > > > On 06/25/2011 11:18 AM, Orvalho Augusto wrote: > > I need a way to s

[R] Access R functions from web

2011-06-25 Thread Orvalho Augusto
I need a way to send R objects and call R functions from web. Is there any project close or similar to that? I want to be able to send an HTTP rquest from an existing application with some data. And obtain a plot from R. Thanks in advance Caveman [[alternative HTML version deleted]] ___

Re: [R] R-Size Limit (Confused)

2011-05-27 Thread Orvalho Augusto
I do not know what problem might be. But I recommend to go back to the excel file, import it into MS Access. Then make an ODBC connection to the access file. From which you will connect from R using RODBC. Caveman On Thu, May 26, 2011 at 11:59 PM, David Winsemius wrote: > > On May 26, 2011, at 5

Re: [R] Installing rJava fails

2011-03-18 Thread Orvalho Augusto
to install rJava. Caveman On Fri, Mar 18, 2011 at 7:30 PM, jcheng liu wrote: > Dear Orvalho Augusto, > Thank so much for you response! > We had run R CMD javareconf -e, and even R CMD javareconf in administrator. > > Actually, we had install the JDK. And in the output, only

Re: [R] Installing rJava fails

2011-03-18 Thread Orvalho Augusto
Run R CMD javareconf -e as the being suggest by the output. That will try to guess where is Java. Or you can install the JDK_HOME and JAVA_HOME variables. Good luck. Caveman On Fri, Mar 18, 2011 at 4:39 PM, jcheng liu wrote: > Dear all, > Installing rJava fails. The message was listed below.

Re: [R] Table multiple answers variables

2011-03-15 Thread Orvalho Augusto
, >count = colSums(DF == 1), >percentage = colMeans(DF == 1) > ) > > > I hope it helps. > > Best, > Dimitris > > > > On 3/15/2011 3:13 PM, Orvalho Augusto wrote: > >> I have a dataset like this: >> >>q25_1 q25_2 q25_3 q25_4 q25_5 q25_6

[R] Table multiple answers variables

2011-03-15 Thread Orvalho Augusto
I have a dataset like this: q25_1 q25_2 q25_3 q25_4 q25_5 q25_6 q25_7 q25_8 q25_9 q25_10 q25_11 q25_12 1 2 2 1 1 2 1 2 1 1 2 1 3 2 2 2 2 1 2 1 2 1 1 2 1 2 3 2 1 1 1 2

Re: [R] Compiling R-2.12.1 with gcc 3.4.6 on Sun Sparc Solaris 10

2011-02-25 Thread Orvalho Augusto
I do not know exactly about Sun Sparc but I use some *nix and readline is a library available and is used by the operating system to recall lines of previously typed input. So I suggest to search readline package for Sun Sparc. Good luck Caveman On Sat, Feb 26, 2011 at 2:18 AM, wrote: > Dear

Re: [R] rjava does not install

2011-02-14 Thread Orvalho Augusto
Sorry for this delay. I have installed rjava on Fedora, CentOS and Debians. The secret is to install java and configure de java variables. The easiest way for R is: R CMD javareconf It will detect your java envoriment and preconfigure R for you. Then run: R CMD INSTALL rJava etc as you did. Ca

Re: [R] Parsing a XML file

2010-08-27 Thread Orvalho Augusto
> > > Also, if there had been a problem with the parsing, you'd need to give > me/us the offending XML file so that we could have a chance of reproducing > the problem. > > D. > > > On 8/24/10 2:35 PM, Orvalho Augusto wrote: > > I have one XML file with

Re: [R] Parsing a XML file

2010-08-24 Thread Orvalho Augusto
office.org libxml-parser-perl libxml-twig-perl libxml-xpath-perl libxml2 libxml2-dev libxml2-utils libxmlgraphics-commons-java python-libxml2 Thanks Caveman On Wed, Aug 25, 2010 at 12:43 AM, Orvalho Augusto wrote: > It seems to be a bug on the XML package. > > This is what I run (and it i

Re: [R] Parsing a XML file

2010-08-24 Thread Orvalho Augusto
LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] XML_3.1-1 > ##= Thanks Caveman On Wed, Aug 25, 2010 at 12:02 AM, Gavin

[R] Parsing a XML file

2010-08-24 Thread Orvalho Augusto
I have one XML file with 30MB that I need to read the data. I try this; library(XML) doc <- xmlDoc("Malaria_Grave.xml") And R answers like this *** caught segfault *** address 0x5, cause 'memory not mapped' Traceback: 1: .Call("RS_XML_createDocFromNode", node, PACKAGE = "XML") 2: xmlDoc("Mala

Re: [R] ASCI characters

2010-08-16 Thread Orvalho Augusto
Thank you every one. Caveman On Mon, Aug 16, 2010 at 4:00 AM, David Winsemius wrote: > To improve your further efforts at searching you should take note of the > fact that it is ASCII, not ASCI. > > > On Aug 15, 2010, at 8:50 PM, Orvalho Augusto wrote: > > Than

Re: [R] ASCI characters

2010-08-15 Thread Orvalho Augusto
Thank you!! Caveman On Mon, Aug 16, 2010 at 2:41 AM, Matt Shotwell wrote: > How about: > > > rawToChar(as.raw(82)) > [1] "R" > > -Matt > > On Sun, 2010-08-15 at 19:50 -0400, Orvalho Augusto wrote: > > Hello guys! > > > > Is there any fun

[R] ASCI characters

2010-08-15 Thread Orvalho Augusto
Hello guys! Is there any function that permits me to get an ASCI character from its code? Eg. ascifunction(34) would give me ' or ascifunction(92) gives \ Thanks Caveman [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] Replacing characters

2010-08-09 Thread Orvalho Augusto
Hello guys! May be I am lazy but I need to replace a character like \ or ' or to escape them in a character vector to write a SQL statement. How can I do that? Caveman [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] help with importing SPSS file

2010-05-31 Thread Orvalho Augusto
I am not sure about this but a sav file contains only one dataset. Meaning one table only. That table could be a joining of another tables. The R read.spss works with that on mind. Caveman On Tue, Jun 1, 2010 at 12:41 AM, wrote: > Hi, > > I have a SPSS .sav file which contains a database of

Re: [R] RODBC-Error-sqlSave

2010-05-16 Thread Orvalho Augusto
Let us see if it is a R issue. Try this: Read the CSV on Ms Access directly. It is an importation on MsAccess. If you succeed we will check R then. Caveman On Sun, May 16, 2010 at 11:48 AM, Johan Lassen wrote: > Dear R-community, > > After repeating the sqlSave-command 3 times on a dataframe

Re: [R] help on compile r-2.10.0 on 64 bit window

2010-05-05 Thread Orvalho Augusto
Hello! Unless you really need 2.10 there is 2.11 and the good news is we have now 64bit R binary for windows. Good luck Caveman On Thu, May 6, 2010 at 3:53 AM, zach Li wrote: > > Hi, > > > > I tried to compile R-2.10.0 src on 64 bit window. After install Rtools and > wingw-w64 compiler and put

Re: [R] large dataset

2010-03-27 Thread Orvalho Augusto
I do not know what is the limit for R. But on your problem you may try this: - Install MySQL server (download somewhere on www.mysql.com) - From inside MySQL you may import that CSV into a MySQL table - Then using RMySQL or ROBDC you will choose the Fields to use and import them to R. Good luck Ca

Re: [R] R and getting a file through https

2010-03-18 Thread Orvalho Augusto
Thank you! I did not know about this resource. Caveman On Thu, Mar 18, 2010 at 6:26 AM, David Winsemius wrote: > > On Mar 18, 2010, at 12:03 AM, Orvalho Augusto wrote: > >> Dears! >> >> I have a system that generates links on a https webserver. >> >> I h

[R] R and getting a file through https

2010-03-17 Thread Orvalho Augusto
Dears! I have a system that generates links on a https webserver. I have to be logged on with a username and password; Then follow at least fife links to get into the link where I can download the file. The question is: How can I accomplish that with R? Caveman

[R] Making FTP operations with R

2010-03-08 Thread Orvalho Augusto
Dears I need to make some very basic FTP operations with R. I need to do a lot of "get" and issue a respective "delete" command too on the same connection. How can I do that? Thanks in advance Caveman __ R-help@r-project.org mailing list https://stat

Re: [R] Labels on a pyramide

2010-02-14 Thread Orvalho Augusto
help Caveman On Sun, Feb 14, 2010 at 1:05 PM, Jim Lemon wrote: > On 02/14/2010 01:27 AM, Orvalho Augusto wrote: >> >> I am using pyramid.plot() from the plotrix package. >> ... >> The problem is (1) I do not want plot agelabels on the center and (2) >> I want pl

Re: [R] Labels on a pyramide

2010-02-14 Thread Orvalho Augusto
Jim thanks for your great! I will try to use your source code. Caveman Ps: Reconheco a minha trogolodice e por isso pedi ajuda. Lamento perturbar a todos por isso. On Sun, Feb 14, 2010 at 1:05 PM, Jim Lemon wrote: > On 02/14/2010 01:27 AM, Orvalho Augusto wrote: >> >> I am usi

Re: [R] Labels on a pyramide

2010-02-13 Thread Orvalho Augusto
> > > On Feb 13, 2010, at 9:27 AM, Orvalho Augusto wrote: > >> I am using pyramid.plot() from the plotrix package. >> >> I have something like this >> >> >> xy.pop<-dados$masfr >> xx.pop<-dad

[R] Labels on a pyramide

2010-02-13 Thread Orvalho Augusto
I am using pyramid.plot() from the plotrix package. I have something like this xy.pop<-dados$masfr xx.pop<-dados$femfr #agelabels<-dados$femlab xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11) xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.

Re: [R] Microsoft SQL Server and R

2010-01-27 Thread Orvalho Augusto
RMySQL is for MySQL. MySQL is not MSSQL. There is not RMSSQL. So the best you have something to conneto MSSQL... RODBC or you may connect. Or as Jim point you use a java client to connect to MSSQL through RJDBC which you may use for example a free jDBC driver like jTDS. Caveman On Wed, Jan 27,

Re: [R] RMySQL Append data.frame to table

2010-01-25 Thread Orvalho Augusto
May be because by default dbWriteTable has row.names = T. So try with row.names = F. Good Luck Caveman On Mon, Jan 25, 2010 at 8:57 AM, Nathan S. Watson-Haigh wrote: > I have a data.frame obj with 5 columns whose colnames match the fields in my > "contact" table. The only other field my MySQL

Re: [R] FW: Problems connecting with MySQL using odbcDriverConnect (RODBC package) on Linux

2010-01-15 Thread Orvalho Augusto
> -Original Message----- > From: Orvalho Augusto [mailto:orvaq...@gmail.com] > Sent: Wednesday, January 13, 2010 10:57 PM > To: Marcus, Jeffrey > Cc: r-help@r-project.org > Subject: Re: [R] FW: Problems connecting with MySQL using odbcDriverConnect > (RODBC package) on

Re: [R] FW: Problems connecting with MySQL using odbcDriverConnect (RODBC package) on Linux

2010-01-13 Thread Orvalho Augusto
Thanks you solved and share with us. But, why don't you use the RMySQL, which connects to MySQL without the need of ODBC? Caveman On Wed, Jan 13, 2010 at 1:48 AM, Marcus, Jeffrey wrote: > I think I figured this out. I should not have put the Driver name in > braces. Changing it from {MySQL} to

[R] Tables to export to excel

2010-01-10 Thread Orvalho Augusto
I am doing some tables with verry long and numerouses categories. Eg. Cause of Death Crossed by sex e then by group ages. Is it possible to have such crosstab sent to an excel file so I could easilly report. Thanks in advance Caveman -- OpenSource Software Consultant CENFOSS (www.cenfoss.co.mz

Re: [R] How to dbReadTable() only a limited number of rows? (RMySQL)

2009-12-25 Thread Orvalho Augusto
Try this >drv <- dbDriver("MySQL") >con(drv, etc parameters...) > dbGetQuery(con, "select * from tableyoulike limit N_integer_first_records") Hope it helps Caveman On Fri, Dec 25, 2009 at 12:10 AM, Peng Yu wrote: > I only want to load a limited number of rows by dbReadTable(). I don't > see an

Re: [R] Writing a data frame in an excel file

2009-11-18 Thread Orvalho Augusto
Why don't try the fabulous WRITEXLS package? Caveman On Wed, Nov 18, 2009 at 7:45 PM, anna_l wrote: > > Thanks Karl, well I am getting an error now after the following sqlSave > command: > sqlSave( xlsFile, datas, tablename = 'Datas_and_coefficients', rownames = > FALSE ) > > -->  [RODBC] Faile

[R] RMySQL and Stored procedures

2009-11-01 Thread Orvalho Augusto
Can someone provide me a good way to circumvent the lack of calling Stored Procedures from RMySQL? I can not rewrite those stored procedures on R because there a lot more folks here that only understands SQL. The stored procedure returns a resultset. Thanks Caveman _

[R] Antropometrics with R

2009-10-27 Thread Orvalho Augusto
Hey greate ones, is there any way to have something similar to stata zanthro on R? I want a package that contains functions to give antropometric values, at least for the children. Caveman __ R-help@r-project.org mailing list https://stat.ethz.ch/mailm

Re: [R] Warning message when Loading package svMisc in R 2.10.0

2009-10-27 Thread Orvalho Augusto
I did not try. But you try to update all the packages with: update.packages() Good luck Caveman On Tue, Oct 27, 2009 at 6:28 AM, Qi Li wrote: > Hi, > > I have a problem when using R 2.10.0, > > Loading required package: svMisc > Warning message: > package 'svMisc' was built under R version 2.9.1

Re: [R] RODBC sqlSave does not append the records to a DB2 table

2009-10-20 Thread Orvalho Augusto
Well I do not know what could be happening. I tried to append records to a table on DB2 (community Edition 9.5 on a Linux machine). And it works greatly. The only odd thing (may be because of my low skills on DB2) is I could not create neither append to a table on a different schema than dbuser (a

Re: [R] RODBC sqlSave does not append the records to a DB2 table

2009-10-20 Thread Orvalho Augusto
Now it becomes strange. One thing I note from this generated query: INSERT INTO STORAGE.TEST_APPEND2 ( "MACRONAME", "MACROUSER", "MACRO_RT" ) VALUES ( 's_ej_mach_config_vz', 'jones2', 5 ) The names of the variables are in double quotes; That is a problem. Can you try to run this query on another

Re: [R] Import SPSS file to R

2009-10-19 Thread Orvalho Augusto
Or even > install.packages(Hmisc) > library(Hmisc) then use spss.get Actually spss.get uses read.spss from foreign package but with common default options. Caveman On Mon, Oct 19, 2009 at 3:18 PM, Jorge Ivan Velez wrote: > Hi Suman, > See the read.spss function in the foreign package, e.g.: >

Re: [R] RODBC sqlSave does not append the records to a DB2 table

2009-10-17 Thread Orvalho Augusto
Hello! Before you try from R. Can you tell us what happens when you use another DB2 client when you try with those credentials? One thing to note: If you are trying to access DB2 from ODBC on Linux on DB2 versions before 9.4 there are some particular issues and better check this http://holmwood.

Re: [R] SPSS long variable names

2009-10-15 Thread Orvalho Augusto
15, 2009 at 9:42 PM, Orvalho Augusto wrote: > Impressive! > > PSPP produces the sav fine. The sav file produced by the PSPP is seen > by SPSS (16) with the long names. > > I attach my sav produced by the PSPP. And I start to suspect my > foreign package version: > I am u

Re: [R] SPSS long variable names

2009-10-15 Thread Orvalho Augusto
Impressive! PSPP produces the sav fine. The sav file produced by the PSPP is seen by SPSS (16) with the long names. I attach my sav produced by the PSPP. And I start to suspect my foreign package version: I am using 0.8.26-1 from the r-cran-foreign a Ubuntu 8.10 package. Can you tell me your vers

Re: [R] SPSS long variable names

2009-10-14 Thread Orvalho Augusto
ation of read.spss... > > Cheers > Joris > > On Wed, Oct 14, 2009 at 5:48 PM, Orvalho Augusto wrote: >> Hi >> >> The .dat file is a tab delimited file with the long variables names on >> it. The .sps file has the instructions to read the .dat and place a

Re: [R] SPSS long variable names

2009-10-14 Thread Orvalho Augusto
rom the syntax file. the function regexp() can be a > great help for that. > > If you have no clue how to do that, just send me an example, and I'll > take a look. > > Cheers > Joris > > On Sat, Oct 10, 2009 at 6:14 PM, Orvalho Augusto wrote: >> Hello guys I am

Re: [R] SPSS long variable names

2009-10-13 Thread Orvalho Augusto
be so blunt, but I cannot believe PSPP can't save a dataset >> as a .csv file for example. That should be the prefered format to >> transport a dataset to any other statistical package, including R. csv >> files are universal. >> >> Cheers >> Joris >>

Re: [R] SPSS long variable names

2009-10-13 Thread Orvalho Augusto
No! That is variable labels. Caveman On Tue, Oct 13, 2009 at 4:52 PM, Robert Baer wrote: >>> I am wondering if there is a patch for the SPSS reading >>> code on the >>> foreign package, in order to be able to read long variable >>> names. >>> Right now read.spss() just trunc the names to 8 >>

Re: [R] SPSS long variable names

2009-10-13 Thread Orvalho Augusto
dataset >> as a .csv file for example. That should be the prefered format to >> transport a dataset to any other statistical package, including R. csv >> files are universal. >> >> Cheers >> Joris >> >> On Tue, Oct 13, 2009 at 3:30 PM, Orvalho Au

Re: [R] SPSS long variable names

2009-10-13 Thread Orvalho Augusto
used it. > > --- On Sat, 10/10/09, Orvalho Augusto wrote: > >> From: Orvalho Augusto >> Subject: [R] SPSS long variable names >> To: r-help@r-project.org >> Received: Saturday, October 10, 2009, 12:14 PM >> Hello guys I am new to this list and >> for R

[R] SPSS long variable names

2009-10-10 Thread Orvalho Augusto
Hello guys I am new to this list and for R too. I am wondering if there is a patch for the SPSS reading code on the foreign package, in order to be able to read long variable names. Right now read.spss() just trunc the names to 8 characters. Or if someone could help me on other way: I have to pro